Ostervale - Medical Clinic HTML Template
1 of 8
Loading screenshot

A static HTML template for an independent family practice or primary care clinic.

The site is built around one question a patient has: how do I reach the practice today? The home page opens with a sentence that says whether the practice is open, and the ways in (book online, call, telehealth, not for emergencies) are ordered and sized for that day. Ostervale is a full site for a fictional family practice, on a near-black ground with one color per way in.


What's in it

Seven pages index · care · clinicians · new-patients · visit · privacy · 404.

A hero that follows the schedule One schedule file holds the time zone, weekly hours, date changes and the clinicians' days. From it the page picks one of four states: an ordinary open day, a short day, closed, or unknown when the file has an error or is past its review date. Each state has its own sentence and its own order of route signs. On a closed day the first sign is the next open day and the call sign says when you call back.

Kinds of visit and the way in for each Six kinds of visit (routine, same-day, physicals, vaccines, minor procedures, telehealth), each with its days, its time and the routes that apply to it. The routes that are open today are lit.

On duty today The home page names who is scheduled today, then holds one clinician at a time on screen as the page scrolls, with their role, the days they are in and a Book with button. The clinicians page lists all five.

New patients and the visit What to bring, the first visit in four steps, a before-you-come checklist and questions in an accordion. The visit page has this week's hours with date changes marked on the day, a drawn map from the side lot to the door, and contact details.

Page transitions and motion Between pages three bands rise in the color of the sign that was pressed and name the next page. Scenes run on GSAP and ScrollTrigger. When a visitor's system asks for reduced motion, the scroll effects and the page transition stop and every section shows its final state.


Built to be edited

  • No build step. No npm, no bundler, no framework. Serve the folder over http (VS Code Live Server or any web host) because the pages load their scripts as modules.
  • Hours, date changes, time zone, kinds of visit, clinicians and the booking, portal, telehealth and map links sit in one data file, assets/js/data/schedule.js.
  • Add ?state=closed (or short_day, unknown) or ?date= to any page address to see a state without changing the clock.
  • One token file, assets/css/tokens.css, holds colors, fonts, type sizes, spacing and motion timings, including the four route sign colors (--route-*).
  • Each scene is its own component file, so editing one does not reach into another.
  • GSAP 3.15.1 and ScrollTrigger load from jsDelivr, pinned with SRI hashes.
  • Zilla Slab and Atkinson Hyperlegible (SIL Open Font License) load from Google Fonts.
  • The documentation covers the schedule data, how today's state is worked out, previewing a state, links, kinds of visit, clinicians, name and address, photos, colors, fonts, sample lines to replace, pages and the menu, motion, putting the site online and troubleshooting.

What you get

template/          7 HTML pages with their CSS, JavaScript and images
documentation/     Setup and customization guide
LICENSES.md        Credits and license texts for the library and fonts, and where the images came from
README.txt         Where to start
changelog.txt      Version history

Please read before buying

  • This is a front-end template. There is no booking engine, no patient portal, no forms and no backend, and the site stores nothing about visitors. Book, portal and telehealth buttons go to the services you link to. Until you set a link, its button says it is not connected.
  • The states say what the schedule says (open, short day, closed). They do not show free appointment slots.
  • Ostervale Family Practice, its clinicians, address, hours, policies and privacy text are invented sample content. Replace them before launch, and have the privacy page checked by the person responsible for privacy at your practice.
  • Images: 12 photos of rooms and the way in, generated for this template with an AI image model (no stock photos, no people), listed file by file in LICENSES.md.
  • GSAP and the fonts load from public CDNs. Host them yourself if you need offline delivery.
  • The pages need to be served over http. Opened straight from disk, the scripts do not run.