Website kits › Tress › Gift cards

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.

Gift cards props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRecord<string
nowDate
onNavigate(page: string) => void
onBuy(gift: Record<string, string>) => void

Methods on the ref

Use it in React

import TressGifts from './TressGifts';

<TressGifts />

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

More in Tress

Good for: Small business websites, UK (pounds), Hair salon website.