GitHub Hot Board

GitHub Hot Board · Repository archive

lit/lit

Lit is a simple library for building fast, lightweight web components. (This description comes from the repository itself.)

TypeScript#html-templates#lit#lit-element

Data at October 28lit

Best

#355

All-time · TypeScript language

22K

Total stars

1.1K

Total forks

0

Days on boards (30d)

License: BSD-3-ClauseLast push: October 22Open issues: 741Collected since 2026-10-25; unknown = not yet harvested

README

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.

Current rankings

Momentum, past 30 days

No leaderboard records in the last 30 days.

Put your badge on the README · lit/lit[![Put your badge on the README](https://git.vaiox.xyz/api/badge/lit/lit.svg)](https://git.vaiox.xyz/en/repo/lit/lit)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/en/repo/lit/lit"><img src="https://git.vaiox.xyz/api/badge/lit/lit.svg" alt="Put your badge on the README" height="20"></a>

← Back to boards

GitHub Hot BoardTime MachineDiscover联系我们 · Contact