Pixel Background
A flexible pixel animation background with customizable origins and smooth atmospheric motion.
Loading...
Installation
npx shadcn@latest add @scrollxui/pixel-background Usage
import PixelBackground from '@/components/ui/pixel-background';<PixelBackground className='relative h-100 w-full flex flex-col items-center justify-center'>
<h2 className='bg-clip-text text-transparent text-center bg-linear-to-b from-neutral-900 to-neutral-700 dark:from-neutral-600 dark:to-white text-2xl md:text-4xl lg:text-7xl font-sans py-2 md:py-10 relative z-20 font-bold tracking-tight'>
Pixel Animation, <br /> Background.
</h2>
</PixelBackground>Examples
Direction
Loading...
API Reference
Pixel Background
A flexible pixel animation background with customizable origins and smooth atmospheric motion.