Command Palette

Search for a command to run...

position in category
#8

Lightweight library for building fast, standards-based web components. Adds reactivity, declarative templates, and scoped styling on top of native Custom Elements and Shadow DOM, with a small footprint around 5 KB minified and compressed.

Lit is part of the OpenJS Foundation and is used by design systems and products from Adobe Spectrum, Alaska Air, IBM Carbon, SAP UI5, VMware Clarity, and Home Assistant. It stands out by producing native web components that work with any framework or with none at all, which makes it suitable for shareable components and design systems that must serve multiple tech stacks.

Key capabilities:

  • Reactive properties and efficient updates that touch only dynamic DOM parts
  • Declarative templates via tagged template literals, no custom syntax or build step required
  • Scoped styles via Shadow DOM by default
  • Native Custom Elements that interoperate with HTML, CMS output, or framework code
  • Progressive enhancement from static sites to full applications

Engineers reach for Lit when building shareable component libraries, design systems across React, Angular, Vue and vanilla projects, or maintainable UIs with minimal framework lock-in. The same components can be embedded in hand-written HTML, generated by a CMS, or instantiated from JavaScript.

GitHub Repositories
127
-11.8%
Trending down this week
Removed in 17 repos