UI / Components / doc / DocToolbar

DocToolbar

B / I / U + headings + lists + code + math.

Standalone toolbar component for any TipTap editor. Bold / italic / underline / strike / code / link / heading levels / bullets / ordered list / blockquote / math. Wire to your editor instance.

$npx dock-ui add doc-toolbar

Usage

import { DocToolbar } from "@/components/ui/doc-toolbar";

<DocToolbar editor={editor} />

Install

via CLI
$ npx dock-ui add doc-toolbar
Writes the file(s) directly to your components/ui/ folder. You own the code.
For agents
curl -L https://ui.trydock.ai/r/doc-toolbar.json
Returns a JSON manifest with file paths + contents. Agent-readable, LLM-fetchable.
← All components
Themes·Component kit · glossary
View on GitHub →