Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
A set of completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
--- ## Documentation For full documentation, visit [headlessui.com](https://headlessui.com). ### Installing the latest version You can install the latest version by using: - `npm install @headlessui/react@latest` - `npm install @headlessui/vue@latest` ### Installing the insiders version You can install the insiders version (which points to whatever the latest commit on the `main` branch is) by using: - `npm install @headlessui/react@insiders` - `npm install @headlessui/vue@insiders` **Note:** The insiders build doesn't follow semver and therefore doesn't guarantee that the APIs will be the same once they are released. ## Packages | Name | Version | Downloads | | :------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: | | [`@headlessui/react`](https://github.com/tailwindlabs/headlessui/tree/main/packages/%40headlessui-react) | [](https://www.npmjs.com/package/@headlessui/react) | [](https://www.npmjs.com/package/@headlessui/react) | | [`@headlessui/vue`](https://github.com/tailwindlabs/headlessui/tree/main/packages/%40headlessui-vue) | [](https://www.npmjs.com/package/@headlessui/vue) | [](https://www.npmjs.com/package/@headlessui/vue) | | [`@headlessui/tailwindcss`](https://github.com/tailwindlabs/headlessui/tree/main/packages/%40headlessui-tailwindcss) | [](https://www.npmjs.com/package/@headlessui/tailwindcss) | [](https://www.npmjs.com/package/@headlessui/tailwindcss) | ## Community For help, discussion about best practices, or feature ideas: [Discuss Headless UI on GitHub](https://github.com/tailwindlabs/headlessui/discussions) ## Contributing If you're interested in contributing to Headless UI, please read our [contributing docs](https://github.com/tailwindlabs/headlessui/blob/main/.github/CONTRIBUTING.md) **before submitting a pull request**.Combobox: typing gets quadratically slower with the number of rendered options (1000 options ≈ 3.5 s per keystroke)
Combobox `by` and `virtual.disabled` reject a correct handler when `TValue` is a union
Dialog: interrupted enter transition deadlocks useTransition (open flip during duration-100 enter)
Accessibility conformance results for Headless UI, ahead of publication (one finding)
Vue: stale scroll-lock meta breaks touch-scrolling in sibling Dialogs on iOS (React fixed in #3796, Vue never got the port)
@headlessui/vue Dialog gets stuck unscrollable on iOS after touching outside it (same bug as #3234, fixed for React in #3801 but not ported)
@headlessui/[email protected] label for attribute is incorrectly applied for radio buttons
Popover does not close when clicking anywhere outside of its contents
JAWS Virtual Cursor does not stay within PopoverPanel after opening popover
Listbox becomes non-interactive after soft navigation when Next.js `cacheComponents` is enabled