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
classNameover the edge you want to blur. directionis the side where the blur is strongest:"bottom"(default),"top","left"or"right".- More
blurLayersgive a smoother fade but cost more to render.blurIntensitysets 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, checkuseReducedMotion()frommotion/reactyourself.
Props
Examples
List Fade
A content list with a progressive blur fade at the bottom, hinting that more items exist below.
Gallery Edge Blur
A horizontal row of cards with blur on both the left and right edges, indicating overflow.
Navigation Overflow
A horizontal nav bar with a right-edge blur that signals more items are hidden off-screen.