Website kits › Haven › Table and spa

Table and spa

Place a treatment on tomorrow’s timeline: the block follows your cursor and snaps to free time, never booked slots.

Table and spa is a page from Haven, a website kit with 5 pages: A complete five-page website for a boutique hotel by the sea. Price: $5 for the whole pack.

Built with: snapping time block, spring glide, seat picker.

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.

Table and spa props

PropTypeDefaultDescription
namestring
treatmentsHavenTreatment[]
photosHavenPhotos
onHold(h: { treatment: string; start: string; end: string }) => void
onNavigate(page: HavenPage) => void

Methods on the ref

Use it in React

import HavenTable from './HavenTable';

<HavenTable />

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

More in Haven

Good for: Travel website templates, Hotel website template, Small business websites, Europe (euro).