Website kits › Bedside › Book

Book

Choose a department, doctor and time on a live slot grid, fill in your details with inline checks, and get an appointment slip that says where to go.

Book is a booking 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: staggered slots, tilting slip, inline validation.

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.

Book props

PropTypeDefaultDescription
darkboolean
autoplaybooleanFills the form by itself (store covers).
deptstringDepartment to start with (a booking passed from another page wins).
nowDate
photosRecord<string
onNavigate(page: string) => void
onBook(b: BedsideBooking) => voidCalled when a booking is confirmed. Send it to your booking system.

Methods on the ref

Use it in React

import BedsideBook from './BedsideBook';

<BedsideBook />

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.