Name Last Update
..
CSSTransition Loading commit data...
ReplaceTransition Loading commit data...
SwitchTransition Loading commit data...
Transition Loading commit data...
TransitionGroup Loading commit data...
TransitionGroupContext Loading commit data...
cjs Loading commit data...
config Loading commit data...
dist Loading commit data...
esm Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
package.json Loading commit data...

README.md

react-transition-group npm

ATTENTION! To address many issues that have come up over the years, the API in v2 and above is not backwards compatible with the original <code>React addon (v1-stable)</code>.

For a drop-in replacement for react-addons-transition-group and react-addons-css-transition-group, use the v1 release. Documentation and code for that release are available on the <code>v1-stable</code> branch.

We are no longer updating the v1 codebase, please upgrade to the latest version when possible

A set of components for managing component states (including mounting and unmounting) over time, specifically designed with animation in mind.

Documentation

TypeScript

TypeScript definitions are published via <strong>DefinitelyTyped</strong> and can be installed via the following command:

npm install @types/react-transition-group

Examples

Clone the repo first:

git@github.com:reactjs/react-transition-group.git

Then run npm install (or yarn), and finally npm run storybook to start a storybook instance that you can navigate to in your browser to see the examples.