Headless UI
freeTailwind Labs' unstyled components for React and Vue: menus, listboxes, comboboxes, dialogs, tabs.

Try these
Radix Primitives
The original unstyled, accessible React primitives, now one tree-shakeable package.
Base UI
Unstyled, accessible React primitives from the Radix, Floating UI and MUI teams.
React Aria Components
Adobe's unstyled React components with the deepest accessibility, i18n and touch handling.
Kibo UI
shadcn registry of complex app components shadcn/ui lacks: gantt, kanban, calendar, color picker, dropzone.
For your agent
Install
npm i @headlessui/reactUse it for
- an unstyled listbox or combobox styled with Tailwind data-focus and data-selected variants
- Vue projects that need unstyled accessible dialogs, menus and tabs
Skip it when
- an accessible dropdown menu or dialog with no Tailwind in the project: use radix-ui
- you need many primitives (date pickers, sliders, toasts): Headless UI ships 16; use radix-ui, base-ui or react-aria
What's inside16 free
- Button
- Checkbox
- Combobox
- Dialog
- Disclosure
- Dropdown Menu
- Fieldset
- Input
- Listbox
- Popover
- Radio Group
- Select
- Switch
- Tabs
- Textarea
- Transition
Facts
- Frameworks
- react, vue
- Styling
- unstyled
- Weight
- small
- Accessibility
- strong
- Maturity
- established
- License
- MIT
- Price
- Free
Alternatives
import { Menu, MenuButton, MenuItem, MenuItems } from "@headlessui/react"
<Menu>
<MenuButton>Account</MenuButton>
<MenuItems anchor="bottom" className="rounded-lg bg-white p-1 shadow">
<MenuItem><a className="block px-3 py-1.5 data-focus:bg-gray-100" href="/settings">Settings</a></MenuItem>
</MenuItems>
</Menu>https://headlessui.com
Loading website