Introduction
Welcome to Tiptide, a modular, beautiful compound rich text editor built on top of Tiptap.
Tiptide is a high-performance, developer-first rich text editor for React. Instead of giving you a monolithic, uncustomizable textarea, Tiptide is designed using the Compound Component Pattern.
This means you can import, arrange, and style every single element of the editor—from individual toolbar buttons to context-dependent bubble menus—exactly the way you want.
Key Benefits
- Compound Component Architecture: Ultimate layouts flexibility. Position toolbars on top, bottom, or build floating custom controls.
- Neutral Minimal Styling: Minimal black and white theme built using pure Tailwind CSS and zero-shadow Radix UI foundations.
- Fully Configured Extensions: Out of the box support for basic formatting, links, colors, lists, drag-handles, images, superscripts, code-blocks, and more.
- Native Viewer: Export and display content with the unified
<Viewer />component that preserves styles perfectly. - Strict Type-Safety: Fully written in TypeScript with robust types for editor states, contents, and contexts.
Example
tsx
// Simple direct usage
import { TiptideEditor } from 'tiptide';
import 'tiptide/styles';
function Editor() {
return (
<TiptideEditor
content="<p>Start writing...</p>"
onChange={(editor) => {
console.log(editor.getHTML());
}}
/>
);
}