# Preact vs shadcn/ui

**Leader by vioscaleAI score:** Preact

| Attribute | Preact | shadcn/ui |
|---|---|---|
| **vioscaleAI score** | 77.9 (72% (medium)) | 54.7 (39% (low)) |
| activity.commits_last_30d | 70 | 99 |
| adoption.dependent_repos | 78,992 | 0 |
| adoption.github_stars | 38,926 | 125,486 |
| adoption.package_downloads_weekly | 38,692,983 | - |
| content.faq | `[{"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}]` | `[{"answer":"An open-source React component library that provides ready-made UI components built on Radix UI and styled with Tailwind CSS. You copy components directly into your codebase and customize them to match your design requirements. It is indexed under Frontend UI Frameworks.","source":"https://ui.shadcn.com/","question":"What is shadcn/ui?","confidence":0.6},{"answer":"shadcn/ui 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://ui.shadcn.com/","question":"Is shadcn/ui free to use?","confidence":0.6},{"answer":"shadcn/ui supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://ui.shadcn.com/","question":"What platforms does shadcn/ui support?","confidence":0.6},{"answer":"Yes. shadcn/ui can be deployed cloud / SaaS and self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://ui.shadcn.com/","question":"Can shadcn/ui be self-hosted?","confidence":0.6},{"answer":"We have confirmed 5 integrations for shadcn/ui, including Radix UI, React, Tailwind CSS, Next.js and Vite. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://ui.shadcn.com/","question":"What does shadcn/ui integrate with?","confidence":0.6},{"answer":"Yes. shadcn/ui 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/shadcn-ui/ui","question":"Is shadcn/ui open source?","confidence":0.95}]` |
| deployment.options | - | `{"cloud":true,"self_hosted":true}` |
| description.long | A minimal virtual DOM framework providing React-style components and APIs, optimized for tiny bundle size and fast performance across modern browsers. | An open-source React component library that provides ready-made UI components built on Radix UI and styled with Tailwind CSS. You copy components directly into your codebase and customize them to match your design requirements. |
| features.capabilities | `{"paradigm":"Virtual DOM component library","bundle_size":"tiny","ssr_support":true,"virtual_dom":true,"component_model":true,"router_official":true,"state_management":true}` | `{"paradigm":"Component library and design system toolkit","bundle_size":"small","ssr_support":true,"virtual_dom":true,"component_model":true,"router_official":false,"state_management":true,"typescript_first":true,"signals_reactivity":false}` |
| integrations.count | - | 6 |
| integrations.list | - | `[{"name":"Radix UI"},{"name":"React"},{"name":"React Aria"},{"name":"Tailwind CSS"},{"name":"Next.js"},{"name":"Vite"}]` |
| language.primary | JavaScript | TypeScript |
| license.spdx | MIT | MIT |
| market.availability | - | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"web":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://preactjs.com/","retrievedAt":"2026-10-13T13:50:36.035Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://ui.shadcn.com/","retrievedAt":"2026-08-14T08:34:38.943Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 13 | 1 |
| release.history | `[{"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"}]` | `[{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.21.4","date":"2026-10-07T11:11:31Z","type":"stable","version":"shadcn@4.21.4"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/registry%400.1.3","date":"2026-10-07T11:11:28Z","type":"stable","version":"@shadcn/registry@0.1.3"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.21.3","date":"2026-10-06T06:17:47Z","type":"stable","version":"shadcn@4.21.3"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/registry%400.1.2","date":"2026-10-06T06:17:45Z","type":"stable","version":"@shadcn/registry@0.1.2"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.21.2","date":"2026-10-05T14:38:22Z","type":"stable","version":"shadcn@4.21.2"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/registry%400.1.1","date":"2026-10-05T14:38:19Z","type":"stable","version":"@shadcn/registry@0.1.1"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.21.1","date":"2026-10-01T10:30:53Z","type":"stable","version":"shadcn@4.21.1"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/registry%400.1.0","date":"2026-10-01T10:30:50Z","type":"stable","version":"@shadcn/registry@0.1.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.21.0","date":"2026-09-04T05:32:33Z","type":"stable","version":"shadcn@4.21.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.20.1","date":"2026-09-02T16:34:13Z","type":"stable","version":"shadcn@4.20.1"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.20.0","date":"2026-09-02T12:02:03Z","type":"stable","version":"shadcn@4.20.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.19.1","date":"2026-08-31T09:55:48Z","type":"stable","version":"shadcn@4.19.1"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.3.1","date":"2026-08-31T09:55:45Z","type":"stable","version":"@shadcn/react@0.3.1"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.19.0","date":"2026-08-21T17:28:23Z","type":"stable","version":"shadcn@4.19.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.18.0","date":"2026-08-13T18:44:31Z","type":"stable","version":"shadcn@4.18.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.17.0","date":"2026-08-11T20:39:12Z","type":"stable","version":"shadcn@4.17.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/helpers%400.2.0","date":"2026-08-11T20:49:34Z","type":"stable","version":"@shadcn/helpers@0.2.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.16.2","date":"2026-08-06T11:37:08Z","type":"stable","version":"shadcn@4.16.2"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.3.0","date":"2026-08-05T19:13:18Z","type":"stable","version":"@shadcn/react@0.3.0"},{"url":"https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.16.1","date":"2026-07-31T13:58:43Z","type":"stable","version":"shadcn@4.16.1"}]` |
| security.disclosure_policy | - | yes |
| security.scorecard | 5.8 | - |
| security.vulnerabilities | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=preact&per_page=100","last_12m":1,"max_severity":"HIGH"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=maven&package_name=org.mvnpm.at.shadcn%3Aregistry&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Frontend UI Frameworks)

| Capability | Preact | shadcn/ui |
|---|:--:|:--:|
| **Core** |  |  |
| Paradigm | Virtual DOM component library | Component library and design system toolkit |
| 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) | Small (10–40kb) |

*Source: vioscaleAI. Generated 2026-10-16T21:48:34.125Z. "-" = undocumented, not absent.*
