7e150e408c
* update dialog playground example Includes a generic `Button` component that has explicit focus styles. * keep track of "focus" history Safari doesn't "focus" buttons when you mousedown on them. This means that we don't capture the correct element to restore focus to when closing a `Dialog` for example. Now, we will make sure to keep track of a list of last "focused" items. We do this by also capturing elements when you "click", "mousedown" or "focus". * let's use a button instead of a div in tests * make `target` for Vue consistent with React * update changelog
@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: