Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johan-dutoit/react-native-stagger-in

Staggered views made simple
https://github.com/johan-dutoit/react-native-stagger-in

animation animations react-native

Last synced: about 1 month ago
JSON representation

Staggered views made simple

Awesome Lists containing this project

README

        

# react-native-stagger-in

Staggered views made simple

[![NPM Version](https://img.shields.io/npm/v/react-native-stagger-in.svg?style=flat)](https://www.npmjs.com/package/react-native-stagger-in)
[![NPM Downloads](https://img.shields.io/npm/dm/react-native-stagger-in.svg?style=flat)](https://www.npmjs.com/package/react-native-stagger-in)

## Quick Access
* Installation
* Preview
* Expo
* Usage
* Properties
* Contributing

## Installation
Install the module with:

```
npm install react-native-stagger-in --save
```

## Preview

![](https://github.com/Johan-dutoit/react-native-stagger-in/blob/master/preview.gif)

## Expo

You can find the Expo snack here: https://snack.expo.io/@johan-dev/staggerin

## Usage
Simply import the component

```js
import StaggerIn from 'react-native-stagger-in';
```

Then use as follows
```js

View 1
View 2

```

###### Top

## Properties

| Prop | Description | Default |
|---|---|---|
|**`duration`**|The duration each view takes to load in|`300`|
|**`staggerDelay`**|The delay between each animation|`200`|
|**`useNativeDriver`**|Use the native drive for the animations|`true`|

###### Top

## Contributing
Feel free to do pull requests if a certain feature you want is missing. We accept all PR's that are enhancements to the project.

###### Top