Search for a command to run...
navigate
A 12-layer backdrop-blur ramp with a theme-aware surface fade for scroll edges.
import { ProgressiveBlur } from "@delphi/ui/components/progressive-blur";
<div className="relative overflow-hidden">
<div className="overflow-y-auto">{/* scrolling content */}</div>
<ProgressiveBlur className="absolute inset-x-0 top-0 h-24" />
</div>;Typography
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Vectors
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Contrast
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Motion
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Typography
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Vectors
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Contrast
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
Motion
This card mixes crisp lettering, rounded geometry, and saturated color so every part of the progressive blur remains visible while scrolling.
| Prop | Type | Default | Description |
|---|---|---|---|
direction | "top" | "bottom" | "top" | Edge where the blur and surface fade are strongest. |
variant | "masked" | "cumulative" | "masked" | Rendering model. Use cumulative only for mask-hostile transformed surfaces. |
surfaceFade | "primary" | "secondary" | "none" | "primary" | Selects or omits the semantic surface-color fade. |
surfaceFadeTail | CSS length | 0 | Leaves a transparent region after the surface-color fade. |
blurExtent | CSS length string | "100%" | Sizes the blur independently from the surface fade. |
maxBlurRadius | number | 6 | Strongest blur at the anchored edge, in px. Masked variant only. |
blurHold | number | 0 | Fraction of the ramp, from the anchored edge, that stays at full strength. |
className | string | — | Positions and sizes the non-interactive overlay. |
The default ramp is 12 linearly spaced blur layers from 6px to 0px, with a sampling gutter equal
to maxBlurRadius, and a 17-stop smoothstep surface fade. blurHold keeps the strong end of
that ramp flat before it feathers. The fade reads the selected semantic surface token, so it
follows light mode, dark mode, and locally themed surfaces.
Place it after the scrolling content in DOM order so it paints above content without requiring a new z-index layer.
Use variant="cumulative" inside transformed mobile drawers where the browser drops masks from
backdrop-filter layers.
Use surfaceFade="none" when existing chrome intentionally allows the page color to show
through beneath the blur.
surfaceFade to the semantic surface behind the scrolling content.Add a separate gradient or backdrop-blur class. Select the component variants instead.