Back to components
ComponentEffectFree

Edge Fade Blur React component

A scroll area whose content melts away at the edges: a stack of backdrop blurs ramps up smoothly toward the top and bottom while the content fades out, and each edge only appears when there's more to scroll that way.

About the Edge Fade Blur component

Edge Fade Blur gives a scroll area soft edges. Instead of content being chopped off at the top and bottom, it gets progressively blurrier and fainter the closer it gets to the edge, like looking through frosted glass that thickens toward the frame.

The blur is built from several layers that each double the one before, so it ramps smoothly with no visible line. Each edge only shows when there's more to scroll that way, which quietly tells people there's more.

When to use it

Use it for changelogs, chat histories, feeds, long lists in side panels, lyrics or transcripts, and any fixed-height scroller on a polished page.

It works best over varied content like images and text; on a flat background the fade alone does most of the work.

Installation

Add the Edge Fade Blur component to your project with the shadcn CLI. It lands in components/edge-fade-blur.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/edge-fade-blur

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Effect components

Peel-off Sticker
Free
Pixel Dissolve Transition
Free
Chrome Liquid Logo
Free
Photo Trail Cursor
Free
Magnetic Field Lines
Free
Fluid Ink Cursor
Free