Web Development · head to head
Base UI vs Preact

Base UI
Web Development
Unstyled accessible React primitives built by the teams behind Radix, Material UI and Floating UI
- From
- Free
- Free plan
- Yes

Preact
Web Development
3kB alternative to React with the same modern API
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Base UI lists unstyled primitives; only Preact lists 3kB runtime.
- Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
How do Base UI and Preact differ?
Only the attributes on which Base UI and Preact actually diverge.
On every field we record, Base UI and Preact match. The differences are in what each one covers, below.
Identical on both: starting price (Free), pricing model (Open source, no licence fee), free tier (Yes), platforms (Web), category (Web Development).
Which features does each one have?
They share no listed features; 6 appear only for Base UI and 4 only for Preact. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Base UI
- Unstyled primitives
- Focus and keyboard management
- ARIA state handling
- Collision aware positioning
- Composable parts
- Server rendering safe
Only in Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
What is each one used for?
Base UI is most often brought in for building a design system where the visual language must be entirely your own; Preact for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.
Base UI
- Building a design system where the visual language must be entirely your ownnot Preact
- Applications with an accessibility conformance obligation that need correct behaviour as the foundationnot Preact
- Replacing a styled component library that is being fought rather than usednot Preact
- Teams already writing Tailwind who want behaviour without a second opinion about appearancenot Preact
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot Base UI
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Base UI
- Applications targeting low-bandwidth or low-powered devicesnot Base UI
Where do Base UI and Preact fall short?
Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Base UI
- Nothing is styled, so the first weeks produce a functional but unfinished interface, and a team without design capacity will ship something worse looking than a styled library would have given them free
- The project is young and its APIs have changed between releases, so upgrades need reading rather than accepting, and version pinning is currently a necessity
- Component coverage is narrower than the mature styled libraries, so date pickers, tables and rich inputs will still come from elsewhere or be built
- There is no commercial support and no conformance certification to point at, so an organisation that must evidence accessibility still has to commission its own audit
- Consolidating the Radix and Material UI unstyled efforts here leaves the earlier libraries with an uncertain maintenance future, which is a live risk for the many applications built on Radix through shadcn/ui
Preact
- Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
- Behavioural differences from React exist in edge cases, particularly around event handling
- A much smaller community, so unusual problems have fewer existing answers than React
How much do Base UI and Preact cost?
Base UI is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.
Base UI
Free- Base UIOn request
- MIT licensed and free for commercial use
- No paid tier, no enterprise edition and no support contract available
- Open sourceFree
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
Which should you pick?
Choose Base UI if
- You need unstyled primitives.
- You want to start without paying.
- You also want focus and keyboard management.
Choose Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Questions people ask
- Is Base UI or Preact better?
- It depends on the job. Base UI fits building a design system where the visual language must be entirely your own; Preact fits embedded widgets that load inside someone else’s page and must stay small. Base UI starts at Free and Preact at Free.
- Which is cheaper, Base UI or Preact?
- Base UI starts at Free and Preact at Free.
- Does Base UI or Preact run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use Base UI for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Base UI best used for?
- Base UI is most often used for building a design system where the visual language must be entirely your own, applications with an accessibility conformance obligation that need correct behaviour as the foundation, replacing a styled component library that is being fought rather than used, teams already writing tailwind who want behaviour without a second opinion about appearance. Of those, building a design system where the visual language must be entirely your own and applications with an accessibility conformance obligation that need correct behaviour as the foundation are not what Preact is typically brought in for.
- What can Base UI do that Preact cannot?
- Base UI covers Unstyled primitives, Focus and keyboard management, ARIA state handling, Collision aware positioning. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.
Answered from the vendors’ own pages
Base UI: Does this replace Radix UI?
It is where much of the same maintenance attention has moved. If you are on Radix, watch its release activity rather than assuming continuity.
Preact: Is Preact free?
Yes, open source under the MIT licence.
Base UI: What does it affect for shadcn/ui users?
shadcn/ui components are built on Radix primitives, so the health of Radix is your dependency question, not a theoretical one.
Preact: Can I use React libraries with Preact?
Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.
Base UI: Is it ready for production?
For the components it covers, yes, provided you pin versions and read release notes. The range is narrower than mature libraries, so check coverage against your needs first.
Preact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
Related pages
Other head to heads
- Base UI vs Radix UI
- Base UI vs Mantine
- Base UI vs Ant Design
- Base UI vs shadcn/ui
- Base UI vs Chakra UI
- Base UI vs daisyUI
- Base UI vs Vuetify
- Base UI vs v0 by Vercel
- Base UI vs HeroUI
- Base UI vs PrimeReact
- Base UI vs Docusaurus
- Base UI vs SolidJS
- Base UI vs Bootstrap
- Base UI vs NestJS
- Base UI vs Netlify
- Base UI vs Ruby on Rails
- Base UI vs Next.js
- Base UI vs Vue.js
- Base UI vs React
- Base UI vs Qwik
- Base UI vs Lit
- Base UI vs Svelte
- Base UI vs Alpine.js
- Base UI vs Stencil
- Base UI vs jQuery
- Base UI vs MUI
- Base UI vs Angular
- Base UI vs Babel
- Base UI vs Cloudflare Pages
- Base UI vs Eleventy
- Base UI vs Memberstack
- Base UI vs PHP
- Preact vs Radix UI
- Preact vs Mantine
- Preact vs Ant Design
- Preact vs shadcn/ui
- Preact vs Chakra UI
- Preact vs daisyUI
- Preact vs Vuetify
- Preact vs v0 by Vercel
- Preact vs HeroUI
- Preact vs PrimeReact
- Preact vs Docusaurus
- Preact vs SolidJS
- Preact vs Bootstrap
- Preact vs NestJS
- Preact vs Netlify
- Preact vs Ruby on Rails
- Preact vs Next.js
- Preact vs Vue.js
- Preact vs React
- Preact vs Qwik
- Preact vs Lit
- Preact vs Svelte
- Preact vs Alpine.js
- Preact vs Stencil
- Preact vs jQuery
- Preact vs MUI
- Preact vs Angular
- Preact vs Babel
- Preact vs Cloudflare Pages
- Preact vs Eleventy
- Preact vs Memberstack
- Preact vs PHP
