Website kits › Haven › Rooms
Sweep your cursor across a room photo to scrub through its pictures; filters fold other rooms away.
Rooms 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: hover-scrub gallery, sliding filter, folding list.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | ||
rooms | HavenRoom[] | ||
photos | HavenPhotos | ||
onBook | (room: HavenRoom) => void | ||
onNavigate | (page: HavenPage) => void |
destroy(): voidimport HavenRooms from './HavenRooms';
<HavenRooms />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Travel website templates, Hotel website template, Small business websites, Europe (euro).