Component packs › Giftwrap › Gift Tag Tooltip

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.

Gift Tag Tooltip props

PropTypeDefaultDescription
triggerstringText on the trigger.
textstringText written on the tag.
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
autoplaynumber | falseShowcase mode: shows and hides every N ms while visible.

Methods on the ref

Use it in React

import GiftTagTooltip from './GiftTagTooltip';

<GiftTagTooltip />

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

More in Giftwrap

Good for: Skeuomorphic UI.