Skip to content
forked from lit/lit

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

License

Notifications You must be signed in to change notification settings

roger120981/lit

This branch is 16 commits behind lit/lit:main.

Folders and files

NameName
Last commit message
Last commit date
Jan 21, 2025
Dec 21, 2024
Apr 16, 2021
Jan 22, 2024
Feb 22, 2024
Nov 22, 2024
Jan 21, 2025
Oct 24, 2024
Oct 2, 2024
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
Dec 21, 2024
Nov 27, 2024
Oct 3, 2024

Repository files navigation

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.

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.6%
  • JavaScript 38.8%
  • HTML 2.2%
  • Other 0.4%