Atelier UI

Search components…

Search components…

Flip Card

3D flip card that turns on hover, focus or click, is keyboard accessible and cross-fades under reduced motion.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

FlipCardProps

Also accepts all props of Omit<React.ComponentProps<"button">, "children" | "onClick">

PropTypeDefaultDescription
front* requiredReact.ReactNode——
back* requiredReact.ReactNode——
labelstring"Flip card"Accessible name for the toggle button
frontClassNamestring——
backClassNamestring——

Install

$ npx shadcn@latest add https://chromotion.dev/r/flip-card.json

More like this