/ Animation

React component for the expanding and collapsing of the blocks

React component for the expanding and collapsing of the blocks

AnimakitExpander

React component for the expanding and collapsing of the blocks. Supports both vertical and horizontal mode.

Live Demo

https://animakit.github.io/#/

Usage

<Title onClick={toggle} />
<AnimakitExpander expanded={this.state.expanded}>
  <Text />
</AnimakitExpander>

GitHub