Installation Guide
Get LexKit running in your project
Follow our step-by-step guide to install LexKit and its peer dependencies. We'll get you from zero to a working editor in under 5 minutes.
Understanding LexKit's Architecture
LexKit is built on Meta's Lexical framework. Here's why this matters for your installation.
LexKit doesn't bundle Lexical — instead, it declares it as a peer dependency. This gives you full control over versioning and reduces bundle size.
You'll install both LexKit and its Lexical dependencies together. This ensures compatibility and gives you access to all Lexical's features.
Pro Tip:
Always check our documentation for the recommended Lexical version that matches your LexKit version.
Installation Steps
Install LexKit first, then its Lexical peer dependencies.
npm install @lexkit/editornpm install lexical @lexical/react @lexical/html @lexical/markdown @lexical/list @lexical/rich-text @lexical/selection @lexical/utilsQuick Start Example
See LexKit in action with this basic example.
Your First LexKit Editor
A simple editor with basic formatting capabilities.
Troubleshooting
Common issues and their solutions.
--legacy-peer-deps flag or check our documentation for compatible version combinations.Ready to Build?
Now that LexKit is installed, let's start building amazing editors!