Skip to main content

Installation

Install Tiptap using your preferred package manager. You’ll need at least two packages: the core package and the starter kit (or individual extensions).

Core Installation

Install the core Tiptap package and the starter kit, which includes the most common extensions:

What’s Included?

  • @tiptap/core - The headless editor core (version 3.20.0)
  • @tiptap/starter-kit - A collection of essential extensions including:
    • Document, Paragraph, Text (base nodes)
    • Bold, Italic, Strike, Code (text formatting)
    • Heading, Blockquote, Code Block (block nodes)
    • Bullet List, Ordered List (lists)
    • Hard Break, Horizontal Rule
    • Link, Underline
    • Undo/Redo functionality
The starter kit is perfect for getting started quickly. Once you’re comfortable, you can install individual extensions for more granular control over your bundle size.

Framework-Specific Installation

Tiptap provides official integrations for popular frameworks. Choose the one that matches your tech stack.

React

For React applications (supports React 17, 18, and 19):
Package Details:
  • @tiptap/react (version 3.20.0) - React components and hooks
  • Supports React 17.x, 18.x, and 19.x
  • Includes TypeScript definitions

Vue 3

For Vue 3 applications:
Package Details:
  • @tiptap/vue-3 (version 3.20.0) - Vue 3 components and composables
  • Requires Vue 3.0.0 or higher
  • Includes TypeScript definitions

Vue 2

For Vue 2 applications:

Vanilla JavaScript

If you’re not using a framework, just install the core packages:

Installing Individual Extensions

For more control over your bundle size, install only the extensions you need:
Here are some commonly used extensions:
Browse the complete list of 100+ extensions in the official documentation.

ProseMirror Dependency

Tiptap requires ProseMirror as a peer dependency. The @tiptap/pm package bundles all necessary ProseMirror packages:
This is usually installed automatically with the other Tiptap packages, but you may need to install it explicitly in some cases.

Collaborative Editing

For real-time collaborative editing, install the collaboration extensions and Yjs:
For a complete collaboration setup with a backend, check out Hocuspocus, the official open-source collaboration backend.

Verification

After installation, verify that Tiptap is installed correctly:

Troubleshooting

Module Resolution Issues

If you encounter module resolution errors, ensure your bundler supports ES modules:

TypeScript Errors

For TypeScript projects, make sure you have the necessary type definitions:

Peer Dependency Warnings

If you see peer dependency warnings, install the missing packages:

Next Steps

Now that Tiptap is installed, head over to the Quickstart guide to create your first editor!