Installation
- Tab Title
- Tab Title
Usage
Props
The content to animate.
Additional CSS classes to apply to the wrapper div.
Custom animation variant with
hidden and visible states. Each state should define a y position value.Duration of the animation in seconds.
Delay before the animation starts in seconds. An additional 0.04s is automatically added.
Distance in pixels the content moves during animation.
Direction from which the content animates in.
When true, the animation only triggers when the element enters the viewport.
Root margin for the intersection observer. Accepts CSS margin values.
Initial blur amount applied during the hidden state.
Examples
Different Directions
With Intersection Observer
Staggered Animation
Custom Blur Amount
Custom Variant
Features
- Smooth blur and fade animations
- Four directional options (up, down, left, right)
- Intersection observer support for scroll-triggered animations
- Customizable blur amount and duration
- Perfect for staggered list animations
- Accessible with proper semantic HTML