lit

Lit is a simple library for building fast, lightweight web components. (by lit)

Lit Alternatives

Similar projects and alternatives to lit

  1. React

    2,054 lit VS React

    Discontinued The library for web and native user interfaces. [Moved to: https://github.com/react/react] (by facebook)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Tailwind CSS

    1,595 lit VS Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  4. TypeScript

    1,512 lit VS TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  5. vite

    952 lit VS vite

    Next generation frontend tooling. It's fast!

  6. Angular

    857 lit VS Angular

    Deliver web apps with confidence 🚀

  7. Svelte

    733 lit VS Svelte

    web development for the rest of us

  8. htmx

    671 lit VS htmx

    </> htmx - high power tools for HTML

  9. astro

    656 lit VS astro

    The web framework for content-driven websites. ⭐️ Star to support our work!

  10. SvelteKit

    647 lit VS SvelteKit

    web development, streamlined (by sveltejs)

  11. storybook

    375 lit VS storybook

    Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation

  12. Preact

    135 lit VS Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

  13. fresh

    141 lit VS fresh

    The framework so simple, you already know it.

  14. shoelace-css

    80 lit VS shoelace-css

    Discontinued Shoelace is now Web Awesome. Come see what’s new!

  15. core

    63 lit VS core

    A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, (+ more) and traditional web applications from a single, framework-agnostic codebase. (by stenciljs)

  16. joystick

    60 lit VS joystick

    Discontinued The full-stack JavaScript framework for SaaS apps. [GET https://api.github.com/repos/cheatcode/joystick: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]

  17. Mithril.js

    59 lit VS Mithril.js

    A JavaScript Framework for Building Brilliant Applications

  18. webcomponents

    Web Components specifications

  19. htm

    47 lit VS htm

    Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

  20. custom-elements-everywhere

    Custom Element + Framework Interoperability Tests.

  21. uibuilder

    11 lit VS uibuilder

    Typed HTML templates using TypeScript's TSX files

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lit alternative or higher similarity.

lit discussion

Log in or Post with

lit reviews and mentions

Posts with mentions or reviews of lit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-07-01.
  • Zustand Felt Off. Redux Was a No. So I Built My Own.
    2 projects | dev.to | 1 Jul 2026
    I had built a form library for Lit before, so I thought I might build one for React too, as a learning experience.
  • I Built a Voice Widget That Fills Any HTML Form — Here’s How
    1 project | dev.to | 25 Mar 2026
    TypelessForm — an npm package that adds voice input to any existing HTML form. It's a web component built with Lit. You add one custom element to your page, a mic button appears, users speak, AI fills the fields.
  • Why is Visual Difference Testing still so hard?
    2 projects | dev.to | 24 Mar 2026
    I am a web component developer, so I also have to wait until each of my web components is defined and has run its first update cycle before taking a screenshot. I use Lit which definitely helps a ton. Lit has a handy updateComplete property that is a Promise that resolves true each time the component render cycle is completed. But what if there are child web components in the shadow root? Waiting until every component has completed its render cycle is another way that false positives can plague us. There is just no simple way to know for sure, so we setTimeout for some random number and hope its long enough.
  • Kigumi: Same components, any stack
    2 projects | dev.to | 24 Mar 2026
    Kigumi takes a different approach. It’s built on Web Awesome, a library of 70+ production-ready web components powered by Lit. These are real HTML custom elements that the browser understands natively. Web Awesome also ships with an excellent design token system and layout CSS classes, built entirely on CSS custom properties, giving you full control over colors, spacing, typography, and more.
  • Headless Storybook with Lit
    3 projects | dev.to | 19 Mar 2026
    Let's take Lit, a Web Component framework that my team uses as an example. An experimental server-side rendering feature exists that relies on the declarative shadow DOM, but for correct hydration, components must be adhere to certain lifecycle constraints. For instance, if certain rendering logic is placed in improper lifecycle callbacks, a component may render as expected in Storybook but fail during server-side rendering. This results in significant time spent debugging discrepancies between development and production. Tooling for static analysis, such as linting and lifecycle enforcement, is relatively immature due to the feature's experimental status, and replicating server-side rendering-specific conditions in Storybook is currently not feasible.
  • Introducing Backlit: Lit SSR for Drupal, Hold the Node
    2 projects | dev.to | 19 Mar 2026
    Well, introducing Backlit -- a Drupal module that server-renders Lit web components with Declarative Shadow DOM. No Node.js, no containers, no external services. Two lines to install, zero infrastructure to maintain.
  • I built 130+ web components for myself. Now they're free for everyone.
    2 projects | dev.to | 9 Mar 2026
    I'm a big fan of Lit and Shoelace (I've even donated to Shoelace — seriously, go check it out if you haven't — and consider donating to them, I have). They just didn't cover everything I needed for my projects, so I started building my own.
  • You can make up HTML tags
    13 projects | news.ycombinator.com | 28 Dec 2025
    https://lit.dev/

    That's the premise behind Lit! I've been using it to build out a project recently and it's quite good, simpler to reason about than the current state of React imo.

    It started at google and now is part of OpenJS.

  • 📻 I built an infinite 90s boombox with Gemini + Lyria (and it has an AI DJ!)
    1 project | dev.to | 17 Nov 2025
    Framework: Lit (Web Components) + Vite
  • When to emit events for stateful components
    2 projects | dev.to | 19 Oct 2025
    This decision is a bit tricky to explain, so I‘ll show some code (in Lit because that‘s what I like and use daily.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Jul 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic lit repo stats
197
21,711
7.9
18 days ago

lit/lit is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of lit is TypeScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com