Motion-Primitives Pro is live - Advanced components and templates to help you build delightful websites, faster.

Progressive blur

A Progressive Blur component creates a layered blur effect using motion and gradient masks. It progressively blurs layers based on direction and intensity, adding visual depth.

Examples

Progressive blur basic

Benjamin Spiers - Moonlight 2023

Benjamin Spiers

Moonlight 2023

Oil on linen. 40cm by 30cm

Progressive blur with hover

John Martin - Pandemonium

John Martin

Pandemonium

Progressive blur with slider and different directions

You can change the direction of the blur effect with the direction prop.

1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9

Installation

npx shadcn add "https://motion-primitives.com/c/progressive-blur.json"

Component API

ProgressiveBlur

PropTypeDefaultDescription
direction'top' | 'right' | 'bottom' | 'left''top'The direction of the blur effect.
blurLayersnumber8The number of blur layers.
classNamestring''The class name to apply to the component.
blurIntensitynumber0.25The intensity of the blur effect.