Command Palette
Search for a command to run

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

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"

Random stock image 1
Random stock image 2
Random stock image 3
Random stock image 4
Random stock image 5
Random stock image 6
Random stock image 7
Random stock image 8
Random stock image 9

Props

BlurFade

A component for creating blur and fade animations.

NameTypeDefaultDescription
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