Component packs › Pulltab › Pop-up Card
Open the card on the table and the paper pieces stand up one after another, the arch, the message, the hills, each casting a shadow on the page.
Pop-up Card is a card from Pulltab, a component pack with 6 paper mechanisms: Reveals, pickers and tabs built like pop-up book mechanisms: pull, lift, turn and unfold. Price: $2 for the whole pack.
Built with: page turns on its spine, staggered standing pieces, drag to open part way.
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 |
|---|---|---|---|
message | string | "Thank you" | Message that stands up in the middle. Default "Thank you". |
cover | string | Text on the cover. | |
note | string | Small line on the inside page. | |
open | boolean | ||
onChange | (open: boolean) => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: opens and closes every N ms. |
readonly open: booleansetOpen(v: boolean): voiddestroy(): voidimport PopupCard from './PopupCard';
<PopupCard />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.