cnippet/ui
  1. motion
  2. scroll animations
  3. progressive blur

scroll animations

Progressive Blur

A layered backdrop-blur overlay that fades content at the edges of a container — useful for overflow hints, content fades, and scroll masks.

Installation

Usage

Anatomy

Good to know

  • It's an overlay with no size or position of its own. Place it with className over the edge you want to blur.
  • direction is the side where the blur is strongest: "bottom" (default), "top", "left" or "right".
  • More blurLayers give a smoother fade but cost more to render. blurIntensity sets the strength.
  • It has pointer-events-none, so the content underneath stays clickable.
  • It does not animate by itself, so reduced motion makes no difference. If you pass Motion props such as animate, check useReducedMotion() from motion/react yourself.

Props

Examples

List Fade

A content list with a progressive blur fade at the bottom, hinting that more items exist below.

A horizontal row of cards with blur on both the left and right edges, indicating overflow.

A horizontal nav bar with a right-edge blur that signals more items are hidden off-screen.