Progressive Blur Overlay
Progressive Blur Overlay is a React and Tailwind CSS effect component from Motion Primitives, licensed MIT. Copy it and paste it into your project.
Motion Primitives
MIT
effects
What it is
Progressive Blur Overlay is a React and Tailwind CSS effect component from Motion Primitives, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Four free copies a week. No card.
No packages beyond the project baseline
Licence
This component comes from Motion Primitives and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Progressive Blur Overlay
import { InfiniteSlider } from '@/components/core/infinite-slider';
import { ProgressiveBlur } from '@/components/core/progressive-blur';
export function ProgressiveBlurSlider() {
return (
<div className='relative h-[350px] w-full overflow-hidden'>
<InfiniteSlider className='flex h-full w-full items-center'>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
1
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
2
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
3
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
4
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
5
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
6
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
7
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
8
</div>
<div className='w-32 text-center text-4xl font-[450] text-black dark:text-white'>
9
</div>
</InfiniteSlider>
<ProgressiveBlur
className='pointer-events-none absolute top-0 left-0 h-full w-[200px]'
direction='left'
blurIntensity={1}
/>
<ProgressiveBlur
className='pointer-events-none absolute top-0 right-0 h-full w-[200px]'
direction='right'
blurIntensity={1}
/>
</div>
);
}