Join our Discord Community
Forms

Editor

Rich text editor component for React and Next.js applications. Built with Tiptap, TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring slash commands, syntax highlighting, and collaborative editing.

Loading component...

Installation

npx shadcn@latest add https://www.shadcn.io/registry/editor.json
npx shadcn@latest add https://www.shadcn.io/registry/editor.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/editor.json
bunx shadcn@latest add https://www.shadcn.io/registry/editor.json

Features

  • Rich text editing - Complete formatting toolkit with Tiptap foundation for React applications
  • Slash commands - Quick formatting with / trigger for headings, lists, tables using JavaScript
  • Floating menus - Context-sensitive toolbars and bubble menus for text selection using TypeScript
  • Code highlighting - Syntax highlighting for code blocks with lowlight integration using Tailwind CSS
  • Table editing - Full table support with cell merging, row/column management using shadcn/ui styling
  • Character limits - Word and character counting with validation for Next.js forms
  • Collaborative ready - Built for real-time collaboration and document sharing
  • Open source - Free rich text editor with extensive customization options

Use Cases

  • Content management - Blog posts, articles, documentation with rich formatting
  • Messaging apps - Chat interfaces with text formatting and media support
  • Note-taking - Documentation tools with markdown-like editing experience
  • Collaboration - Shared documents, comments, real-time editing features

Implementation

Built on Tiptap with modular extensions. Supports server-side rendering. Use with form libraries for validation. Extensible with custom commands and plugins.