Getting Started
Components
- Animated Beam
- Animated Circular Progress Bar
- Animated Gradient Text
- Animated Grid Pattern
- Animated List
- Animated Shiny Text
- Animated Theme Toggler
- Aurora Text
- Avatar Circles
- Bento Grid New
- Blur Fade
- Border Beam
- Cool Mode
- Dither Shader New
- Dock New
- Dot Pattern
- Dotted Map New
- File Tree
- Flickering Grid
- Grid Pattern
- Hero Video Dialog
- Hyper Text New
- Icon Cloud New
- Interactive Hover Button
- Lens New
- Light Rays New
- Line Shadow Text New
- Magic Card New
- Marquee
- Meteors New
- Morphing Text New
- Motion Grid New
- Neon Gradient Card New
- Number Ticker
- Orbiting Circles New
- Pixel Image New
- Pointer New
- Progressive Blur New
- Pulsating Button
- Rainbow Button
- Retro Grid New
- Ripple
- Ripple Button
- Scroll Progress
- Shimmer Button
- Shine Border New
- Smooth Cursor New
- Striped Pattern New
- Text Animate
- Typing Animation
- Video Text
- Warp Background
- Word Rotate Beta
Blur Fade
A component that animates content with blur and fade effects, supporting directional movement and intersection observer triggering.
motion-sv
Welcome to BlurFade
Beautiful blur and fade animations for your content
Installation
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/blur-fade.json
Install dependencies
Install the required packages for this component:
pnpm add motion-sv
Copy the Source Code
Copy and paste the following code into your project:
blur-fade.svelte
index.ts
Folder Structure
Folder Structure
Examples
Basic Usage
Welcome to BlurFade
Beautiful blur and fade animations for your content
Custom Blur Amount
Light Blur
blur="2px"
Medium Blur
blur="6px" (default)
Heavy Blur
blur="12px"
Image Gallery
Props
BlurFade
A component for creating blur and fade animations.
| Name | Type | Default | Description |
|---|---|---|---|
children | Snippet | - | The content to animate |
class | string | "" | Additional CSS classes to apply |
variant | Variants | - | Custom animation variants |
duration | number | 0.4 | Animation duration in seconds |
delay | number | 0 | Animation delay in seconds |
offset | number | 6 | Movement offset in pixels |
direction | "up" | "down" | "left" | "right" | "down" | Animation direction |
inView | boolean | false | Whether to trigger animation on intersection |
inViewMargin | string | "-50px" | Intersection observer margin |
blur | string | "6px" | Blur amount |