2.4.0 • Published 3 years ago

react-css-animation-group v2.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

react-css-animation-group

Use CSS Animations when a React component enters or leaves the DOM.

Based on react-transition-group.

Usage

Example

<CSSAnimationGroup
  enterAnimation="bounceIn"
  enterDuration="200ms"
  enterTimingFunction="ease"
  exitAnimation="fadeOut"
  exitDuration="150ms"
  exitTimingFunction="linear"
>
  {children}
</CSSAnimationGroup>

Properties

  • enterAnimation enter animation name
  • enterDelay enter animation delay
  • enterDirection enter animation direction
  • enterDuration enter animation duration
  • enterFillMode enter animation fill mode
  • enterIterationCount enter animation iteration count
  • enterTimingFunction enter animation timing function
  • exitAnimation leave animation name
  • exitDelay leave animation delay
  • exitDirection leave animation direction
  • exitDuration leave animation duration
  • exitFillMode leave animation fill mode
  • exitIterationCount leave animation iteration count
  • exitTimingFunction leave animation timing function

Any additional properties will be passed down to TransitionGroup.

Browser support

Works on browsers with CSS Animation support, otherwise will gracefully degrade.

2.4.0

3 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

5 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago