facebook

    facebook/lexical

    #628 this week

    Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.

    web
    TypeScript
    MIT
    24.0K stars
    2.2K forks
    24.0K GitHub watchers
    Updated Oct 17, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #61 among Web repositories tracked this week, and #61 over the last 30 days; #628 of 2,794 repositories GStars tracks this week (top 22%).

    4 releases in the last 90 days, the latest 19 days ago, with 452 contributors on GitHub.

    Peaked at #83 in the weekly ranking the week of Sep 7, its best in the past year.

    Use Cases & Benefits

    • Provides an extensible JavaScript text editor framework focused on reliability, accessibility, and performance.
    • Offers a highly extensible architecture enabling developers to build scalable, custom text editing experiences with a best-in-class developer experience.
    • Use for building rich text editors in React applications with easy plugin integration and state management.
    • Use for creating custom, performant contenteditable editors in any DOM-based web framework beyond React.
    • Use for implementing complex editor features like undo/redo, commands, and node transforms with immutable editor state management.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility, and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence. Combined with a highly extensible architecture, Lexical allows developers to create unique text editing experiences that scale in size and functionality.

    For documentation and more information about Lexical, be sure to visit the Lexical website.

    Note: Lexical is not only limited to React. Lexical can support any underlying DOM based library once bindings for that library have been created.

    Below is an example of a basic plain text editor using lexical and @lexical/react (try it yourself).

    Excerpt from the facebook/lexical README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.2K+42

    Open issues

    332-13

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth

    facebook/lexical compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    MadsLorentzen/ai-job-search60.6K+12.8K601 day ago
    anomalyco/opencode220.2K+6.8K75today
    hmjz100/LinkSwift27.1K+4.4K75246 days ago
    YuJunZhiXue/dsh-purge8.9K+2.9K558 days ago
    mksglu/context-mode31.8K+2.3K75115 days ago
    facebook/lexical24.0K+07519 days ago
    Category median31.8K+4.4K75—

    Also by facebook

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description