Now with Ask AI and live collaboration

A Notion-style editor.
Your code, your control.

Blocks, tables, media, whiteboards, AI, and real-time collaboration installed directly into your repo with one shadcn command. No SDK. No lock-in.

Everything a real editor needs.

Blocks, AI, and live collaboration. Install only the pieces your product needs.

Live collaboration

Edit together with live cursors, names, and presence. Self-host it, or point it at the cloud.

L
M
K
R
S
Maya

Ask AI

Rewrite, summarize, or translate in the page. Bring your own model, then accept or reject the result.

Launch notes
Ask AI
Improve writing
Summarize
Translate
Accept Reject

Slash commands

Type / to insert a block, then drag the handle to reorder it.

/ block
Heading 1
To-do list
Image
Table

Media and tables

Images, real tables, and whiteboards live in the page with the rest of the document.

Name
Type
Status
Cover
Image
Ready

HTML and Markdown export

Turn any page into clean HTML or Markdown for your API, CMS, or repo.

.md
.html

Built on tools you already trust

Tiptap
ProseMirror
React
shadcn/ui
Yjs
H
Hocuspocus
Free to install

Install only what you need

Start with the editor, then add tables, AI, and collaboration as your product needs them. Every add-on is one command — and once it's installed, it's your code.

New to shadcn? Run npx shadcn@latest init first.

EditorStart here
The editor itself — install this first.
  • Paragraphs, headings, lists, to-dos, quotes, callouts, toggles, code
  • Slash menu, drag handle and block menu
  • Floating formatting toolbar and outline nav
  • Media blocks and Excalidraw whiteboards
  • HTML and Markdown export
Tables
Real tables, not a markdown hack.
  • Table block with resizable columns
  • Row and column toolbar
  • Slash menu entry
Ask AI
Notion-style AI that writes into the page.
  • Improve, rewrite, translate, summarize, generate
  • Responses type in as a preview you accept or reject
  • Bring your own backend — any model that streams text
Collaboration
Edit together in real time.
  • Yjs document sync with offline catch-up
  • Live cursors with names and colors
  • Presence avatars, self-hosted Hocuspocus or Tiptap Cloud

Frequently Asked Questions

Answers to common questions about blockcn and its features. Anything else? Read the docs or open an issue on GitHub.