LexKit — a type-safe rich text editor framework
Build editors fast. LexKit is headless and TypeScript-first, powered by Meta's Lexical. Perfect for blogs, apps, and teams.
What makes LexKit different
Developer-friendly: safe commands, flexible extensions, and ready-to-use features.
That's it. Simple, powerful, and fun to use.
Get Started
Install LexKit and start building in minutes.
Install LexKit
npm install @lexkit/editorInstall Lexical Dependencies
npm install lexical @lexical/react @lexical/html @lexical/markdown @lexical/list @lexical/rich-text @lexical/selection @lexical/utilsBrought to you with ❤️
LexKit is free, open-source software built by developers, for developers. Your support keeps this project alive — whether it's a GitHub star, bug report, feature suggestion, or a small donation. Every contribution helps maintain and improve LexKit for everyone.
Progressive Examples
Step-by-step examples: from basic to advanced.
1. Basic Editor
Basic text formatting: bold, italic, lists.
2. Themed Editor
Custom themes and styling.
3. Advanced Features
Tables, images, exports, and more.
4. Tailwind Theming
Pure Tailwind CSS styling — no custom CSS files.
This editor is styled entirely with Tailwind CSS classes — no custom CSS files needed!
Continue your journey
Ready to build something amazing? Explore our documentation and examples.