Progressive Blur
Layered backdrop blur that softens the edge of scrollable content — place it inside a relative overflow container and pick top, bottom, or both.
Default
Bottom-edge fade over a scrollable list — position="bottom" and height="40%".
Loading…
Installation
CLI
Usage
page.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | - | Extra classes on the blur overlay container. |
| height | string | "30%" | Height of the blur band when position is top or bottom. |
| position | "top" · "bottom" · "both" | "bottom" | Which edge(s) receive the progressive blur. |
| blurLevels | number[] | [0.5, 1, 2, 4, 8, 16, 32, 64] | Blur radii in px for each stacked layer. |
| children | React.ReactNode | - | Optional content rendered inside the blur overlay. |