Desktop optimized

Please maximize your browser window or use a larger screen to explore the component library.

Go to home

Depth Carousel

A high-performance WebGL coverflow carousel. Unites physics-based GSAP scroll tracking with custom GLSL shaders to provide flawless SDF corner rounding, internal parallax windowing, and kinetic RGB splitting.

Last Modified:Aug 17, 2026

Install

CLI

depth-carousel
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/depth-carousel.json

Or install a specific demo variant:

depth-carousel-demo
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/depth-carousel-demo.json

Manual

1. Install Dependencies

Dependencies
$pnpm add three @react-three/fiber @react-three/drei gsap @gsap/react clsx tailwind-merge

2. Add Source Code

Props

PropTypeDefaultDescription
imagesstring[]RequiredArray of image URLs to load into the deck.
cardWidthRationumber0.35Percentage of screen width the card occupies on desktop.
cardAspectRationumber1.4Width-to-height ratio of the cards.
gapMultipliernumber0.7Base multiplier for the curved background spread.
activeGapMultipliernumber0.25The exact buffer pushed around the active center card.
scrollSensitivitynumber0.003How heavily the scroll wheel affects movement.
lerpFactornumber0.06How buttery smooth the momentum is.
depthMultipliernumber0.25How deeply background cards push into the Z-axis.
scaleMultipliernumber0.15How much background cards scale down.
rotationMultipliernumber0.1The subtle inward tilt of background cards.
parallaxIntensitynumber0.08Internal image sliding effect.
dimmingMultipliernumber0.85How much background cards darken.
chromaticAberrationIntensitynumber0.01Kinetic RGB split on scroll.
cornerRadiusnumber0.03SDF corner radius value.
shadowOpacitynumber0.6Intensity of the grounded contact shadow.