Installnpx shadcn@latest add https://motion-lexicon.pages.dev/r/primitive-3d-tilt-flip.json
- Purpose
- Use controlled perspective for card faces or subtle pointer-driven depth.
- Trigger
- Trigger from an explicit flip action or fine-pointer hover, with tap toggling on touch devices.
- Interruptibility
- Retarget from the current angle and keep face visibility synchronized when operated again.
- Reduced motion
- Use an immediate face switch or short crossfade with 3D rotation and perspective travel removed.
3d-tilt-flip3D tilt / FlipRotation around the X or Y axis creates a plane-turning effect within a perspective scene.