Fork me on GitHub

Staggered

A outrageously simple React library for staggering in elements. Refresh this page to see it in action!

NPM JavaScript Style Guide

Install

npm install --save staggered

Usage

import React from 'react'

import { StaggerWrapper, Stagger } from 'staggered'

const Example  = () => <StaggerWrapper>
  <Stagger staggerId='title'>
    <h1>Title</h1>
  </Stagger>
  <Stagger staggerId='content'>
    <p>
      "..."
    </p>
  </Stagger>
</StaggerWraper>

License