animista-react

1.0.0 • Public • Published

CSS Magic

React Css Library based on Animista.

Demo

  • Clone the repo
  • npm install
  • run npm start

Installing

Install from npm with

npm i css-magic

Deployment

Using the components is easy

import { Attention, Background, Basic, Entrances, Exits, Text } from "css-magic";

...
render(){
    return (<Attention.Vibrate.Vibrate1 />)
}

Alternatively,

import Blink1 from "css-magic/src/components/generated/Attention/Blink/Blink1";

...
render(){
    return (<Blink1 />)
}

Props

className:PropTypes.string, // Arbitrary ClassName for css selectors
delay:PropTypes.number, // Second deplay before animation starts
duration:PropTypes.number, // Second for Animation duration
loop:PropTypes.oneOfType([PropTypes.string,PropTypes.number]), // Number of times animation repeates itself
    Infinity as a string for it to continue indefinitely
direction:PropTypes.oneOf(["normal","reverse"]), // The direction of the animation
easing:PropTypes.string // How the animation alters over time

Versioning

Version 1.0.0 No expectations for updates (unless large demand to do so)

Authors

  • Robert Bebber - He's a cool dude

Acknowledgments

  • Thanks for the developers over at Animista otherwise none of this would be possible

Readme

Keywords

none

Package Sidebar

Install

npm i animista-react

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.58 MB

Total Files

749

Last publish

Collaborators

  • robertlbebber