Integrate Tiptap UI Components
Tiptap UI Components are React source files for building an editor with Tiptap 3. Start with a template if you want a working editor with its extensions, toolbar, and styles. If you already have an editor, install the controls you need and render them alongside it.
Get started
How components are installed
The CLI copies the component and the registry files it imports into your project. It also uses your package manager to install npm dependencies. For example, run this in your project to install a formatting button.
pnpm dlx @tiptap/cli@latest add mark-buttonImport the button from @/components/tiptap-ui/mark-button with the default aliases. Register the mark you want to toggle in your editor. The mark button guide shows how to pass it an editor instance.
Templates include the editor setup. In a new Next.js App Router project, the Simple Editor includes a page at /simple. For other frameworks, follow the installation guide to render the editor in your own route.
Components and primitives
- Components connect a control to editor state or commands. For example, the heading dropdown lets a user apply heading levels enabled in the editor.
- Node components supply styles, extensions, or React views for document nodes. The image upload node takes an upload handler from your app.
- Primitives provide controls such as a button or popover. Use them to build your own interface.
Design defaults
Edit the installed component files to change their markup or behavior. To change the colors shared across controls, edit the theme variables in your styles directory. The styling guide lists the global stylesheet paths for each framework.
License and source code
The Simple Editor and the components in the public UI Components repository use the MIT license. Paid items list their required plan on the component or template page. Sign in with an account that has access and accept the Tiptap Pro License when the CLI prompts you.

