Card swipe

surfacesFreeMIT

Cards that turn away like pages when you swipe, drag or use the arrows.

Adapted from Watermelon UI (MIT) and rewritten with keyboard support, labels and reduced motion.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/card-swipe.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • card-swipe.tsx