Component packs › Paper › Curl Card

Curl Card

Drag the corner and the card folds along a real fold line, showing its actual back; let go past halfway and it turns over.

Curl Card is a card from Paper, a component pack with 7 components: Components that behave like real paper. Price: $2 for the whole pack.

Built with: true fold geometry, mirrored back face, spring turn.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Curl Card props

PropTypeDefaultDescription
frontCurlFace
backCurlFace & { rows?: [string, string][]; action?: string }
autoplaybooleanShowcase mode: peeks and turns by itself until touched.
onFlip(side: 'front' | 'back') => void
onAction() => void

Methods on the ref

Use it in React

import CurlCard from './CurlCard';

<CurlCard />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Paper

Good for: Micro-interactions.