Lit
Reasonable, with limits. 9th of 10 UI frameworks.
Lit is a small, standards-based library for building web components, and the most widely used tool for that job. Pick it for design systems and widgets that must work in any framework or none. For a full single-page app, React, Vue, Svelte or Solid give you a larger app ecosystem. Core development has slowed to bug-fix releases, but the project now sits under the OpenJS Foundation, with steering-committee members from Google, Adobe and Reddit.
Best for: Teams building design systems or embeddable components that must work in any framework or on plain HTML pages.
Scores
Overall6.9
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Lit is the clear pick for writing standard web components and design systems that must work anywhere. That keeps it near the 7–8 band for that kind of project. For most new apps, React, Vue, Svelte or Solid serve people better: they have more active development, stable SSR and routing, and larger ecosystems. Slowing core activity and below-median growth hold the score down, while the foundation governance and big production users keep it a safe bet.
- github commitsLastYear: Low core activity compared with peers
- npm downloads ratio: 2.75x growth against a 4.1 median
- lit.dev/blog/2025-10-14-openjs: Foundation governance with multi-company maintainers
- news.ycombinator.com/item?id=45112720: Mixed user reports on using it for app development
GPT-6.2 Sol: 7.3, likely 6.2 to 8.3
Lit is a strong pick when the deliverable is a set of browser-native components that several apps can share. For a new app that needs integrated routing and server rendering, SvelteKit is a better fit. Proven production use supports the recommendation, while the slower release cadence and below-median install growth limit confidence in its momentum.
- opensource.adobe.com/spectrum-web-components: A current example of a framework-independent design system built with Lit.
- lit.dev/docs/ssr/overview: Lit’s server renderer remains experimental.
- svelte.dev/docs/kit/routing: SvelteKit integrates routes with server and client rendering.
- npm versionsLastYear, npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: Two core versions in the last year and 2.75× install growth against a 4.1× median.
Needed by many4.9
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Rendering UI in the browser is a broad need. Lit's take on it, standard web components, mostly serves people building design systems, embeddable widgets and multi-framework component libraries. Few people pick it as the framework for a whole app, so it is narrower than React or Vue, but it is not tied to any framework or runtime.
- github description: A library for building fast, lightweight web components
- frontendmasters.com/blog/post-mortem-rewriting-agnosticui-with-lit-web-components: Used to build a component library that works across frameworks
- peers dependentRepos: 16.1k dependent repos, far below React (2.8M) and Vue (902k)
GPT-6.2 Sol: 4.8, likely 3.7 to 6.0
Browser UI is a common job, and Lit components can run in several frameworks or on their own. Lit is especially relevant when several apps need to share the same components. Surveys track framework use more readily than the need for shared components, so the size of that audience is uncertain.
- opensource.adobe.com/spectrum-web-components: Adobe uses LitElement for a design system that works across frameworks.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: Tracks Lit in the broader frontend framework market.
- reddit.com/r/webdev/comments/1qz7nbr/are_web_components_popular_and_i_have_my_head_in: Developers discuss component sharing and the added work of building whole apps.
Helps a lot7.4
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
For authoring web components Lit is the best tool: small, fast, well typed and well documented, with reactive properties and efficient template updates. As an app framework it has clear limits. SSR, routing, signals and forms are still Labs packages, and Shadow DOM causes styling and React-interop friction that users report. AI agents write Lit code fairly well, but they have less training data for it than for React.
- github.com/lit/lit/releases: SSR, signals and forms ship as @lit-labs packages, not stable core
- news.ycombinator.com/item?id=45112720: Users report pain integrating web components into React codebases
- frontendmasters.com/blog/post-mortem-rewriting-agnosticui-with-lit-web-components: Post-mortem: framework-agnostic components are not frictionless, with React as the main stress test
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 7.8, likely 6.7 to 8.9
Lit 3.3.3 provides typed reactive properties and well-documented templates, and an independent test found fast targeted row updates. Teams that need stable routing and server rendering must assemble more of the stack themselves. A coding-agent benchmark found higher costs for Gracile with Lit, but it tested one app and the agents also had to learn Gracile.
- github.com/lit/lit/releases/tag/lit@3.3.3: Confirms the stable version and its template directive fix.
- lit.dev/docs/components/properties: Documents typed property declarations, update behavior, and mutation pitfalls.
- github.com/naufalafif/realworld-js-framework-comparison: Lit came close to Svelte on row selection and swapping in this test.
- lit.dev/docs/ssr/overview: The official server renderer is experimental.
- github.com/lit/lit/blob/main/packages/labs/router/README.md: The official router is still seeking design feedback.
- nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks: Five agent runs paired Lit with Gracile. Unfamiliarity with Gracile raised costs.
Holds up over time6.3
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
Lit moved to the OpenJS Foundation in October 2025. A six-member steering committee from Google, Adobe, Reddit and independent maintainers now governs it, which spreads the risk beyond one company. Core activity has slowed, though: 43 commits and two lit releases in the past year, with a large backlog of open issues and PRs and no public Lit 4 roadmap. Lit 3 is stable and rarely breaks code, and it rests on browser standards, which helps it last.
- lit.dev/blog/2025-10-14-openjs: Joined OpenJS with a six-member TSC from Google, Adobe, Reddit and independents
- openjsf.org/blog/lit-moves-to-openjs-foundation: Entered the foundation as an incubating project
- github commitsLastYear: 43 commits versus hundreds or thousands for peers
- github openIssues/openPullRequests: 504 open issues and 243 open PRs
- npm versionsLastYear: Two lit releases in the past year, both patches (3.3.x)
GPT-6.2 Sol: 6.6, likely 5.3 to 7.9
OpenJS Foundation governance brings Adobe, Reddit, Google, and independent developers into project leadership. Lit had 43 repository commits and two core npm versions in the past year, a slower pace than Vue or Svelte. Maintainers restored a stalled release workflow in May and opened a discussion about the next major version in November. The open issue and pull request queues leave typical turnaround times unclear.
- openjsf.org/blog/lit-moves-to-openjs-foundation: Confirms foundation stewardship and a multi-vendor steering committee.
- github commitsLastYear, openIssues, openPullRequests and peers: 43 commits, 504 open issues, and 243 open pull requests. Vue and Svelte had more commits.
- npm versionsLastYear and latestPublishedAt: Two versions in a year, with the latest published May 14, 2026.
- github.com/lit/lit/issues/5326: A user reported stalled GitHub releases in April and confirmed the fix in May.
- github.com/lit/lit/issues/5422: November roadmap discussion lists possible breaking changes for the next major version.
- lit.dev/docs/releases/upgrade: The Lit 2 to 3 upgrade guide documents a small set of breaking changes.
Used widely5.2
How many use it, and is that growing?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
About 39M downloads every four weeks, but many of them come in through design systems and apps that bundle Lit, such as Spectrum, Material Web, Vaadin and Home Assistant, rather than from direct choices. The dependent-repo count (16.1k) is similar to Alpine.js and far below Svelte or Preact. Downloads grew 2.75x in a year, below the 4.1 median, so Lit is losing relative ground.
- npm downloadsLast4Weeks: 39.4M now versus 14.3M a year ago, a ratio of 2.75, below the 4.1 median
- dependents: 16,100 repos and 5,162 packages
- github stars: 21.9k stars, lowest among the major peers
- bluesky posts: 14 posts, below most peers
GPT-6.2 Sol: 4.8, likely 3.7 to 6.0
The collector found 16,100 dependent repositories and 5,162 dependent packages, a substantial base that trails Svelte and Vue. Four-week downloads reached 39.4 million, up 2.75× year over year against the catalog median of 4.1×. That suggests Lit lost relative ground on this measure. Indirect installs and incomplete repository coverage leave the number of projects that deliberately choose Lit uncertain.
- dependents and peers: 16,100 repositories use the npm package in the index, versus 56,439 for Svelte and 902,397 for Vue.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo and medianDownloadsRatio: 39.4 million versus 14.3 million, growing slower than the catalog median.
- github stars, bluesky posts and peers: 21,898 stars and 14 Bluesky posts, below both Vue and Svelte on both measures.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: Survey usage places Lit well below the leading frameworks.
Vouched for7.8
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Several well-known organisations run Lit in production. Google uses it for more than 10,000 custom elements, and it also underpins Adobe Spectrum Web Components, Firefox's UI components and Reddit's front end, with Reddit helping on performance work. Survey sentiment is weaker: State of JS 2025 shows mostly negative opinions of Lit among respondents.
- firefox-source-docs.mozilla.org/browser/components/storybook/docs/README.lit-guide.stories.html: Firefox builds its reusable UI components with Lit
- lit.dev/blog/2025-10-14-openjs: Adobe, Reddit and Google staff sit on the TSC
- bluesky top posts: Reddit's web team pushed Lit SSR performance work and benchmarks
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: State of JS 2025 lists Lit with mostly negative opinions
GPT-6.2 Sol: 8.5, likely 7.4 to 9.4
Reddit and Home Assistant use Lit for production frontends, and Adobe builds Spectrum Web Components on LitElement. Reddit’s engineers also report that missing component imports caused rendering bugs until they automated import management. These teams establish that Lit works at scale, with the strongest evidence coming from teams equipped to build their own tooling.
- reddit.com/r/RedditEng/comments/1ton21v/automating_web_component_dependency_management_on: Reddit engineers document production use, missing imports, and their tooling fix.
- contributors.home-assistant.io/frontend: Home Assistant documents its production TypeScript frontend built with Lit.
- opensource.adobe.com/spectrum-web-components: Adobe confirms LitElement is the base class for Spectrum Web Components.
Safe8.1
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
No known advisories. Its three dependencies are all Lit's own packages (lit-html, lit-element, @lit/reactive-element), and it uses the permissive BSD-3-Clause licence. The only Scorecard is from 2022 and scores 6, with weak token-permission, dangerous-workflow and security-policy checks. Its age widens the range.
- advisories total: Zero advisories in OSV
- npm dependencies: Three dependencies, all first-party
- scorecard: Score 6 from 2022; Token-Permissions, Dangerous-Workflow and Security-Policy all scored 0
- npm license: BSD-3-Clause
GPT-6.2 Sol: 8.2, likely 7.0 to 9.2
Lit has three direct dependencies, a permissive BSD-3-Clause license, and no recorded advisories in the bundle. It now has a private reporting policy, and its automated npm release workflow requests provenance and uses a publishing token. The 2022 Scorecard flagged workflow and token-permission weaknesses, and current publishing access and security response times are hard to assess from public evidence.
- npm dependencies, npm license and advisories: Three direct dependencies, BSD-3-Clause, and zero recorded OSV advisories.
- scorecard: 6/10 in 2022, with zeroes for token permissions and dangerous workflows.
- github.com/lit/lit/security: Private vulnerability reporting and security updates for the latest two major versions.
- github.com/lit/lit/blob/main/.github/workflows/release.yaml: GitHub Actions runs Changesets with npm provenance enabled and a release-bot publishing token.
Good
- It builds real custom elements with Shadow DOM, so components work in React, Vue, Angular or plain HTML.
- It is tiny and fast: about 5 KB, no virtual DOM, with efficient template updates through tagged template literals.
- It has first-class TypeScript support with decorators and reactive properties, and an API that is small and stable.
- Major design systems run it in production, including Adobe Spectrum, Material Web, Web Awesome and Firefox's UI components.
Bad
- Pieces needed for full apps, such as SSR, the router, signals and forms, are still experimental Lit Labs packages.
- Shadow DOM brings real friction: styling across the shadow boundary, form participation, and using components inside React.
- Core activity is low: 43 commits and two lit releases in the past year, with about 500 open issues and 240 open PRs.
- Download growth trails the category median, so its share of new projects is shrinking.
The numbers
- npm downloads, 4 weeks
- 39M ×2.8 in a year
- GitHub stars
- 22k
- Commits, 12 months
- 43
- npm version
- 3.3.3 May 2026
- Versions, 12 months
- 2
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 6.0 out of 10, Aug 2022
- Licence
- BSD-3-Clause
Read on 21 November 2026 from GitHub (lit/lit), npm (lit), OSV and the OpenSSF Scorecard.