Frontend · Library

Radix UI

A set of unstyled, accessible React building blocks, such as dialogs, menus, tabs and tooltips, that handle behaviour and keyboard support while you supply the look.

Styling and UI kits · Open source · updated

How it works

Radix Primitives are headless: each component ships the tricky parts (focus trapping, keyboard navigation, ARIA attributes, positioning of popovers) but no visual style. You compose them from parts such as Dialog.Trigger and Dialog.Content and style them with Tailwind, CSS Modules or any other approach. Radix Themes is a separate, pre-styled library built on top.

Radix is open source and maintained by WorkOS. It became widely known as the layer underneath shadcn/ui. Some of its original authors now build Base UI, a similar headless library that shadcn/ui made its default for new projects in 2026, so it is worth comparing the two, along with React Aria, when starting fresh.

Radix UI pros and cons

Pros

  • Accessibility and keyboard behaviour handled carefully
  • No styles to fight: works with any design or CSS approach
  • Composable parts give fine control over the markup
  • Mature and used in many production apps

Cons

  • You still design and style everything yourself
  • Works with React only
  • shadcn/ui now defaults to Base UI, so newer guides may assume it

When to use Radix UI

Pick it when

  • Building your own design system on accessible foundations
  • Custom-designed React apps that need solid dialogs, menus and popovers

Skip it when

  • You want ready-styled components (shadcn/ui or Radix Themes)
  • The project does not use React

Radix UI pricing

Open source

Free (MIT).

Approximate, checked September 2026.What the other tools cost

Radix UI vs the alternatives

More in Frontend

Styling and UI kits

All 26 Frontend terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.