← All projects

Lit

Simple. Fast. Web Components.

Dev Toolsweb-componentsjavascriptfrontendlibraryui-componentstypescriptshadow-dom
Lit screenshot

About

Lit is a lightweight JavaScript library (~5 KB) for building web components on top of the Web Components standards. It adds reactivity, declarative templates, and scoped styles to reduce boilerplate while remaining interoperable with any framework or none at all. Lit components are native custom elements that work anywhere HTML is used.

Problem

Building reusable, framework-agnostic UI components with native browser APIs requires too much boilerplate and lacks reactivity.

For

frontend developers building shareable components, design systems, or web apps

How it works

Lit extends the native Web Components standards with reactive properties, declarative tagged-template HTML rendering, and Shadow DOM scoped styles in a ~5 KB package.

Business model

open-source

Status

launched

Company

Google

Similar projects