StealThis .dev
Pages Hard

Dental — Patient Portal

A trust-first dental patient portal dashboard with a next-appointment card, animated treatment-history timeline, an outstanding-balance summary with a pay action, a downloadable documents list, and quick actions for rescheduling or messaging the clinic — all built as a clean clinical light interface with rounded cards, soft shadows, badges, live toasts, and a keyboard-accessible reschedule flow.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

The Patient Portal gives a fictional patient, Mara Ellison, a calm single-screen overview of their care at Northlake Dental. A prominent next-appointment card leads with the date, provider, and chair, backed by quick actions to reschedule, add the visit to a calendar, or message the front desk. A vertical treatment-history timeline records past cleanings, fillings, and consults with status badges, while a balance card summarizes the outstanding amount and last statement.

Interactions are handled entirely in vanilla JavaScript. The reschedule button opens an accessible modal with keyboard focus trapping and selectable time slots; confirming a new slot updates the appointment card in place and fires a toast. The Pay balance action animates the amount down to zero and flips the badge to Paid, documents can be marked as viewed, and a message composer sends a simulated note to the care team. Every control is keyboard-operable with visible focus rings and ARIA labelling.

The layout is responsive down to roughly 360px, collapsing the two-column grid into a single stack, and uses only CSS gradient blocks and system-safe imagery so nothing is hotlinked. Data is realistic but clearly fictional.

Illustrative UI only — not intended for real medical use.