design-infraGitHub
Report a problem or share feedback← Catalog

Clerk: Card Stack

free

motion/clerk-card-stack

The verification step of a custom Clerk flow. Submitting the email stacks a one-time-code card up over the sign-in card, with AnimatePresence popLayout dimming the card behind it.

enter — mediumrecipeTechnicalOrganicRefined
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-clerk-card-stack

npm deps: motion

Clerk: Card Stack preview
Source
Motion (motion.dev)
Kind
transition
Categories
transition, card
Use as
recipe — technique you apply to your own markup
Applies to
card
Motion
on enter · medium · motion · medium cost
Tags
motion, AnimatePresence, MotionConfig, animate, variants
Licence
motion / motion/react / motion-v are MIT. Motion+ (premium components, example source, AI Kit pro tools) is paid — one-time Personal licence or per-seat Business.
Live demo
motion.dev
Docs
motion.dev