Website kits › Bedside › Departments
Pick a department from the wayfinding rail and the page turns to it: live wait, how to get there, what it treats, its doctors with their next free times, and the fees.
Departments is a services page from Bedside, a website kit with 5 pages: A clinic website built around a live 3D model of the building, with the wait at every department. Price: $5 for the whole pack.
Built with: 3D model, wayfinding rail, photo reveal.
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 | Cycles through the departments by itself (store covers). | |
dept | string | Department to open first: family, paeds, cardio, derm, ortho, women, ent or urgent. | |
now | Date | ||
photos | Record<string | ||
onNavigate | (page: string) => void | ||
onChange | (dept: string) => void |
show(dept: string): void: Opens a department.destroy(): voidimport BedsideDepartments from './BedsideDepartments';
<BedsideDepartments />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Small business websites, Middle East and UAE, Medical clinic website.