Web Development · head to head
Base UI vs Starlight

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

Starlight
Documentation
Documentation site framework built on Astro that ships no JavaScript to the reader by default
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Base UI lists unstyled primitives; only Starlight lists file based routing.
How do Base UI and Starlight differ?
Base UI and Starlight differ on platforms and category (Web Development against Documentation). Only the attributes on which Base UI and Starlight actually diverge.
Identical on both: starting price (Free), pricing model (Open source, no licence fee), free tier (Yes).
Which features does each one have?
They share no listed features; 6 appear only for Base UI and 7 only for Starlight. 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 Starlight
- File based routing
- Pagefind search
- Internationalisation
- Component overrides
- Zero client JavaScript
- Expressive Code blocks
- Auto generated sidebar
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. 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 Starlight
- Applications with an accessibility conformance obligation that need correct behaviour as the foundationnot Starlight
- Replacing a styled component library that is being fought rather than usednot Starlight
- Teams already writing Tailwind who want behaviour without a second opinion about appearancenot Starlight
Starlight
- A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Base UI
- A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Base UI
- Documentation that must be served from a CDN or an air gapped static host with no search backendnot Base UI
- A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Base UI
Where do Base UI and Starlight fall short?
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
Starlight
- There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository
- Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours
- Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy
- There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself
- Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade
How much do Base UI and Starlight cost?
Base UI is free to use; Starlight 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
Starlight
Free- Open sourceFree
- MIT licence
- All features included
- Self hosted on any static host
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 Starlight if
- You need file based routing.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux.
- You also want pagefind search.
Questions people ask
- Is Base UI or Starlight better?
- It depends on the job. Base UI fits building a design system where the visual language must be entirely your own; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Base UI starts at Free and Starlight at Free.
- Which is cheaper, Base UI or Starlight?
- Base UI starts at Free and Starlight at Free.
- Does Base UI or Starlight run on more platforms?
- Base UI runs on Web. Starlight runs on Web, macOS, Windows, Linux.
- 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 Starlight is typically brought in for.
- What can Base UI do that Starlight cannot?
- Base UI covers Unstyled primitives, Focus and keyboard management, ARIA state handling, Collision aware positioning. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.
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.
Starlight: Can a non technical writer publish a page without help?
No. There is no content management interface. Every change is a commit, a pull request and a build.
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.
Starlight: Do I need to know Astro to use it?
Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.
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.
Starlight: Is search included or do I pay for it?
Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.
Starlight: What happens when Astro releases a major version?
Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.
Starlight: Can I self host with no external services?
Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.
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 Preact
- 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 MkDocs
- Base UI vs VitePress
- Base UI vs Fumadocs
- Base UI vs Antora
- Base UI vs Mintlify
- Base UI vs Docsify
- Base UI vs Nextra
- Base UI vs Archbee
- Base UI vs Scalar
- Base UI vs HelpDocs
- Base UI vs Confluence
- Base UI vs Nuclino
- Base UI vs Adobe RoboHelp
- Base UI vs Doxygen
- Base UI vs Guidde
- Base UI vs Tettra
- Base UI vs Guru (knowledge platform)
- Base UI vs MediaWiki
- Starlight vs Radix UI
- Starlight vs Mantine
- Starlight vs Ant Design
- Starlight vs shadcn/ui
- Starlight vs Chakra UI
- Starlight vs daisyUI
- Starlight vs Vuetify
- Starlight vs v0 by Vercel
- Starlight vs HeroUI
- Starlight vs PrimeReact
- Starlight vs Docusaurus
- Starlight vs Preact
- Starlight vs SolidJS
- Starlight vs Bootstrap
- Starlight vs NestJS
- Starlight vs Netlify
- Starlight vs Ruby on Rails
- Starlight vs Next.js
- Starlight vs MkDocs
- Starlight vs VitePress
- Starlight vs Fumadocs
- Starlight vs Antora
- Starlight vs Mintlify
- Starlight vs Docsify
- Starlight vs Nextra
- Starlight vs Archbee
- Starlight vs Scalar
- Starlight vs HelpDocs
- Starlight vs Confluence
- Starlight vs Nuclino
- Starlight vs Adobe RoboHelp
- Starlight vs Doxygen
- Starlight vs Guidde
- Starlight vs Tettra
- Starlight vs Guru (knowledge platform)
- Starlight vs MediaWiki
