Skip to content

Headless UI

Headless UI is a free, open source library of completely unstyled, fully accessible UI components, built by Tailwind Labs (now owned by Shopify) and designed to pair naturally with Tailwind CSS. It covers common interactive patterns like menus, dialogs, listboxes and switches for both React and Vue, leaving all visual styling to the developer.

By Tailwind Labs (Shopify)Open sourceSince 2020UI Libraries

Facts checked on against the sources listed at the end of this page.

Pricing
Open sourceFree plan: Yes, Headless UI is completely free
Open source
YesMIT
GitHub stars
28,767
npm downloads a week
8.8Mup 11% on the week before
Latest release
@headlessui/re…6 months ago

A good fit for

  • Tailwind CSS projects that want accessible interactive components without a large dependency
  • Teams that want a smaller, focused set of unstyled components rather than a very large primitives library
  • React or Vue projects needing common patterns like dropdowns, dialogs and switches
  • Developers who want accessibility handled without writing their own keyboard and ARIA logic

Not a good fit for

  • Projects that need a very large, comprehensive set of component primitives, where a bigger library like Radix UI may cover more patterns
  • Frameworks outside React and Vue, since Headless UI only supports those two
  • Teams that want prebuilt visual styling rather than a completely unstyled starting point

Headless UI pricing

Headless UI is completely free and open source under the MIT license.

Prices in USD, checked on 27 September 2026. Current prices on headlessui.com.

Main features

Unstyled components
No default visual styling; you apply your own CSS or utility classes.
Accessible by default
Keyboard navigation and ARIA attributes handled for common interactive patterns.
React and Vue support
Separate packages for React and Vue projects.
Tailwind-friendly
Designed to pair naturally with Tailwind CSS, though not required.
Focused component set
Covers commonly needed patterns like menus, dialogs, listboxes and switches.

About Headless UI

Headless UI provides unstyled, fully accessible component behavior for common UI patterns such as dropdown menus, dialogs, listboxes, switches and disclosure panels, handling keyboard interactions and ARIA attributes so you only need to supply the visual styling.

It's built by the team behind Tailwind CSS and designed to work especially well alongside it, though it doesn't require Tailwind and can be styled with any CSS approach.

Unlike larger primitive libraries that cover dozens of components, Headless UI focuses on a smaller, curated set of commonly needed interactive patterns, making it a lighter-weight option when you don't need a very large component surface.

Made by
Tailwind Labs (Shopify)
Free plan
Yes, Headless UI is completely free
Available on
React, Vue

Usage and activity

Weekly npm downloads of @headlessui/react, last 12 months.

02M4M6M8M10MOctDecJanMarMayJulOct7 October 2025: 3,188,393 downloads a week14 October 2025: 3,222,056 downloads a week21 October 2025: 3,345,188 downloads a week28 October 2025: 3,338,115 downloads a week4 November 2025: 3,369,979 downloads a week11 November 2025: 3,424,651 downloads a week18 November 2025: 3,430,267 downloads a week25 November 2025: 3,470,396 downloads a week2 December 2025: 3,205,053 downloads a week9 December 2025: 3,775,097 downloads a week16 December 2025: 3,646,067 downloads a week23 December 2025: 3,168,869 downloads a week30 December 2025: 1,834,898 downloads a week6 January 2026: 2,329,098 downloads a week13 January 2026: 3,477,250 downloads a week20 January 2026: 3,537,598 downloads a week27 January 2026: 3,843,402 downloads a week3 February 2026: 3,958,681 downloads a week10 February 2026: 4,147,281 downloads a week17 February 2026: 4,045,678 downloads a week24 February 2026: 4,332,903 downloads a week3 March 2026: 4,535,411 downloads a week10 March 2026: 4,843,216 downloads a week17 March 2026: 4,902,520 downloads a week24 March 2026: 4,664,336 downloads a week31 March 2026: 4,952,420 downloads a week7 April 2026: 4,671,876 downloads a week14 April 2026: 5,165,230 downloads a week21 April 2026: 5,187,974 downloads a week28 April 2026: 5,570,276 downloads a week5 May 2026: 5,473,943 downloads a week12 May 2026: 6,093,945 downloads a week19 May 2026: 6,218,077 downloads a week26 May 2026: 5,804,828 downloads a week2 June 2026: 6,241,721 downloads a week16 June 2026: 6,502,830 downloads a week23 June 2026: 6,536,897 downloads a week30 June 2026: 6,219,648 downloads a week7 July 2026: 6,057,504 downloads a week21 July 2026: 6,802,630 downloads a week28 July 2026: 7,068,428 downloads a week4 August 2026: 6,998,999 downloads a week11 August 2026: 7,232,388 downloads a week25 August 2026: 7,182,960 downloads a week1 September 2026: 7,198,894 downloads a week27 September 2026: 7,937,570 downloads a week4 October 2026: 8,776,461 downloads a week

Recent releases

Headless UI alternatives

All 9 alternatives to Headless UI, side by side

Headless UI compared

Questions about Headless UI

Is Headless UI free?

Yes, it's completely free and open source under the MIT license.

Does Headless UI require Tailwind CSS?

No, though it's built by the Tailwind CSS team and designed to pair well with it, you can style Headless UI components with any CSS approach.

What frameworks does Headless UI support?

React and Vue, each with its own package.

How is Headless UI different from Radix UI?

Both are unstyled, accessible component libraries, but Headless UI covers a smaller, more focused set of common patterns, while Radix UI offers a larger range of primitives.

Sources and links

Work on Headless UI? Claim this listing. Something wrong or out of date? Suggest a correction. Stats come from the public GitHub and npm APIs and update every day.

Headless UI: pricing, features and alternatives (2026) | ScratchDB