5cfbb4b5e5
* fix(tabs): wrong tab focus when Tab contains a Dialog * refactor(focus-trap): rename variable and move logic * test(tabs): improve test by asserting the active element * ensure `FocusTrap` is not active when `enabled = false` * fix: move the enabled check to unmounting * refactor to `useOnUnmount` hook This will allow us to make the code relatively similar between React and Vue. * update changelog --------- Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
@headlessui/react
A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.
Installation
npm install @headlessui/react
Documentation
For full documentation, visit headlessui.dev.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using the library: