Skip to content
Premium & Brand

Progressive Blur

Server Component

A stacked backdrop-blur that fades content out toward an edge.

Import

tsx
import { ProgressiveBlur } from "@cronus-ui/ui";
bash
npx cronus-ui add progressive-blur

Examples

.cronus

The same component declared in Cronus. Emitted at build time from the audit fixtures — the kernel renders it as HTML with no React.

PortedParity: MatchGeometry 1/1Pixel diff 0 pxLogic 1/1Parity scoreboard
default.cronus
app "audit-fixtures" {
  port 5176
}

style {
  preset aurora
  theme dark
}

component ProgressiveBlurDefault layout:inline style:progressive-blur {
  label "Blur"
}

page "/audit/progressive-blur/default" type:custom {
  use ProgressiveBlurDefault
}

API Reference

Generated from the component's exported types.

ProgressiveBlurProps

Extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressiveBlurVariants>

Skip ProgressiveBlurProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>—Ref forwarded to the underlying DOM node.
height
string"6rem"Height of the blur band.
side
"top" | "bottom""bottom"One of "top" | "bottom".
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.
id
string—DOM id of the root element.