IT lexicon › Web › Headless UI

Headless UI

Web På svenska → Updated: 2026-07-30

Unstyled but fully accessible components for React and Vue, built by Tailwind Labs (2020). You get the behaviour — focus handling, keyboard, ARIA — and write all the CSS yourself.

It covers the widgets that are deceptively hard to get right: Dialog with a focus trap, Menu and Listbox with correct roving tabindex, Combobox, Disclosure, Tabs, Switch. The point is that accessibility lives in the logic while appearance is entirely yours, which suits Tailwind perfectly since you want to put classes directly on elements anyway. A smaller component library than Radix UI and slower moving, but with less API surface to learn. Same family of ideas as the "headless" hooks in React Table and Downshift.

← Back to the lexicon