lit

    lit/lit

    #162 this week

    Lit is a simple library for building fast, lightweight web components.

    web
    html-templates
    lit
    lit-element
    lit-html
    TypeScript
    BSD-3-Clause
    21.5K stars
    1.1K forks
    21.5K watching
    Updated 5/4/2026
    View on GitHub

    Scale data-heavy AI workloads

    while keeping costs low with S3-compatible storage.

    BackblazeLearn more

    Loading star history...

    Health Score

    75

    Activity
    2
    Community
    25
    Maintenance
    34
    Last release292d ago

    Weekly Growth

    +0

    +0.0% this week

    Contributors

    192

    Total contributors

    Open Issues

    699

    Use Cases & Benefits

    About lit

    Lit

    Simple. Fast. Web Components.

    Build Status Published on npm Join our Discord Mentioned in Awesome Lit

    Lit is a simple library for building fast, lightweight web components.

    At Lit's core is a boilerplate-killing component base class that provides reactive state, scoped styles, and a declarative template system that's tiny, fast and expressive.

    Documentation

    See the full documentation for Lit at lit.dev.

    Additional documentation for developers looking to contribute or understand more about the project can be found in dev-docs.

    npm

    To install from npm:

    npm i lit
    

    Lit Monorepo

    This is the monorepo for Lit packages.

    lit 2.x source is available on the 2.x branch. lit-html 1.x source is available on the lit-html-1.x branch.

    Packages

    Contributing to Lit

    Lit is open source and we appreciate issue reports and pull requests. See CONTRIBUTING.md for more information.

    Setting up the lit monorepo for development

    Initialize repo:

    git clone https://github.com/lit/lit.git
    cd lit
    npm ci
    

    Build all packages:

    npm run build
    

    Test all packages:

    npm run test
    

    Run benchmarks for all packages:

    npm run benchmarks
    

    See individual package READMEs for details on developing for a specific package.

    Discover Repositories

    Search across tracked repositories by name or description