Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vineyardbovines/styled-components-animations

a whole bunch of keyframe animations using styled-components
https://github.com/vineyardbovines/styled-components-animations

animation keyframes styled-components

Last synced: 9 days ago
JSON representation

a whole bunch of keyframe animations using styled-components

Awesome Lists containing this project

README

        

# styled-components-animations

a whole bunch of keyframes for different animations / transitions.

## usage

```
yarn add styled-components-animations
```

```
import styled from 'styled-components'
import { rotate } from 'styled-components-animations'

const Loader = styled.div`
animation: ${rotate} infinite 1s linear;
`
```

## api

available keyframes:

- rotate
- flash
- shake
- bounce
- tada
- swing
- wobble
- wiggle
- pulse
- flip
- flipInX
- flipOutX
- flipInY
- flipOutY
- fadeIn
- fadeInUp
- fadeInDown
- fadeInLeft
- fadeInRight
- fadeOut
- fadeOutUp
- fadeOutDown
- fadeOutLeft
- fadeOutRight
- bounceIn
- bounceInUp
- bounceInDown
- bounceInLeft
- bounceInRight
- easeInLeft
- easeOutLeft
- easeInRight
- easeOutRight
- bounceOut
- bounceOutDown
- bounceOutUp
- bounceOutLeft
- bounceOutRight
- scaleIn
- scaleOut
- rotateIn
- rotateOut
- lightspeedIn
- lightspeedOut
- hingeLeft
- hingeRight
- rollIn
- rollOut
- dropDown
- dropUp

---

init'd with [golf](https://github.com/gretzky/golf)

```

```