# Lit vs Preact

**Leader by Vioscale score:** Preact

| Attribute | Lit | Preact |
|---|---|---|
| **Vioscale score** | 64.5 (63% (medium)) | 80.7 (72% (medium)) |
| activity.commits_last_30d | 0 | 100 |
| adoption.dependent_repos | 22,879 | 78,992 |
| adoption.github_stars | 21,788 | 38,834 |
| adoption.package_downloads_weekly | 7,186,164 | 31,234,030 |
| description.long | 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. | 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. |
| features.capabilities | `{"paradigm":"Web Components with reactive properties","bundle_size":"tiny","virtual_dom":false,"component_model":true,"router_official":false,"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,"state_management":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","sourceUrl":"https://preactjs.com/","retrievedAt":"2026-08-13T23:05:09.849Z"}` |
| pricing.free_tier | yes | - |
| pricing.model | commercial | commercial |
| 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.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"},{"url":"https://github.com/preactjs/preact/releases/tag/10.26.10","date":"2026-01-06T15:02:47Z","type":"stable","version":"10.26.10"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.1","date":"2025-12-23T19:22:14Z","type":"stable","version":"10.28.1"},{"url":"https://github.com/preactjs/preact/releases/tag/10.28.0","date":"2025-12-01T17:12:41Z","type":"stable","version":"10.28.0"}]` |
| security.scorecard | 6 | 5.7 |
| 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: Vioscale. Generated 2026-09-01T16:43:42.669Z. "-" = undocumented, not absent.*
