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,832+52 in the last 30 days
npm downloads a week
9.7Mdown 1% on the week before
Latest release
@headlessui/re…7 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

GitHub stars, last 12 months. Updated 17 November 2026.

28.8k28.8k28.8k28.8k28.8kSepOctOctOctOctNovNovNov29 September 2026: 28,763 stars6 October 2026: 28,768 stars13 October 2026: 28,775 stars20 October 2026: 28,783 stars27 October 2026: 28,802 stars3 November 2026: 28,805 stars10 November 2026: 28,817 stars17 November 2026: 28,832 stars

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

02M4M6M8M10MOctDecFebAprJunAugNov19 October 2025: 3,269,690 downloads a week26 October 2025: 3,325,116 downloads a week2 November 2025: 3,330,191 downloads a week9 November 2025: 3,507,644 downloads a week16 November 2025: 3,364,005 downloads a week23 November 2025: 3,468,795 downloads a week30 November 2025: 3,132,147 downloads a week7 December 2025: 3,723,261 downloads a week14 December 2025: 3,701,981 downloads a week21 December 2025: 3,502,437 downloads a week28 December 2025: 2,048,190 downloads a week4 January 2026: 1,943,831 downloads a week11 January 2026: 3,348,776 downloads a week18 January 2026: 3,578,924 downloads a week25 January 2026: 3,681,435 downloads a week1 February 2026: 3,924,380 downloads a week8 February 2026: 4,096,939 downloads a week15 February 2026: 4,236,808 downloads a week22 February 2026: 4,043,452 downloads a week1 March 2026: 4,521,529 downloads a week8 March 2026: 4,675,454 downloads a week15 March 2026: 4,946,892 downloads a week22 March 2026: 4,697,330 downloads a week29 March 2026: 4,873,014 downloads a week5 April 2026: 4,807,340 downloads a week12 April 2026: 4,947,942 downloads a week19 April 2026: 5,205,219 downloads a week26 April 2026: 5,333,239 downloads a week3 May 2026: 5,573,258 downloads a week10 May 2026: 5,823,965 downloads a week17 May 2026: 6,287,921 downloads a week24 May 2026: 6,194,173 downloads a week31 May 2026: 5,795,224 downloads a week7 June 2026: 6,219,722 downloads a week14 June 2026: 6,399,266 downloads a week21 June 2026: 6,534,675 downloads a week28 June 2026: 6,305,165 downloads a week5 July 2026: 5,981,954 downloads a week12 July 2026: 6,710,278 downloads a week19 July 2026: 6,770,246 downloads a week26 July 2026: 7,038,181 downloads a week2 August 2026: 6,907,731 downloads a week9 August 2026: 7,177,965 downloads a week16 August 2026: 7,254,591 downloads a week23 August 2026: 7,072,324 downloads a week30 August 2026: 7,184,988 downloads a week6 September 2026: 7,837,247 downloads a week28 September 2026: 8,107,082 downloads a week5 October 2026: 8,742,502 downloads a week1 November 2026: 9,755,771 downloads a week8 November 2026: 9,862,224 downloads a week15 November 2026: 9,727,731 downloads a week

Recent releases

Headless UI alternatives

All 11 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