4.0.14 • Published 1 year ago
baby-i-am-faded v4.0.14
Features
- 🏷 TypeScript support - It is written in TypeScript to make it easier and faster to use the library
- 🍃 Lightweight - Very little footprint on your project and no other dependencies required
- ⚙️ Uses native APIs - Intersection Observer and CSS Animations are now supported by all major browsers
- 🚀 Fast - Buttery smooth experience thanks to the use of native asynchronous APIs and hardware acceleration
- 🌳 Tree-shakeable - Only the parts you use will be included in your final bundle
Demo
You can find a demo website here.
Install
yarn add baby-i-am-faded @emotion/core
Usage
import { Faded } from 'baby-i-am-faded'
export const App = () => (
<Faded damping={0.8}>
<Placeholder />
<Placeholder />
<Placeholder />
<Placeholder />
</Faded>
)
With other animation
import { wobble } from 'baby-i-am-faded/esm/animations' // here are all the animate.css animaitons
export const WithWobble = () => (
<Faded animation={wobble}>
<Placeholder />
<Placeholder />
<Placeholder />
<Placeholder />
</Faded>
)
With custom animation
import { keyframes } from '@emotion/core'
const fadeInUp = keyframes`
from {
opacity: 0;
transform: translate3d(0px, -20px, 0px);
}
to {
opacity: 1;
transform: 'none';
}
`
export const WithWobble = () => (
<Faded animation={fadeInUp}>
<Placeholder />
<Placeholder />
<Placeholder />
<Placeholder />
</Faded>
)
4.0.14
1 year ago
4.0.13
2 years ago
4.0.12
2 years ago
4.0.11
2 years ago
4.0.9
2 years ago
4.0.8
2 years ago
4.0.5
2 years ago
4.0.4
3 years ago
4.0.10
2 years ago
4.0.7
2 years ago
4.0.6
2 years ago
4.0.1
3 years ago
4.0.3
3 years ago
4.0.2
3 years ago
3.0.3
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
2.0.1
3 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
0.0.14
4 years ago
0.0.13
4 years ago
0.0.12
4 years ago
0.0.10
4 years ago
0.0.11
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago