Skip to content
h v3.13.3
Search the docs
Find a component, section or page.

Progressive blur

A backdrop blur that ramps up toward one edge, with no runtime.

Progressive blur

Installation

pnpm add @heyramzi/ui

Usage

import { ProgressiveBlur } from "@heyramzi/ui/effects/progressive-blur";

API reference

direction "top" | "right" | "bottom" | "left"
Default "bottom"
Edge the blur builds towards. Default `bottom`.
layers number
Default 8
Stacked masked layers. More layers, smoother ramp, more compositing.
intensity number
Default 0.25
Blur added per layer, in px.
class string
Prop Type Default
direction

Edge the blur builds towards. Default `bottom`.

"top" | "right" | "bottom" | "left" "bottom"
layers

Stacked masked layers. More layers, smoother ramp, more compositing.

number 8
intensity

Blur added per layer, in px.

number 0.25
class string