Packages

@headlessui/react

2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.1.0

21 Jun 2024Where it was published

2.2.10 is the newest release of 2.x.

In short

4 new9 fixed

Release note

Headless UI v2.1

We just released Headless UI v2.1 for React, which dramatically simplifies our transition APIs and adds support for rendering multiple dialogs as siblings. See our announcement blog to learn more.

Changelog

Added

  • Add ability to render multiple Dialog components at once (without nesting them)

  • Add new data-attribute-based transition API (#3273, #3285, #3307, #3309, #3312)

  • Add DialogBackdrop component (#3307, #3310)

  • Add PopoverBackdrop component to replace PopoverOverlay

Fixed

  • Keep Combobox open when clicking scrollbar in ComboboxOptions

  • Ensure ComboboxInput does not sync with current value while typing

  • Fix visual jitter in Combobox component when using native scrollbar

  • Improve UX by freezing ComboboxOptions while closing

  • Merge incoming style prop on ComboboxOptions, ListboxOptions, MenuItems, and PopoverPanel components

  • Prevent focus on Checkbox when it is disabled

  • Use useId instead of React internals (for React 19 compatibility)

  • Cancel outside click behavior on touch devices when scrolling

  • Correctly apply conditional classes when using Transition and TransitionChild components

Changed

  • Allow using the Tab and Shift+Tab keys when the Listbox component is open

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.