Phone Stack Carousel
A phone in the middle of a row of cards. Drag, scroll or click a card and the row slides on a spring while the phone screen wipes to the next slide through a wobbling circle. Side cards shrink, tuck under each other and darken with distance, and videos play on the phone and on the cards. Device finish, card shape, spring feel, wipe style and background are all props.
npx shadcn@latest add @compronents/phone-stack-carouselInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
Checking access…
| Prop | Type | Default | Description |
|---|---|---|---|
| items | PhoneStackSlide[] | — | Slides as { image?, video?, title?, link? }. A video wins over an image. Defaults to eight hosted slides. |
| start | number | 0 | Index shown first. |
| device | { size, finish, screen, statusBar, clock, homeBar, glare } | — | Phone height as a percentage of the box (50 to 96), finish (obsidian, graphite, ink, silver), screen colour and chrome toggles. Defaults to ink with no status bar. |
| cards | { width, height, radius, overlap, depth, dim, span, sideVideo, edgeFade, newTab } | — | Side card size relative to the phone, corner radius, how far cards tuck under each other, scale lost and darkening per step, cards per side, and whether side videos play. |
| motion | { autoplay, interval, hoverPause, wheel, feel, morph, lean, intro } | — | Autoplay timing, wheel axis, spring feel (silk, brisk, drift), wipe style (liquid or iris), lean in degrees and the fan-out intro. |
| surface | { background, grid, gridColor, halo } | — | Background colour, an optional grid and a halo colour behind the phone. Background defaults to #FFFFFF. |
| indicator | { show, color, active } | — | Dot indicator under the stack. Off by default. |
| className | string | — | Class on the root. |
| style | CSSProperties | — | Additional styles for the root. |
None.




