Post carousel

widgetsFreeMIT

A post with pictures to swipe through: the one in view swings out and tucks in behind while the next comes forward.

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

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • post-carousel.tsx
  • use-carousel-engine.ts
  • use-reduced-motion.ts