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):- @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:- @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:Popular Extensions
Here are some commonly used extensions:ProseMirror Dependency
Tiptap requires ProseMirror as a peer dependency. The@tiptap/pm package bundles all necessary ProseMirror packages: