Component packs › Giftwrap › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
from | string | Small line above the title. | |
title | string | ||
note | string | ||
open | boolean | Start unwrapped. | |
dark | boolean | follows the page | Force the dark (true) or light (false) look. Default: follows the page. |
onOpen | () => void | ||
autoplay | number | false | Showcase mode: unwraps and rewraps every N ms while visible. |
readonly opened: booleanopen(): voidwrap(): voiddestroy(): voidimport UnwrapCard from './UnwrapCard';
<UnwrapCard />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.