Component packs › Giftwrap › Gift Tag Tooltip
A gift tag drops on its string from the trigger and swings like a pendulum before it comes to rest.
Gift Tag Tooltip is a tooltip 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: damped pendulum, string drop, eyelet tag.
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 |
|---|---|---|---|
trigger | string | Text on the trigger. | |
text | string | Text written on the tag. | |
dark | boolean | follows the page | Force the dark (true) or light (false) look. Default: follows the page. |
autoplay | number | false | Showcase mode: shows and hides every N ms while visible. |
show(): voidhide(): voiddestroy(): voidimport GiftTagTooltip from './GiftTagTooltip';
<GiftTagTooltip />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.