Files
headlessui/packages/@headlessui-react
Robin Malfait 7509124e56 Apply enter and enterFrom classes in SSR for Transition component (#2059)
* apply `enter` and `enterFrom` classes in SSR

This only happens on the server when `show=true` and `appear=true`. This
will guarantee that the `class` is already set to the correct value
before the transition happens.

It worked before if you moved your classes from `enterFrom` to
`className` because that prop was SSR'd.

* update changelog
2022-12-02 16:00:44 +01:00
..
2022-01-31 00:10:06 +01:00
2022-11-03 16:21:15 +01:00
2022-03-09 11:24:45 +01:00

@headlessui/react

A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.

Total Downloads Latest Release License

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:

Discuss Headless UI on GitHub

For casual chit-chat with others using the library:

Join the Tailwind CSS Discord Server