lit

repo: web-padawan/awesome-lit
category: Front-End Development related: Web Components · Javascript


Awesome Lit Awesome

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.

Contents

General resources

Community

Overview

Starter Templates

Codelabs

Tutorials

Examples

Lit Labs

Extensions

Design Systems

Component Libraries

Standalone Components

Meta Frameworks

  • Gracile - Thin, full-stack meta-framework. Powered by Vite and Lit SSR.

Tools

Building

Linting

IDE Plugins

  • vscode-lit-html - Syntax highlighting and IntelliSense for lit-html template strings.
  • vscode-lit-plugin - Syntax highlighting, type checking and code completion for lit-html.
  • es6-string-html - VSCode extension which provides syntax highlighting for HTML in ES6 multiline strings.
  • vim-html-template-literals - Syntax highlighting and indentation for HTML inside of tagged template literals.
  • @web-types/lit - Attribute completion for HTML inside of tagged template literals.

TypeScript Plugins

Other Tools

CDN

The following content delivery networks provide ES module versions of Lit:

See lit.dev documentation for using bundles.

Integrations

Videos

Podcasts

  • [The Web Platform Podcast 159: lit-html - HTML Templates via JavaScript Template Literals](https://thewebplatformpodcast.com/159-lithtml-html-templates-via-javascript-template-literals) - An episode with the lit-html creator Justin Fagnani.
  • ShopTalk Show 348: Getting lit-html with Justin Fagnani - Another episode with Justin Fagnani as a guest.

Archive

The following articles refer to older versions of lit-html and LitElement.

Similar libraries

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.

  • haunted - React's Hooks API but for standard web components and hyperHTML or lit-html.
  • htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
  • hybrids - UI library for creating Web Components with simple and functional API.
  • lit-ntml - Lightweight and modern templating for SSR in Node.js, inspired by lit-html.

Other awesome resources

If you want more awesome resources, check the awesome list!


License

CC0

[[curator]]
I'm the Curator. I can help you navigate, organize, and curate this wiki. What would you like to do?