A text editor framework that does things differently.
Lexical is a lean text editor framework. It is very lightweight, and exposes a set of modular packages that can be used to add common features like lists, links and tables.
Reliable
Lexical is comprised of editor instances that each attach to a single content editable element. A set of editor states represent the current and pending states of the editor at any given time.
Accessible
Lexical is designed for everyone. It follows best practices established in WCAG and is compatible with screen readers and other assistive technologies.
Fast
Lexical is minimal. It doesn't directly concern itself with UI components, toolbars or rich-text features and markdown. The logic for these features can be included via a plugin interface.
Notion-like block editor
A block-first writing flow inspired by Notion, with slash commands and drag handles for reorganizing content.
Compact chat input
A lightweight chat composer for conversational products like support tools, AI assistants, and chat apps.
Rich input field
A stripped-down, single-field editor that behaves like a text input but still supports rich features like bold, italic, underline and hashtags.
What's next?