Component packs › Giftwrap › Unwrap Card

Unwrap Card

Pull the tab and the paper tears across along a ragged line, white core showing, and the halves fall away from the reward.

Unwrap Card is a reveal card from Giftwrap, a component pack with 6 gift controls: Reward and reveal controls made of printed paper, satin ribbon and a bow that ties itself. Price: $2 for the whole pack.

Built with: ragged tear with paper core, two-half separation, printed paper engine.

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.

Unwrap Card props

PropTypeDefaultDescription
fromstringSmall line above the title.
titlestring
notestring
openbooleanStart unwrapped.
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
onOpen() => void
autoplaynumber | falseShowcase mode: unwraps and rewraps every N ms while visible.

Methods on the ref

Use it in React

import UnwrapCard from './UnwrapCard';

<UnwrapCard />

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

More in Giftwrap

Good for: Skeuomorphic UI.