Beautiful editing experiences for React apps
Ritext

Build a production-ready editor that matches your product.

Ritext is a headless, composable rich text editor for React. Ship your own toolbar, UX, and design language with flexible extensions and clean APIs.

26+

Ready-to-use extensions

TypeScript

Typed APIs and components

Tiptap v3

Battle-tested editor engine

Ritext editor preview
Liquid glass UI
Responsive blocks

Install via npm

npm install ritext
React 19
Next.js
Tailwind CSS
TypeScript
Tiptap v3
Custom Toolbars
MDX Workflows
Design Systems
React 19
Next.js
Tailwind CSS
TypeScript
Tiptap v3
Custom Toolbars
MDX Workflows
Design Systems

Developer-first architecture

Everything you need in a rich text editor

Built for teams that care about content quality and product polish.

Headless & Composable

Design your own toolbar and editor layout using clean React components. No forced UI or lock-in.

Tailwind CSS Powered

Every component is built with Tailwind CSS, so visual customization is as simple as adding a class.

Tiptap Foundation

Built on top of Tiptap v3 with a proven extension architecture and familiar editor APIs.

20+ Extensions

Prebuilt extensions cover text formatting, lists, tables, links, media, and advanced writing tools.

TypeScript First

Strong typing across editor APIs, toolbar controls, and extension configuration.

Zero Lock-in

No heavyweight framework assumptions. Use it with your own design system and app structure.

Use Cases

Built for real product workflows

From docs platforms to collaborative workspaces, Ritext adapts to your product model.

Ritext visual editor preview
Modular extension stack
Fully themed toolbar controls

Product Documentation

Write feature docs with structured headings, callouts, tables, and embedded media.

Campaign & Marketing

Ship landing content, newsletters, and knowledge pages with reusable formatting blocks.

Workspace Content

Power notes, team updates, and templates inside your app with a polished editing flow.

Ship In 3 Steps

A faster editor delivery workflow

01

Install + Compose

Choose extensions and create your editor layout with your own UI patterns.

02

Theme + Customize

Style controls with Tailwind classes and map behavior to your product design system.

03

Ship + Iterate

Deliver rich writing experiences quickly and evolve features without lock-in.

MyEditor.tsx

Simple by design

A minimal setup gets you a fully featured editor.

import { Editor, Toolbar, Content } from 'ritext';
import { Document, Text, Paragraph } from 'ritext/extension/base';
import { Bold } from 'ritext/extension/bold';
import { Italic } from 'ritext/extension/italic';
import { Heading } from 'ritext/extension/heading';
import 'ritext/styles.css';

const extensions = [Document, Text, Paragraph, Bold, Italic, Heading];

export default function MyEditor() {
  return (
    <Editor extensions={extensions} className="rounded-xl border">
      <Toolbar className="border-b p-2" />
      <Content />
    </Editor>
  );
}

26+ Built-in Extensions

Pick only what you need and keep your bundle intentional.

BoldItalicUnderlineStrikeHeadingColorBackground ColorFont FamilyFont SizeLine HeightBullet ListOrdered ListTask ListText AlignIndent / OutdentLinksImageTableBlock QuoteHorizontal RuleEmojiHard BreakHistoryClear FormatSubscriptSuperscript
Explore all extensions

Docs-Ready Components

Clear setup, composable APIs, and docs-first examples.

Developer Experience

Predictable extension model with full TypeScript support.

Polished UI Foundation

Glassmorphism surfaces and smooth interactions out of the box.

Interactive FAQ

Answers before you build

Can I fully customize the toolbar and editor layout?

Yes. Ritext is headless and composable, so you can rearrange controls, hide tools, and design your own editor surface.

Do I need all extensions in my bundle?

No. You only import extensions you need. This keeps your editor experience focused and your bundle leaner.

Will this work with my existing design system?

Yes. Components are Tailwind-friendly and TypeScript-first, so they integrate cleanly into existing product styles.

Ship Faster

Turn rich text into a product feature

Read the docs for setup and architecture, then use the playground to test workflows and interactions.

Developed by Siam Ahnaf