@infinityfx/lively
Version:
Feature complete, lightweight react animation library.
34 lines (24 loc) • 1.22 kB
Markdown
# Lively
[](https://www.npmjs.com/package/@infinityfx/lively)
[](https://bundlephobia.com/package/@infinityfx/lively)
[](https://github.com/infinityfx-llc/lively)


Feature complete, lightweight react animation library. Lively lets u create complex animations without the hassle.
# Get started
## Documentation
Visit [infinityfx.dev/lively](https://infinityfx.dev/lively) for the complete documentation.
## Installation
```sh
$ npm i @infinityfx/lively
```
## Usage
```jsx
import { Animatable } from '@infinityfx/lively';
...
<Animatable animate={{ opacity: [0, 1] }} triggers={[{ on: 'mount' }]}>
<div class="my-class">
Lorem ipsum enim amet consequat ut reprehenderit cupidatat et incididunt qui minim culpa. Dolor do laborum nulla pariatur tempor excepteur duis et ipsum.
</div>
</Animatable>
```