Skip to content
VibeFather
Sign up free

About this template

A calm, accessible regional hospital website built around big readable typography, high contrast, and immediate clarity under stress. Features a clear top emergency banner with sample ER wait times, dedicated Department & Service pages, a filterable Find a Doctor directory (specialty, campus location, spoken language, accepting new patients) with full clinician profiles, campus Locations & Directions, a guided Appointment Request flow, Patient & Visitor practical information (parking, visiting hours, what to bring), an interactive mock Patient Portal preview (Lab Results, Care Messages, Billing Statements), a Health Library with plain-English wellness articles, Careers listings, and a Foundation Giving page—paired with sunlit architectural and clinical photography from one cohesive shoot.

The template prompt

The live demo was built from exactly this text — nothing added.

# Hospital Website

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build a calm, high-contrast regional hospital website for [HOSPITAL_NAME] serving the [REGION_NAME] (Main Desk: [PHONE_MAIN]; Emergency Banner: [EMERGENCY_LINE]). Use warm white surfaces (#FCFBF8) with hospital blue (#1356A8), calming mint (#3CC2A0), coral accent (#FF6F59), and big, high-contrast typography. Include a persistent top Emergency Banner showing sample ER wait times across three regional campuses and hash-routed navigation synced bidirectionally with window.location.hash across: (1) #/home — Sunlit atrium architectural hero, quick care actions (Find a Doctor, Request Appointment, ER Wait Times, Patient Portal), featured Departments, campus ER wait-time strip, and sample-data transparency note; (2) #/departments — Interactive department cards opening detailed service views (Cardiology, Orthopedics, Maternity & Family, Diagnostic Imaging, Neurology, Urgent & Primary Care); (3) #/doctors — Filterable physician directory (Specialty, Campus Location, Spoken Language, Accepting New Patients toggle, keyword search) opening full fictional clinician profile panels with direct appointment pre-fill; (4) #/locations — Three regional hospital & clinic campuses with sample ER wait times, parking decks, transit directions, and Patient & Visitor Guide (visiting hours, parking rates, what to bring); (5) #/appointments — Step-by-step Appointment Request flow with instant sample confirmation ticket; (6) #/portal — Interactive Mock Patient Portal Preview featuring tabbed sample Lab Results, Care Team Messages (with reply composer), and Billing Statements; (7) #/library — Health Library articles with topic filter and full article reader modal/view, plus Careers open roles and Foundation Giving impact tiers. Clearly label all wait times, portal records, and profiles as sample data with zero medical claims and zero calendar dates.

- Audience: Patients, families, visitors, referring clinicians, job applicants, and community donors.
- Goal: Deliver instant calm and wayfinding for stressed visitors—putting emergency wait times, doctor search, campus parking, and appointment booking within one click.
- Tone: Reassuring, transparent, modern civic healthcare—plain English, generous spacing, high contrast.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/plus-jakarta-sans (OFL-1.1), @fontsource/inter (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Set base: './' and build: { sourcemap: false } in vite.config.ts.
  - Import @fontsource/plus-jakarta-sans (500, 600, 700) and @fontsource/inter (400, 500, 600) in src/main.tsx.
  - Bundle all 4 generated WebP architectural/clinical hospital photos locally under public/images/ and reference via ./images/*.webp.
  - Sync active route (#/home, #/departments, #/doctors, #/locations, #/appointments, #/portal, #/library, #/careers, #/giving) bidirectionally with window.location.hash.

## Variables
- [HOSPITAL_NAME] — Hospital System Name (default: "Meridian Valley Health"). Fictional regional hospital network name
- [REGION_NAME] — Service Region (default: "Meridian Valley"). Fictional valley or bay region served
- [PHONE_MAIN] — Main Desk Phone (default: "(555) 019-4400"). Sample non-working 555 telephone number
- [EMERGENCY_LINE] — Emergency Guidance Banner (default: "Dial 911 for emergencies · 24/7 Nurse Triage: (555) 019-4911"). Top emergency banner copy
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/hospital-website in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro template

Unlock the full prompt and the source code

  • The full prompt: design, sections, motion, assets
  • Source code of every live demo
  • Commercial license

The live demo and DESIGN.md stay free.

From $9/month · launch sale on yearly and lifetime

DESIGN.md

The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.

---
name: "Hospital Website"
colors:
  warm_clinical_white: "#FCFBF8"
  hospital_blue: "#1356A8"
  calming_mint: "#3CC2A0"
  alert_coral: "#FF6F59"
  deep_slate_ink: "#142136"
typography:
  headings_wayfinding_titles: { family: "Plus Jakarta Sans", weights: [500, 600, 700] }
  readable_body_copy_portal_data: { family: "Inter", weights: [400, 500, 600] }
spacing: "Clear persistent top emergency strip, clean header nav, and generous 1280px max-width cards with big touch targets and accessible line-height."
radius: "16px soft architectural cards with clean hairline borders."
---

# Hospital Website — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Warm Clinical White** `#FCFBF8` — Primary calm page canvas
- **Hospital Blue** `#1356A8` — Primary trust accent, links, and clinical headers
- **Calming Mint** `#3CC2A0` — Availability badges, wellness highlights, and wayfinding
- **Alert Coral** `#FF6F59` — Emergency wait-time emphasis and urgent care indicators
- **Deep Slate Ink** `#142136` — High-contrast primary body text

## Typography
- **Headings & Wayfinding Titles** — Plus Jakarta Sans (OFL), weights 500/600/700. Self-host the font files.
- **Readable Body Copy & Portal Data** — Inter (OFL), weights 400/500/600. Self-host the font files.

## Spacing & shape
- Spacing: Clear persistent top emergency strip, clean header nav, and generous 1280px max-width cards with big touch targets and accessible line-height.
- Radius: 16px soft architectural cards with clean hairline borders.

## Motion
- Instant client-side filtering across doctors, departments, health articles, and mock portal tabs.
- Smooth drawer/detail panels for department services and physician profiles.

## Imagery
Four cohesive sunlit architectural & clinical photos from one shoot: bright glass atrium, daylight recovery suite, modern diagnostic imaging console detail, and calm landscaped campus walkway—staff strictly distant or from behind, zero close-up faces, zero readable text.

## Tone
Reassuring, transparent, modern civic healthcare—plain English, generous spacing, high contrast.

---
— Prompt by VibeFather · https://vibefather.ai/t/hospital-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

Make it yours

  • A single-campus community clinic: set HOSPITAL_NAME and REGION_NAME, cut the three-campus wait strip to one, and rewrite the departments cards for your own services.
  • A regional cancer center: keep the calm layout, swap the doctor directory filters for treatment type and consult language, and point appointment pre-fill at your intake team.
  • A children's hospital: adjust the emergency banner copy for pediatric guidance, and rewrite the Health Library articles and visitor guide in family-friendly plain English.
  • A rural health network: use the locations page for clinic sites and transit notes, and replace the careers listings with your open roles and foundation giving tiers.

Hospital Website: questions and answers

How do I change the hospital name, region and phone numbers in the template?

The Hospital Website template keeps four variables at the top of its prompt: HOSPITAL_NAME, REGION_NAME, PHONE_MAIN and EMERGENCY_LINE. Set them to your own hospital system, service region, main desk number and emergency banner copy, then ask your AI agent to rewrite every headline, paragraph and label that mentions the old values. The prompt asks for all copy in one content file, so the swap stays consistent across the home, departments, doctors, locations, appointments, portal and library pages.

What does the sample ER wait time banner show and can I connect it to real hospital data?

The Hospital Website template shows a persistent top emergency banner with sample ER wait times for three regional campuses, plus a wait-time strip on the home page. The demo is a static build with no backend, so the numbers are labeled sample data. To show live figures you would replace those values with your own feed, but the template itself does not include a data connection and makes no medical claims.

How does the Find a Doctor directory filter work for patients?

The Hospital Website template's Find a Doctor page filters a physician directory by specialty, campus location, spoken language, an accepting new patients toggle and keyword search. Each result opens a full clinician profile panel with a direct appointment pre-fill, so a patient can move from search to a request without retyping details. All profiles are fictional sample data, and you replace them with your own clinicians and specialties.

Can I use the Hospital Website template for a clinic or a client project?

The Hospital Website template is a Pro template, so commercial and client use needs Pro. Pro members see the full prompt and get the source code of the demos. A single-campus clinic can use it too by setting HOSPITAL_NAME and REGION_NAME, trimming the three-campus wait-time strip and adjusting the departments list to your services. Free prompts and DESIGN.md files are for personal, non-commercial use only.

What should I change first in the Hospital Website template?

Start with the four variables: HOSPITAL_NAME, REGION_NAME, PHONE_MAIN and EMERGENCY_LINE. Then replace the sample ER wait times, the fictional doctor profiles and the mock patient portal records with your own content or clearly labeled placeholders. Check the locations page for parking decks, visiting hours and transit directions, since those are the details stressed visitors look for first. Keep the sample-data transparency note until real data is in place.

How do I build a hospital website with AI?

Copy the full prompt (Pro) from this page or run npx vibefather add hospital-website, replace [PHONE_MAIN], [REGION_NAME], [HOSPITAL_NAME] and [EMERGENCY_LINE] with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demo was built from exactly that text.

Which AI model built the Hospital Website demo?

The Harborview Regional Medical case was built by GPT-6.2 Sol in Codex. Each build used the published prompt with nothing added.

What tech stack and pages does the Hospital Website template use?

Hospital Website is a 7-page site built with React, Tailwind CSS and Typescript, with micro-interactions. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.

Is the Hospital Website template free to use?

Hospital Website is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.

Does the Hospital Website template work on mobile?

Yes. Every Hospital Website build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.