Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reactjs/react-transition-group
An easy way to perform animations when a React component enters or leaves the DOM
https://github.com/reactjs/react-transition-group
Last synced: 6 days ago
JSON representation
An easy way to perform animations when a React component enters or leaves the DOM
- Host: GitHub
- URL: https://github.com/reactjs/react-transition-group
- Owner: reactjs
- License: other
- Created: 2016-11-20T19:29:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T10:40:57.000Z (26 days ago)
- Last Synced: 2025-01-06T11:13:28.570Z (13 days ago)
- Language: JavaScript
- Homepage: https://reactcommunity.org/react-transition-group/
- Size: 9.7 MB
- Stars: 10,205
- Watchers: 83
- Forks: 651
- Open Issues: 241
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - react-transition-group
- awesome-list - react-transition-group
README
# react-transition-group [![npm][npm-badge]][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 [`React addon (v1-stable)`](https://github.com/reactjs/react-transition-group/tree/v1-stable).
>
> **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 [`v1-stable`](https://github.com/reactjs/react-transition-group/tree/v1-stable) branch.**
>
> We are no longer updating the v1 codebase, please upgrade to the latest version when possibleA set of components for managing component states (including mounting and unmounting) over time, specifically designed with animation in mind.
## Documentation
- [**Main documentation**](https://reactcommunity.org/react-transition-group/)
- [Migration guide from v1](/Migration.md)## TypeScript
TypeScript definitions are published via [**DefinitelyTyped**](https://github.com/DefinitelyTyped/DefinitelyTyped) and can be installed via the following command:```
npm install @types/react-transition-group
```## Examples
Clone the repo first:
```
[email protected]: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.
[npm-badge]: https://img.shields.io/npm/v/react-transition-group.svg
[npm]: https://www.npmjs.org/package/react-transition-group