# Headless UI

> Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS

Source: https://talira.ai/catalog/headless-ui-ysr3a97h
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / ui components / headless](https://talira.ai/categories/libraries/ui-components/headless)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source under MIT.
- Free tier: yes[^1]
- Self-hostable: yes
- Backed by: [Tailwind Labs](https://talira.ai/orgs/tailwind-labs.md)

Headless UI is a set of unstyled, accessible UI components for [React](https://talira.ai/catalog/react-a48drvqv.md) and Vue from Tailwind Labs, the makers of [Tailwind CSS](https://talira.ai/catalog/tailwind-css-wfchsr5n.md): dropdown menus, listboxes, comboboxes, dialogs, popovers, disclosures, tabs, switches, radio groups, transitions and form controls. Each component handles the keyboard navigation, focus management and ARIA attributes, and exposes its state (open, focused, selected, disabled) as data attributes and render props, so you style every state yourself, usually with Tailwind utilities such as `data-focus:bg-blue-100`. The React package (version 2) can anchor floating menus and popovers to their buttons; the Vue package is on version 1. It is MIT-licensed.

## Links

- Website: https://headlessui.com/
- GitHub: https://github.com/tailwindlabs/headlessui
- Docs: https://headlessui.com/react/menu

## Problems it solves

- I need an accessible dropdown menu with proper keyboard navigation but want to style it entirely with Tailwind
- a searchable select box (combobox) for React that works with screen readers
- build a modal dialog that traps focus and closes on Escape without writing the focus logic myself
- component libraries force their look on me; I want behaviour and accessibility without any styles
- style the open, focused and selected states of a listbox with CSS instead of JavaScript state
- accessible tabs, switches and radio groups for a Vue app
- animate menus and dialogs opening and closing with CSS transitions
- position a floating menu or popover next to its button and keep it on screen

## Features

- Dropdown Menu, Listbox, Combobox, Dialog, Popover, Disclosure, Tabs and Transition components
- form components: Button, Checkbox, Fieldset, Input, Radio Group, Select, Switch and Textarea
- keyboard navigation, focus management and ARIA attributes handled for you
- component state exposed as data attributes (data-focus, data-open, data-selected) and render props
- anchor positioning for floating menus and popovers (React)
- React and Vue packages
- designed to be styled with Tailwind CSS utilities

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by Tailwind Labs

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [React Aria](https://talira.ai/catalog/react-aria-3gj4qdjz.md): Accessible React components and hooks with no styles
- [Base UI](https://talira.ai/catalog/base-ui-69am5h68.md): Unstyled UI components for building accessible user interfaces
- [Radix UI](https://talira.ai/catalog/radix-ui-sgk1qma1.md): Core building blocks for your design system
- [Ark UI](https://talira.ai/catalog/ark-ui-ymq8fhkw.md): Unstyled, accessible UI components for your design system. Works in React, Vue, Solid, and Svelte.
- [Bits UI](https://talira.ai/catalog/bits-ui-r678c7vg.md): The headless components for Svelte

## Sources

[^1]: https://github.com/tailwindlabs/headlessui/blob/main/LICENSE (checked 23 Nov 2026)
