Component packs › Giftwrap › Wrap Loader

Wrap Loader

Paper rises over a card box, ribbon runs down and across, the bow ties and the box hops, over and over.

Wrap Loader is a loader 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: wrapping sequence, done() finishes the wrap, creased paper.

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.

Wrap Loader props

PropTypeDefaultDescription
labelstringAccessible label.
sizenumber112Size in px. Default 112.
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
autoplaynumber | falseShowcase mode: calls done() and restarts every N ms while visible.

Methods on the ref

Use it in React

import WrapLoader from './WrapLoader';

<WrapLoader />

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

More in Giftwrap

Good for: Skeuomorphic UI.