# react-transition-group

> A react component toolset for managing animations

Latest version **4.4.5** (published 2022-08-01) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install react-transition-group
pnpm add react-transition-group
yarn add react-transition-group
bun add react-transition-group
```

## Health

**Score 38/100 (D)** — status: abandoned.

Positive: has types package; esm support; no vulnerabilities; popular repo.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.4.5 |
| Published | 2022-08-01 |
| First published | 2016-12-09 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/react-transition-group) |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 238.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10216 |
| Maintainers | koba04, monastic.panic, eps1lon |
| Keywords | react, transition, addons, transition-group, animation, css, transitions |

## Links

- npm: https://www.npmjs.com/package/react-transition-group
- Repository: https://github.com/reactjs/react-transition-group
- Homepage: https://github.com/reactjs/react-transition-group#readme
- Issues: https://github.com/reactjs/react-transition-group/issues
- npm.io page: https://npm.io/package/react-transition-group

## Dependencies (4)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [dom-helpers](https://npm.io/package/dom-helpers.md) ^5.0.1
- [loose-envify](https://npm.io/package/loose-envify.md) ^1.4.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.5.5

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 4.4.5 (latest) — 2022-08-01
- 2.3.0-beta.0 (next) — 2017-10-09
- 4.4.4 — 2022-07-30
- 4.4.3 — 2022-07-30
- 4.4.2 — 2021-05-29
- 4.4.1 — 2020-05-06
- 4.4.0 — 2020-05-05
- 4.3.0 — 2019-09-05
- 4.2.2 — 2019-08-02
- 4.2.1 — 2019-07-02
- 4.2.0 — 2019-06-28
- 4.1.1 — 2019-06-10
- 4.1.0 — 2019-05-30
- 4.0.1 — 2019-05-09
- 4.0.0 — 2019-04-16
- … 29 more at https://npm.io/package/react-transition-group/versions

## 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 possible

A 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:

```
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.

[npm-badge]: https://img.shields.io/npm/v/react-transition-group.svg
[npm]: https://www.npmjs.org/package/react-transition-group

---
_Source: https://npm.io/package/react-transition-group · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
