The Healthcare Sanity Starter

An open-source, barebones, opinionated Next.js + Sanity starter for healthcare and life-sciences marketing sites.

MIT licensed. Next.js 16, Sanity 6, Tailwind 4. Free, no sign-up.

Home page of Wrenfield Health, the fictional clinic that ships as the starter's demo content
The demo: Wrenfield Health, a fictional multi-specialty clinic. Studio at /studio.

What's in it

Generic starters make you decide the same four things on every healthcare build. This one has decided them.

Audience split: patients and providers

Every page belongs to patients or providers. One dataset, one app, a /for-providers prefix, and separate navigation, so referring physicians and patients stop getting each other's content.

PHI-safe forms

Forms post to a webhook you control and are never stored or logged. Field keys that look like health data get a warning in the Studio that explains why. Turnstile, honeypot, accessible error states.

Consent-gated analytics

An in-house consent dialog, no third-party CMP. GA4 loads only after consent, and tracking takes a closed set of events, so PII can't leak into analytics by accident.

Medical review and medical JSON-LD

Reviewer and review date are first-class fields on services and posts, rendered as bylines and emitted as structured data alongside Physician, MedicalClinic, FAQPage, and BreadcrumbList.

What's deliberately not in it

No page builder with forty modules. No insurers, jobs, press, or events types (each is a 20-minute add, and the docs show how). No theme switcher, dark mode, icon library, or component library. No third-party consent tool, no GTM, no chat widget, no map embed. No search, no i18n, no authentication, no patient portal. There is one way to do each thing. If you disagree, fork it; that's the point. The starter encodes a method, not options.

Quickstart

Three commands. The example env points at the public demo dataset, so the site renders Wrenfield Health immediately.

bash
git clone https://github.com/dock90/healthcare-sanity-starter && cd healthcare-sanity-starter
cp .env.example .env.local && npm install
npm run dev

To use your own content, create a Sanity project, change the three NEXT_PUBLIC_SANITY_* values, and run npm run seed. The README covers the rest.

Want it built and migrated for you?

The starter is the method. If you'd rather have me apply it to your site, including the migration off WordPress, start with the assessment: a fixed-price plan in two to three weeks, credited against the build.

Get updates when the starter changes.

New document types, upgrades, and the occasional breaking change. Leave your email and I'll let you know.

An email when something ships. Nothing else.