# Lit vs Preact

**Leader by vioscaleAI score:** Preact

| Attribute | Lit | Preact |
|---|---|---|
| **vioscaleAI score** | 62.3 (67% (medium)) | 77.9 (72% (medium)) |
| activity.commits_last_30d | 6 | 70 |
| adoption.dependent_repos | 22,879 | 78,992 |
| adoption.github_stars | 21,843 | 38,926 |
| adoption.package_downloads_weekly | 7,044,909 | 38,692,983 |
| content.faq | `[{"answer":"A framework built on Web Components standards that adds reactivity and declarative templates while keeping bundle size tiny. Components update only their dynamic parts, eliminating the need for virtual DOM diffing. It is indexed under Frontend UI Frameworks.","source":"https://lit.dev/","question":"What is Lit?","confidence":0.6},{"answer":"Lit is open source, so it can be self-hosted and used at no licence cost. It is released under the BSD-3-Clause licence. Pricing changes often, so verify at source before relying on it.","source":"https://lit.dev/","question":"Is Lit free to use?","confidence":0.6},{"answer":"We have confirmed browser-based access to Lit. That is the extent of what we could verify from public sources, so it may well offer desktop or mobile clients we have not indexed.","source":"https://lit.dev/","question":"What platforms does Lit support?","confidence":0.6},{"answer":"Yes. Lit is published under the BSD-3-Clause licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/lit/lit","question":"Is Lit open source?","confidence":0.99}]` | `[{"answer":"A minimal virtual DOM library that provides a React-compatible API with significantly reduced file size. Preact delivers performance-focused component development without the overhead of traditional frameworks. It is indexed under Frontend UI Frameworks.","source":"https://preactjs.com/","question":"What is Preact?","confidence":0.6},{"answer":"Preact is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://preactjs.com/","question":"Is Preact free to use?","confidence":0.6},{"answer":"We have confirmed browser-based access to Preact. That is the extent of what we could verify from public sources, so it may well offer desktop or mobile clients we have not indexed.","source":"https://preactjs.com/","question":"What platforms does Preact support?","confidence":0.6},{"answer":"Yes. Preact is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/preactjs/preact","question":"Is Preact open source?","confidence":0.99}]` |
| deployment.options | `{"cloud":true,"self_hosted":true}` | - |
| description.long | A web component framework that combines a reactive component base class with declarative templating and built-in styling, designed for minimal code overhead and fast performance. | A minimal virtual DOM framework providing React-style components and APIs, optimized for tiny bundle size and fast performance across modern browsers. |
| features.capabilities | `{"paradigm":"Web Components with reactive properties","bundle_size":"tiny","ssr_support":true,"virtual_dom":false,"component_model":true,"router_official":true,"state_management":true,"typescript_first":true,"signals_reactivity":true}` | `{"paradigm":"Virtual DOM component library","bundle_size":"tiny","ssr_support":true,"virtual_dom":true,"component_model":true,"router_official":true,"state_management":true}` |
| integrations.count | 3 | - |
| integrations.list | `[{"name":"Preact Signals","category":"reactivity"},{"name":"React","native":true},{"name":"Preact","native":true},{"name":"Eleventy","native":true}]` | - |
| language.primary | TypeScript | JavaScript |
| license.spdx | BSD-3-Clause | MIT |
| platform.support | `{"web":true}` | `{"web":true}` |
| pricing | `{"type":"open_source","summary":"Open source, free to use","freeTier":true,"sourceUrl":"https://lit.dev/","retrievedAt":"2026-08-13T23:02:02.922Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://preactjs.com/","retrievedAt":"2026-10-13T13:50:36.035Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | - | 13 |
| release.history | `[{"url":"https://github.com/lit/lit/releases/tag/lit%403.3.3","date":"2026-05-14T03:56:19Z","type":"stable","version":"lit@3.3.3"},{"url":"https://github.com/lit/lit/releases/tag/lit-html%403.3.3","date":"2026-05-14T03:56:01Z","type":"stable","version":"lit-html@3.3.3"},{"url":"https://github.com/lit/lit/releases/tag/%40lit/localize-tools%400.8.2","date":"2026-05-14T03:56:16Z","type":"stable","version":"@lit/localize-tools@0.8.2"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/ssr%404.1.0","date":"2026-05-14T03:56:04Z","type":"stable","version":"@lit-labs/ssr@4.1.0"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/ssr-dom-shim%401.6.0","date":"2026-05-14T03:56:22Z","type":"stable","version":"@lit-labs/ssr-dom-shim@1.6.0"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/signals%400.3.0","date":"2026-05-14T03:56:10Z","type":"stable","version":"@lit-labs/signals@0.3.0"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/rollup-plugin-minify-html-literals%400.2.0","date":"2026-05-14T03:56:07Z","type":"stable","version":"@lit-labs/rollup-plugin-minify-html-literals@0.2.0"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/gen-manifest%400.3.6","date":"2026-05-14T03:56:13Z","type":"stable","version":"@lit-labs/gen-manifest@0.3.6"},{"url":"https://github.com/lit/lit/releases/tag/lit%403.3.1","date":"2025-07-11T03:37:03Z","type":"stable","version":"lit@3.3.1"},{"url":"https://github.com/lit/lit/releases/tag/lit-html%403.3.1","date":"2025-07-11T03:37:00Z","type":"stable","version":"lit-html@3.3.1"},{"url":"https://github.com/lit/lit/releases/tag/lit-element%404.2.1","date":"2025-07-11T03:37:42Z","type":"stable","version":"lit-element@4.2.1"},{"url":"https://github.com/lit/lit/releases/tag/%40lit/task%401.0.3","date":"2025-07-11T03:37:27Z","type":"stable","version":"@lit/task@1.0.3"},{"url":"https://github.com/lit/lit/releases/tag/%40lit/reactive-element%402.1.1","date":"2025-07-11T03:37:33Z","type":"stable","version":"@lit/reactive-element@2.1.1"},{"url":"https://github.com/lit/lit/releases/tag/%40lit/react%401.0.8","date":"2025-07-11T03:37:36Z","type":"stable","version":"@lit/react@1.0.8"},{"url":"https://github.com/lit/lit/releases/tag/%40lit/context%401.1.6","date":"2025-07-11T03:36:54Z","type":"stable","version":"@lit/context@1.1.6"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/vue-utils%400.1.3","date":"2025-07-11T03:37:06Z","type":"stable","version":"@lit-labs/vue-utils@0.1.3"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/virtualizer%402.1.1","date":"2025-07-11T03:37:39Z","type":"stable","version":"@lit-labs/virtualizer@2.1.1"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/ssr-react%400.3.3","date":"2025-07-11T03:37:24Z","type":"stable","version":"@lit-labs/ssr-react@0.3.3"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/ssr-dom-shim%401.4.0","date":"2025-07-11T03:37:15Z","type":"stable","version":"@lit-labs/ssr-dom-shim@1.4.0"},{"url":"https://github.com/lit/lit/releases/tag/%40lit-labs/signals%400.1.3","date":"2025-07-11T03:37:30Z","type":"stable","version":"@lit-labs/signals@0.1.3"}]` | `[{"url":"https://github.com/preactjs/preact/releases/tag/11.0.1","date":"2026-10-08T08:28:17Z","type":"stable","version":"11.0.1"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0","date":"2026-09-30T13:09:07Z","type":"stable","version":"11.0.0"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-rc.2","date":"2026-09-08T09:03:07Z","type":"prerelease","version":"11.0.0-rc.2"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-rc.1","date":"2026-08-26T07:49:33Z","type":"prerelease","version":"11.0.0-rc.1"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-rc.0","date":"2026-08-10T06:17:58Z","type":"prerelease","version":"11.0.0-rc.0"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.8","date":"2026-08-01T09:57:31Z","type":"stable","version":"10.29.8"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-beta.2","date":"2026-07-15T16:46:28Z","type":"prerelease","version":"11.0.0-beta.2"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.7","date":"2026-07-08T17:33:42Z","type":"stable","version":"10.29.7"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.6","date":"2026-07-08T07:34:46Z","type":"stable","version":"10.29.6"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.5","date":"2026-07-07T16:51:01Z","type":"stable","version":"10.29.5"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.4","date":"2026-07-03T10:58:50Z","type":"stable","version":"10.29.4"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.3","date":"2026-06-26T05:16:07Z","type":"stable","version":"10.29.3"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.2","date":"2026-05-17T09:58:18Z","type":"stable","version":"10.29.2"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.1","date":"2026-04-03T10:43:40Z","type":"stable","version":"10.29.1"},{"url":"https://github.com/preactjs/preact/releases/tag/10.29.0","date":"2026-03-10T18:28:07Z","type":"stable","version":"10.29.0"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.4","date":"2026-02-19T07:15:06Z","type":"stable","version":"10.28.4"},{"url":"https://github.com/preactjs/preact/releases/tag/11.0.0-beta.1","date":"2026-02-15T10:10:26Z","type":"prerelease","version":"11.0.0-beta.1"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.3","date":"2026-01-31T09:58:48Z","type":"stable","version":"10.28.3"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.2","date":"2026-01-06T14:51:37Z","type":"stable","version":"10.28.2"},{"url":"https://github.com/preactjs/preact/releases/tag/10.27.3","date":"2026-01-06T14:59:45Z","type":"stable","version":"10.27.3"}]` |
| security.scorecard | 6 | 5.8 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=lit-html&per_page=100","last_12m":0,"max_severity":null}` | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=preact&per_page=100","last_12m":1,"max_severity":"HIGH"}` |

## Capabilities (Frontend UI Frameworks)

| Capability | Lit | Preact |
|---|:--:|:--:|
| **Core** |  |  |
| Paradigm | Web Components with reactive properties | Virtual DOM component library |
| Reusable component model | ✓ | ✓ |
| **Rendering** |  |  |
| Virtual DOM | ✗ | ✓ |
| Signals / fine-grained reactivity | ✓ | - |
| SSR support | ✓ | ✓ |
| **DX** |  |  |
| First-class TypeScript | ✓ | - |
| **State** |  |  |
| Built-in state management | ✓ | ✓ |
| **Ecosystem** |  |  |
| Official router | ✓ | ✓ |
| **Performance** |  |  |
| Runtime size | Tiny (<10kb) | Tiny (<10kb) |

*Source: vioscaleAI. Generated 2026-10-16T19:16:06.403Z. "-" = undocumented, not absent.*
