← shotcowboystyle All experiments
  1. Window Licker
  2. Liquid Glass Widgets
  3. Elastic Accordion
  4. Hold to Delete Button
  5. Morph Surface
  6. Siri Orb
  7. Split Button
  8. Staggered Text
  9. Gooey Cursor Highlight
  10. Stats Widget
  11. Infinity
  12. Carousel
  13. CSS-Only Toggle
  14. Cyclic Sentence Circle
  15. Electric Bento Grid
  16. Fanning Folder
  17. Immature Responsive Design
  18. Profile Card
  19. Bottom Sheet
Text Animations

Cool text animations for your projects.

Animations

Smooth animations for your projects.

Components

Reusable components for your projects.

Backgrounds

Beautiful backgrounds and patterns for your projects.

Common UI

Common UI components are coming soon!

Props
Experiments Carousel

Carousel

A drag-to-swipe carousel whose cards swing in 3D as they pass.

Drag a card sideways, or tap a dot, and the track springs to the next slide. Each card rotates on its Y axis as it leaves and arrives, so the row reads as a turning drum instead of a flat strip. Use the props panel to try autoplay, looping and a round variant.

How it works

The track’s x is a single motion value. Every card maps its own distance from the viewport through useTransform to a rotateY between 90° and -90°, so the swing is derived from the position rather than animated separately. A release past a velocity threshold advances one slide, and a spring (stiffness 300, damping 30) settles it.

Looping pads the list with a clone of the last item at the front and the first at the back. When the spring lands on a clone, the track jumps to the real slide with a zero-duration transition, and the seam is invisible.