pnpm dlx shadcn@latest add https://ui.saturation.io/r/progressive-blur.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 { ProgressiveBlur } from "@/components/ui/progressive-blur"<ProgressiveBlur
className="pointer-events-none absolute inset-0"
direction="bottom"
blurIntensity={0.5}
/>| Prop | Type | Default | Description |
|---|---|---|---|
direction | 'top' | 'right' | 'bottom' | 'left' | 'bottom' | Blur gradient orientation. |
blurLayers | number | 8 | Number of blur layers (minimum 2 for smooth gradient). |
blurIntensity | number | 0.25 | Blur intensity multiplier per layer (in pixels). |
className | string | — | Additional CSS classes. |
...props | HTMLMotionProps | — | All Framer Motion div props (animate, variants, etc.). |
Mountain Vista
A progressive blur effectMountain Vista
Hover to revealtop
right
bottom
left
Low (0.5)
High (1.0)