Website kits › Tress › Gift cards
Build a gift card for an amount or a named service: the card tilts toward the pointer while its amount, message and design update live, then a code and the delivery date.
Gift cards is a gift card page from Tress, a website kit with 6 pages: A hair salon and spa website with its appointment book and colour chart on the page. Price: $5 for the whole pack.
Built with: tilt card, live preview, gift code.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Uses three. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | Record<string | ||
now | Date | ||
onNavigate | (page: string) => void | ||
onBuy | (gift: Record<string, string>) => void |
destroy(): voidimport TressGifts from './TressGifts';
<TressGifts />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Small business websites, UK (pounds), Hair salon website.