@atom-forge/brickee · Live examples
Brickee is a Svelte 5 block editor. Its core is markdown — paragraphs, headings, lists, quotes, code — and every other block is a plugin with an editor view, a site preview and optionally a markdown form. Documents are stored as plain JSON. Try it below, or browse the guide. Search with ⌘K.
bun add @atom-forge/brickee @atom-forge/ui @lucide/svelte
Edit on the left; the right side shows the same document as the site renders it, as the JSON you store, or as markdown.
/ on an empty line to add one.Brickee edits a document as blocks: each line is one, dragged by its handle and turned into another type from its menu. Type / on an empty line to add one.
| Block | Stored as | Markdown |
|---|---|---|
| Paragraph | md:p | text |
| Table | table | GFM table |
| Video | youtube | link |
A document is just JSON: store it as it is, render it with the same plugins.
<Editor bind:value plugins={PLUGINS} />
<Preview blocks={value} plugins={PLUGINS} />The editor, the preview and the stored document.
Editor and preview · Split view · Markdown · Stored form
The four general blocks in @atom-forge/brickee/plugins.
Table · YouTube · Map · Formula · Gap
Writing, nesting and overriding plugins, and their own forms.
Writing a plugin · Containers · Custom fields form · Overriding a plugin
Code languages and UI text from the host app.
Code languages · Localisation