Cards on a curved ribbon in CSS 3D. Drag or flick sideways and it snaps to the nearest card with a spring, use the arrow keys or buttons, or click a side card to bring it to the middle. It loops by default, can bend away from you (convex) or wrap around you (concave), and only draws the cards near the middle. Optional autoplay runs only while on screen and pauses on hover, focus and hidden tabs, and announcements are turned off while it plays. With reduced motion it becomes a flat scroll-snap row. With layout="stack" the cards become a deck where deeper cards step back, tilt slightly and dim, and the top card swings to the back on drag, flick or arrow keys.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/ribbon-carousel.json"