@headlessui/react
2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed
2.2.10 is the newest release of 2.x.
In short
1 deprecated5 fixed1 changed
- Deprecated
Mark
SwitchGroupas deprecated, preferFieldinstead
Release note
Fixed
Don’t set a focus fallback for Dialog’s in demo mode
Ensure page doesn't scroll down when pressing
Escapeto close theDialogcomponentFix crash when toggling between
virtualand non-virtual mode inComboboxcomponentEnsure tabbing to a portalled
PopoverPanelcomponent moves focus inside (without usingPortalGroup)Only handle form reset when
defaultValueis used
Deprecated
- Deprecated
Mark
SwitchGroupas deprecated, preferFieldinstead
Changed
Use native
fieldsetinstead ofdivby default forFieldsetcomponent
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.