← All components
Surfaces / effect

Gradual Blur

Progressive blur along an edge, with layered masks that keep the transition soft.

PLAYGROUND
Live preview
Preparing preview…

Take it with you.

SOURCE ACCESS

Preview freely. Unlock the files.

Enter the shared password to copy the complete source, download every file, and install components in your app.

Access lasts 24 hours. Your preview settings stay with you.

Component notes

  • Place the overlay inside a position:relative container. It decorates existing content and does not provide content of its own.
  • The included Demo.tsx and shared/demo.css recreate the complete preview. Import the main component to compose your own design.
React 19CSSCSS backdrop-filter and mask-image

React Bits · MIT with Commons Clause. Used with explicit project permission; see bundled notice.

Props

PropTypeDefaultDescription
positiontop|bottom|left|rightbottomEdge
strengthnumber2Blur strength
heightCSS dimension6remEdge depth
widthCSS dimension100%Optional width override.
divCountnumber5Blur layers
exponentialbooleanfalseExponential blur
opacitynumber1Opacity
curvelinear|bezier|ease-in|ease-out|ease-in-outlinearCurve
targetparent|pageparentPosition relative to the parent or fixed to the page.
zIndexnumber10Stacking order of the decorative overlay.
classNamestringAdditional classes for the outer element.
styleCSSPropertiesundefinedAdditional outer styles.