Blur Fade

Motion

A React reveal wrapper that fades, unblurs and lifts its children into place when they scroll into view, with delay, duration, direction and once props for staggered lists.

src/registry/premium/blur-fade.tsx/r/blur-fade.json

Installation#

bash
npx shadcn@latest add @minidev/blur-fade

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/blur-fade.json

Usage#

tsx
import { BlurFade } from "@/components/ui/blur-fade"

export function Example() {
  return <BlurFade />
}

API reference#

BlurFade props
PropTypeDefault
childrenReact.ReactNode-
delaynumber0
durationnumber0.5
direction"up" | "down" | "left" | "right" | "none""up"
offsetnumber16
blurnumber8
oncebooleantrue
amountnumber0.3
classNamestring-

Dependencies#

npm

lucide-reactmotion

Built from

No other MiniDev files
All Animated React components