Components
The pieces every block is composed from.
A component is one installable piece: an editor shell, a node, a mark or an extension. Browse them here and compose your own surface, or start from a block.
55 components across 5 families
Rich Text Editor
A Tiptap shell with composable nodes and marks, typeset with shadcn/typeset.
Nodes
rich-text-editor-textParagraphBlock paragraph nodes for the rich text editor.rich-text-editor-paragraphHard BreakLine breaks inside a paragraph, created with Shift + Enter.rich-text-editor-hard-breakHeadingHeading nodes with a toolbar selector for levels 1–3.rich-text-editor-headingCode BlockPreformatted code blocks with a toolbar toggle.rich-text-editor-code-blockDetailsCollapsible details blocks with a summary and a toggle control.rich-text-editor-detailsImageImage nodes inserted by URL from the toolbar.rich-text-editor-imageTableTables with toolbar controls to insert, extend and remove rows and columns.rich-text-editor-tableBlockquoteThe blockquote node with a toolbar toggle.rich-text-editor-blockquoteListBullet, ordered and task lists with toolbar toggles and typeset-aware styling.rich-text-editor-listEmojiEmoji nodes with a shortcode suggestion and a toolbar picker.rich-text-editor-emojiMathematicsInline and block formulas rendered with KaTeX.rich-text-editor-mathematicsMentionMention nodes fed by your own records through a suggestion list.rich-text-editor-mentionExtensions
rich-text-editor-drag-handleFile HandlerPaste and drop files into the document as image nodes.rich-text-editor-file-handlerFind and ReplaceSearch, navigate and replace text from a toolbar popover.rich-text-editor-find-and-replaceEditor BehaviorFocus, gap cursor and trailing node: the editor behaviours that make a document feel finished.rich-text-editor-behaviorTypographyInput rules that turn plain punctuation into typographic characters.rich-text-editor-typographyUnique IDGives every block a stable, generated identifier.rich-text-editor-unique-idInvisible CharactersReveals the spaces and paragraph marks around the text.rich-text-editor-invisible-charactersMarks
rich-text-editor-boldItalicThe italic mark with a toolbar toggle and keyboard shortcut.rich-text-editor-italicUnderlineThe underline mark with a toolbar toggle and keyboard shortcut.rich-text-editor-underlineStrikethroughThe strikethrough mark with a toolbar toggle and keyboard shortcut.rich-text-editor-strikeInline CodeThe inline code mark with a toolbar toggle and keyboard shortcut.rich-text-editor-codeLinkThe link mark with a URL popover in the toolbar.rich-text-editor-linkHighlightThe highlight mark with a toolbar toggle.rich-text-editor-highlightRubyRuby annotations above the base text, edited from a toolbar popover.rich-text-editor-rubySubscriptThe subscript mark with a toolbar toggle.rich-text-editor-subscriptSuperscriptThe superscript mark with a toolbar toggle.rich-text-editor-superscriptText StyleThe text style mark with color, background, font family, font size and line height controls.rich-text-editor-text-styleCollaboration
rich-text-editor-collaborationCollaboration CaretRenders the cursors and selections of the other collaborators from the provider awareness.rich-text-editor-collaboration-caretPresenceThe online collaborator avatar stack and the connection status of the provider.rich-text-editor-presenceCode Editor
A CodeMirror shell with composable extensions, highlighted with shiki.
Extensions
code-editor-shikiLanguagesLanguage support for the code editor: syntax aware indentation, bracket matching, folding and completion.code-editor-languagesLine NumbersLine numbers, the fold gutter and the active line highlight for the code editor.code-editor-line-numbersDiff ViewDiff view for the code editor: themed changed and deleted lines, chunk navigation with position and line counts, per-chunk and bulk accept or reject actions, keyboard shortcuts, and a side-by-side mode with revert controls between the panes.code-editor-diffMedia
Video.js audio and video players whose skins follow your shadcn/ui tokens, plus the blocks built on them.
video-playerAudio PlayerAn audio-only player built on Video.js 10, with a skin that follows the page color scheme and the shadcn/ui tokens, for episodes, tracks and podcasts.audio-playerImage
Responsive images: layout-stable sizing, srcset, focal point and placeholders, plus the viewers and blocks built on them.
Viewers
image-zoomImage GalleryA selected image with a thumbnail grid: arrow-key navigation, aria-current and the zoom view on the selected picture.image-galleryImage CompareA before/after comparison on one layout-stable stage, driven by a native range input so it works with a mouse, a keyboard and a screen reader.image-compareMarkdown
A streaming-safe markdown renderer whose node styles come from shadcn/typeset, with optional shiki fences, KaTeX math, Pele diagrams and shadcn/ui charts.
Rendering
markdown-code-blockMarkdown MathMath renderer for the markdown item, typeset with KaTeX. An expression that is still being written renders instead of throwing, and needs no math renderer registered, where the shell leaves the source literal.markdown-mathMarkdown MermaidMermaid renderer for the markdown item, drawn with Pele. A fence renders as a diagram once it closes; while the source streams, or when Pele rejects it, the fence stays a code block.markdown-mermaidMarkdown ChartChart renderer for the markdown item, built on the shadcn/ui chart item. A chart fence carries a small JSON spec; bar, line, area and pie charts render once the fence closes and the spec validates, and the fence stays as source otherwise.markdown-chartWant the complete composition?
Blocks compose these components into a finished surface, installed as a single file you own.
Browse the blocks