Skip to content

Animated List

Create dynamic, fluid scrolling lists with our easy-to-integrate Animated List component.

Alt text

Installation

  1. Install component
    Terminal window
    npm install @cascadeui/animated-list
  2. Add react-native-reanimated plugin into babel.config
    module.exports = {
    presets: [
    ... // don't add it here :)
    ],
    plugins: [
    ...
    'react-native-reanimated/plugin',
    ],
    };

Props

PropTypeDescription
dataarrayArray of objects(list items)
ItemStyleReact.ElementTypeReact component which defines the style of individual item
animationstringType of Animation .

Animations

  1. left-slide
  2. right-slide
  3. left-slide-spring
  4. right-slide-spring
  5. bottom-up
  6. bottom-up-spring