@headlessui/react
2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed
1.7.19 is the newest release of 1.x.
In short
1 new3 fixed
Release note
Added
Introduce Open/Closed state, to simplify component communication
Fixes
Improve SSR for
DialogDelay focus trap initialization
Improve incorrect behaviour for nesting
Dialogcomponents
The Open/Closed state unlocks a feature where all our components can interact with each other. This means that you don't need to use the render prop function, and that you also don't need the static prop anymore for transitions. Here is an example in the docs that explains this: headlessui.dev/react/menu
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.