A Tiptap rich text editor with toolbar, slash menu and live Markdown or HTML.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { RichTextEditor } from "@/components/ui/notchset/rich-text-editor";
export function RunNotes({ notes, save }: { notes: string; save: (markdown: string) => void }) {
return <RichTextEditor defaultValue={notes} wordLimit={120} onChange={({ markdown }) => save(markdown)} />;
}defaultValue–
string (HTML)Starting content; RESET restores it.
onChange–
({ html, markdown, json }) => voidEvery change.
wordLimit–
numberOver it, the count turns signal.
source–
booleanThe Markdown / HTML pane (default on).
RichTextEditordata-slot="rich-text-editor"
The editor, toolbar, menus and source.
components/ui/notchset/rich-text-editor.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @notchset-pro/rich-text-editorNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release
Pro is in early access.