DocumentationPixelated Carousel

Pixelated Carousel

An image carousel with a unique pixelated transition effect. Images dissolve into pixels and reassemble for the next slide.

pixelated carouselpixelated carousel

Install using CLI

npx shadcn@latest add "https://obsidianui.dev/r/pixelated-carousel.json"

Install Manually

1

Install dependencies

npm install framer-motion
2

Copy the source code

Copy into components/ui/pixelated-carousel.tsx

Note: Install via CLI for the full pixelation algorithm implementation.

Props

Prop NameTypeDefaultDescription
imagesstring[]-Array of image URLs
pixelSizenumber100Size of pixels in transition
animationDelayStepnumber0.02Delay between pixel animations
pixelTransitionDurationnumber0.1Duration of each pixel transition