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,806+48 in the last 30 days
npm downloads a week
8.7Mup 8% 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.

02M4M6M8M10MSepNovJanMarMayJulOct24 September 2025: 3,147,927 downloads a week1 October 2025: 3,336,565 downloads a week8 October 2025: 3,185,100 downloads a week15 October 2025: 3,226,399 downloads a week22 October 2025: 3,364,716 downloads a week29 October 2025: 3,326,892 downloads a week5 November 2025: 3,390,078 downloads a week12 November 2025: 3,423,612 downloads a week19 November 2025: 3,478,737 downloads a week26 November 2025: 3,415,065 downloads a week3 December 2025: 3,254,677 downloads a week10 December 2025: 3,782,339 downloads a week17 December 2025: 3,626,048 downloads a week24 December 2025: 2,850,470 downloads a week31 December 2025: 1,803,912 downloads a week7 January 2026: 2,632,682 downloads a week14 January 2026: 3,509,201 downloads a week21 January 2026: 3,588,546 downloads a week28 January 2026: 3,880,534 downloads a week4 February 2026: 3,968,620 downloads a week11 February 2026: 4,180,145 downloads a week18 February 2026: 4,009,747 downloads a week25 February 2026: 4,422,586 downloads a week4 March 2026: 4,527,526 downloads a week11 March 2026: 4,899,193 downloads a week18 March 2026: 4,881,054 downloads a week25 March 2026: 4,696,144 downloads a week1 April 2026: 4,963,437 downloads a week8 April 2026: 4,716,822 downloads a week15 April 2026: 5,170,202 downloads a week22 April 2026: 5,201,861 downloads a week29 April 2026: 5,643,014 downloads a week6 May 2026: 5,455,592 downloads a week13 May 2026: 6,239,370 downloads a week20 May 2026: 6,180,475 downloads a week27 May 2026: 5,780,693 downloads a week3 June 2026: 6,272,970 downloads a week10 June 2026: 6,190,498 downloads a week17 June 2026: 6,538,864 downloads a week24 June 2026: 6,464,188 downloads a week1 July 2026: 6,163,859 downloads a week8 July 2026: 6,217,509 downloads a week22 July 2026: 6,918,009 downloads a week29 July 2026: 6,978,512 downloads a week5 August 2026: 7,110,965 downloads a week12 August 2026: 7,198,135 downloads a week26 August 2026: 7,138,733 downloads a week2 September 2026: 7,397,438 downloads a week28 September 2026: 8,107,082 downloads a week5 October 2026: 8,742,502 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