Skip to content
Skip to Content
DocsPixelated Carousel
Pixelated Carousel

Pixelated Carousel

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

Component preview
pixelated carouselpixelated carousel

Install using CLI

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

Install Manually

1

Install dependencies

npm install motion
2

Copy the source code

Copy into components/block/pixelated-carousel.tsx

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

Props

PropTypeDefaultDescription
imagesstring[]-Array of image URLs
pixelSizenumber100Size of pixels in transition
animationDelayStepnumber0.02Delay between pixel animations
pixelTransitionDurationnumber0.1Duration of each pixel transition
Last updated on