Usage

Warning

Install

yarn add component-river

Import

import River from 'component-river'

framer-motion is a peer dependency, you must install it if you do not already have it

!

Add a height and width to your containing element. The items are positioned absolutely (with overflow hidden!), so the container needs a width and height.