@atom-forge/brickee · Live examples

Blocks in, JSON out.

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

Playground

Edit on the left; the right side shows the same document as the site renders it, as the JSON you store, or as markdown.

Editor

Blocks in, JSON out

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.

  • Text, headings, lists, to-dos, quotes, code and dividers are markdown.
  • Everything else is a plugin — like the table below.
    • Plugins are plain objects; pass the ones you want.
  • Try the slash menu
  • Write your own block
BlockStored asMarkdown
Paragraphmd:ptext
TabletableGFM table
Videoyoutubelink

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} />

Explore