Packages

@headlessui/react

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

Your version

2.0.4

24 May 2024Where it was published

2.2.10 is the newest release of 2.x.

In short

1 deprecated5 fixed1 changed

  • Deprecated

    Mark SwitchGroup as deprecated, prefer Field instead

Release note

Fixed

  • Don’t set a focus fallback for Dialog’s in demo mode

  • Ensure page doesn't scroll down when pressing Escape to close the Dialog component

  • Fix crash when toggling between virtual and non-virtual mode in Combobox component

  • Ensure tabbing to a portalled PopoverPanel component moves focus inside (without using PortalGroup)

  • Only handle form reset when defaultValue is used

Deprecated

  • Deprecated

    Mark SwitchGroup as deprecated, prefer Field instead

Changed

  • Use native fieldset instead of div by default for Fieldset component

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.