Headless UI ships ready-made interactive components without default styling so teams can pair them with Tailwind CSS. Packages exist for React and Vue with focus on keyboard support and screen-reader access.
Overview
Headless UI is a component set from Tailwind Labs that handles behavior and accessibility while leaving visuals to your CSS. Each control exposes the interaction patterns expected for modern web apps but avoids baked-in themes, which makes it a common match for Tailwind utility classes.
Published npm packages cover React and Vue. Documented primitives include menus, dialogs, disclosure panels, popovers, tabs, transitions, and form controls such as buttons, checkboxes, comboboxes, listboxes, radio groups, switches, and text fields. The marketing site demonstrates typical patterns like dropdown actions, modal flows, and multi-option pickers.
Developers install stable or insider builds through npm, with separate package names per framework. Full API and usage guidance live on the project documentation site, and the community discusses patterns on GitHub.
Because components ship unstyled, teams keep full control over layout and branding while inheriting focus management, accessibility wiring, and keyboard navigation handled inside the library.
Key features
- No default visual theme
- React and Vue packages
- Dialogs, menus, and popovers
- Accessible form controls
- Tabs and disclosure widgets
- Tailwind CSS integration focus
- Transition helpers
- Insiders npm channel for previews
Use cases
- Custom-styled Tailwind interfaces
- Accessible dropdowns and modals
- Form inputs with a11y baked in
- Vue or React design systems