Website kits › Bedside › Departments

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.

Departments props

PropTypeDefaultDescription
darkboolean
autoplaybooleanCycles through the departments by itself (store covers).
deptstringDepartment to open first: family, paeds, cardio, derm, ortho, women, ent or urgent.
nowDate
photosRecord<string
onNavigate(page: string) => void
onChange(dept: string) => void

Methods on the ref

Use it in React

import BedsideDepartments from './BedsideDepartments';

<BedsideDepartments />

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

More in Bedside

Good for: Small business websites, Middle East and UAE, Medical clinic website.