A curated list of awesome Lit resources.
Lit
— 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.
@lit/localize
- Library and command-line tool for localizing web applications built using Lit.@lit-labs/ssr
- Package for server-side rendering Lit templates and components.@lit-labs/motion
- Lit directives for making things move.@lit-labs/react
- React integration for Web Components and reactive Lit controllers.@lit-labs/scoped-registry-mixin
- Mixin for LitElement that integrates with the speculative Scoped CustomElementRegistry polyfill to evaluate the proposal and facilitate feedback.@lit-labs/task
- Controller for Lit that renders asynchronous tasks.@lit-labs/virtualizer
- Package that provides virtual scrolling for Lit.@adobe/lit-mobx
- Mixin and base class for using mobx with Lit.@apollo-elements/lit-apollo
- LitElement integrations with Apollo GraphQL.@lit-app/state
- Lean and simple global State management for Lit 2.@shoelace-style/localize
@stefanholzapfel/lit-state
- Lightweight reactive state management for Lit 2.@vaadin/form
- Set of utilities for building forms with TypeScript and Lit.dark-theme-utils
- Useful utilities for dark mode built with Web Components.exome
- State manager for deeply nested states that supports Lit.pure-lit
lit-element-effect
- Effect hooks for LitElement.lit-element-state-decoupler
- Utility for state handling outside of the component for LitElement.lit-redux-router
- Declarative way of routing for Lit powered by pwa-helpers and Redux.lit-svelte-stores
- Lit controller to use svelte stores as state management.lit-vaadin-helpers
- Helpers for using Vaadin web components with Lit 2.ullr
<api-viewer>
<app-datepicker>
<burgton-button>
<code-block>
<codesandbox-button>
<editor-container>
<granite-qrcode-generator>
<helium-animated-pages>
<json-viewer>
<light-gallery>
<lit-datatable>
<lottie-player>
<model-viewer>
<rapi-doc>
<round-slider>
<stl-part-viewer>
type
for reactive properties declared in Lit components based on TypeScript type annotations.The following content delivery networks provide ES module versions of Lit:
See lit.dev documentation for using bundles.
The following articles refer to older versions of lit-html and LitElement.
These libraries are not related to Lit, but are built using similar concepts. They use html
tagged
template literal, and leverage the benefits of the same IDE Plugins for syntax highlighting.
If you want more awesome resources, check the awesome
list!