Skip to content

lit/lit

Folders and files

NameName
Last commit message
Last commit date
May 14, 2025
Feb 3, 2025
Apr 16, 2021
Jan 22, 2024
Feb 22, 2024
Nov 22, 2024
May 14, 2025
Oct 24, 2024
May 5, 2025
Apr 22, 2021
Feb 22, 2024
Oct 17, 2024
Sep 8, 2022
Oct 17, 2024
Oct 17, 2024
Jul 8, 2017
Oct 17, 2024
Apr 23, 2021
Feb 22, 2024
Feb 22, 2024
Feb 17, 2023
Mar 25, 2024
Feb 26, 2021
Nov 27, 2024
Jan 9, 2024
Sep 21, 2023
May 2, 2025
May 2, 2025
Oct 3, 2024
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.