pnpm dlx shadcn@latest add https://ui.saturation.io/r/blur-fade.jsonTailwind v4 — Source Scanning
Saturation UI copies component source into your project via the shadcn registry (no npm package). If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:
@source "../components";This ensures all utility classes in CVA variants and data attribute selectors are included in your build.
import { BlurFade } from "@/components/ui/blur-fade"<BlurFade delay={0.2} inView>
<p>This content fades in with a blur effect.</p>
</BlurFade>| Prop | Type | Default | Description |
|---|---|---|---|
duration | number | 0.4 | Animation duration in seconds. |
delay | number | 0 | Delay before animation starts. |
offset | number | 6 | Pixel offset for the slide. |
direction | "up" | "down" | "left" | "right" | "down" | Slide direction. |
inView | boolean | false | Trigger when scrolled into view. |
inViewMargin | string | "-50px" | Margin for in-view detection. |
blur | string | "6px" | Blur amount during animation. |
On This Page
Content fades in with a blur effect