Progressive Blur Overlay
Progressive Blur Overlay é um componente de efeito para React e Tailwind CSS, da biblioteca Motion Primitives, com licença MIT. Copia e cola no teu projeto.
Motion Primitives
MIT
effects
O que é
Progressive Blur Overlay é um componente de efeito para React e Tailwind CSS, da biblioteca Motion Primitives, com licença MIT. Copia e cola no teu projeto.
Como usar
Abre o componente no catálogo, carrega em copiar, e cola no teu projeto. O prompt copiado leva o código e as regras para o teu agente o reproduzir sem alterar nada.
Cinco cópias grátis por mês. Sem cartão.
Não precisa de pacotes além do que o projeto já tem
Licença
Este componente vem de Motion Primitives e é redistribuído sob a licença MIT, que permite uso comercial. O aviso de copyright viaja com o código.
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>
);
}