Templates /

Sleep clinic website template

$39
Sleep clinic website template: first screen on a phone
Build without code

What comes with the sleep clinic website template

  • index.html: the pure HTML and CSS version, one single HTML file, 94 KB.
  • index.gsap.html: the same design built with GSAP, ScrollTrigger and Lenis, for scroll motion in every browser, Firefox included.
  • AGENTS.md: what a coding agent must keep and what to replace, so Claude Code, Codex or Cursor edit it without breaking the scenes.
  • DESIGN.md: every colour, font, spacing and motion rule of this sleep clinic website design.
  • PROMPTS.md: the agent prompt and the design prompt below.
  • CREDITS.md and LICENSE.md: the photos and fonts with their licenses, and the 8B license.
  • Updates to this template, at no extra cost.

Yours to edit: one index.html with no build step, so you or a coding agent can change the words, prices and photos and upload it to any static host. Not a coder? Describe your business in one sentence to 8B's AI website builder and it designs a new site for you, with more pages when you need them. Designing is free; publishing with hosting is $9 a month, billed yearly. It also works inside Claude and ChatGPT.

Premium template · $39, one-time license · Made by 8B, an AI website builder · Updated November 2026 · Plain text: slowwave-sleep-clinic.md

About this sleep clinic website template

Sleep clinic website template for a private clinic or practice that studies and treats sleep: one HTML file with five conditions in huge type, three sleep studies with prices, five treatments, patients' notes, the team, a six-statement self-check, four steps from the first call to a plan, questions and a call-back form. It opens on the last light of the evening, a blurred colour field that folds into a thin horizon line while the manifesto lights up word by word, and it ends with the dawn behind the contact form. It is a single HTML file in pure HTML and CSS, and a GSAP version of the same page comes with it.

At a glance, November 2026. One 94 KB index.html: a single HTML file in pure HTML and CSS with a few lines of built-in JavaScript, 12 sections, 11 Unsplash photos, Stack Sans Headline and Stack Sans Text. A GSAP build of the same page, 88 KB, comes with it.

It suits a private sleep clinic, a sleep apnoea and CPAP practice, a CBT-I therapist or sleep psychologist, or a respiratory physician with a small team. Sleep clinic websites mostly need the same things on one scroll: what keeps people awake in their own words, which tests there are and what they cost, what treatment looks like, who the staff are and how to start. This page gives each its own section, and a sleep clinic website built from it also gets a way for a worried visitor to decide whether to ring: the self-check, six plain statements to tick and ends in a request-a-call button.

The demo business is Slowwave Sleep Clinic, an invented clinic in Leeds with four study bedrooms. Every price, name, quote, phone number, address and registration line is demo copy to replace. The conditions, studies and treatments are written for sleep medicine, so a clinic in another city or country changes the currency, the insurance and referral wording, the opening hours and the places in the patient notes, and keeps the structure.

If you would rather not edit HTML at all, 8B, the AI website builder designs a site from one sentence about your clinic, with more pages when you need them. This template is for people who want this exact design in their own hands: one index.html with its CSS and its motion inside, which you or a coding agent can edit and host anywhere, next to the booking system you already use.

Good for:

Private sleep clinic or sleep disorders centreSleep apnoea, CPAP or insomnia practice with home tests and overnight studiesCBT-I therapist or sleep psychologist with a small teamRespiratory or sleep physician with a private clinic and a call-back form

What a sleep clinic website needs

A sleep clinic website works when a tired visitor can see quickly what is wrong, what a test costs and how to start. Here is how this template covers each of those.

  • The conditions in plain words. Five conditions (insomnia, sleep apnoea, restless legs, late body clock and narcolepsy), each with a line of symptoms as a patient would put it.
  • Tests and prices up front. Three sleep studies as cards: a home sleep test, an overnight study and a daytime nap test, each with what it is for and its price.
  • What treatment looks like. Five treatments in ruled rows with their length: CBT for insomnia, CPAP fitting, oral devices, light and timing, and coming off sleeping tablets.
  • Who looks after you. Four people with a role and a line each, shown one at a time beside a portrait, from the consultant to the night technologist.
  • A way to decide whether to call. A six-statement self-check with a request-a-call button, so a visitor who is unsure sees why a call is worth it.
  • A clear path from first call to plan. Four steps on a horizontal track: a free call, an assessment, the study and the plan with check-ins.
  • Answers to the first-call questions and a call-back form. Five questions on referral, insurance, partners, strange beds and tablets, then a form with a select for what keeps the visitor up.

What it does not have is an appointment booking engine, patient login, results portal or payment: the form asks for a call back, and the clinic's own system takes it from there. A clinic with its own booking page links the buttons to it and keeps this page as the front door.

Sleep clinic website design and motion

Palette

#0a0a0c page ground, the first screen and the dark sections#f3f1ee off-white text, hairline buttons, the solid primary buttons and the paper of the patient notes#9a96a0 grey for secondary text, dimmed words and labels#d8c640 yellow: the thin bright streak in the light field, the horizon lines of the opening and the steps track, the step dots, the self-check ticks and focus rings#9c1f2b deep red, the warmest glow of the light field on the first screen and of the dawn behind the contact form#b3277f magenta, the other large glow of the light field and the dawn, and the far end of the footer line

Fonts

  • Stack Sans Headline: the heading, condition names, section headings, study, treatment and step titles, team names, the self-check statements, the menu links and the footer word, in light and regular weights
  • Stack Sans Text: body text, symptoms, patient quotes, labels, buttons, the header links and form fields

A near-black page with off-white text and grey for secondary lines. The first screen is a light field with the heading bottom-left, thin, dimmer words beside regular white ones, and the lede and two buttons at the right. The conditions are five huge names set right-aligned, each with a line of symptoms; the studies are three cards on a giant word; the treatments are ruled rows with a title and a detail line at the left and a description at the right; the patient notes are paper-style cards on a second giant word; the team is a list of names beside one portrait frame; the steps are four wide panels on a horizontal line. Secondary buttons are labels between two hairlines, primary ones a solid off-white band, and the call-back form sits in a dark panel. On phones the conditions become a left-aligned column, the study cards rise one over another into one place, and the steps panels are 80 percent of the screen wide.

The idea behind the page is the clinic's day. The first screen is the last light of the evening, the opening scene turns the lights down as the visitor starts reading, the contact section brings the light back as the dawn, and the footer says Good morning. Giant words, Studies and Mornings, work as stages that the cards and notes rise out of, and the huge condition names start scattered as restless as the nights they describe, then settle into one quiet column.

What is on the sleep clinic website page

  • Navigation
    Header with the wordmark, a Book a call link and a menu button that opens nine section links with the phone, email and call hours

    The header hides as you scroll down and comes back when you scroll up; the menu button opens a full-screen list of the nine sections with the phone, email and call hours.

  • Sleep the whole night
    Two screens: a light field with the heading Sleep the whole night, a lede and two buttons, then a manifesto paragraph with four night photos and a link to the self-check

    On load the light field opens from a narrow band to full height, the heading and lede rise and the buttons fade in; the glows breathe and drift on slow loops of five to eight seconds and the grid of crosses drifts. On scroll the field folds into a thin horizon line and dims, the manifesto words light up one after another and four night photos drift in to their tilted places.

  • What keeps you up
    Five conditions in huge right-aligned type, each with a line of symptoms

    The five condition names enter scattered to both sides of the screen and drift home at their own speeds into one right-aligned column, and each line of symptoms fades in as its name lands.

  • Studies
    Three sleep studies as cards with photo, text and price, standing on the giant word Studies

    The stage holds while the three study cards rise one after another from behind the giant word Studies, which lights up beneath them; on phones each card rises over the last into one place.

  • Treatment that ends in sleep, not in a prescription
    Five treatments in ruled rows, each with a title, a detail line (sessions, follow-up or length), a description and a hairline

    The heading and each row rise as they arrive and the hairline of each row draws from the left.

  • Mornings
    Four patient notes with condition, week, quote, name, job and area, piled over the giant word Mornings

    The stage holds the giant word Mornings while the four notes fly up from below with a hard swing and land one on another in a loose pile over its lower edge, each at its own tilt.

  • Who stays up with you
    Four team members as names with role and a line each, and one portrait frame that changes with the name

    The portraits move into one sticky frame beside the names; as each name reaches the middle of the screen it comes up from dim and the frame wipes up to that person's portrait.

  • Is it time to see someone?
    Six statements about sleep as checkbox rows and a result panel with a request-a-call button

    The heading rises and the intro comes up from dim grey; ticking a statement fills its box and lights its row.

  • From the first call to a full night
    Four steps on a horizontal track with a horizon line: free call, assessment, the study, the plan

    The stage holds while the four steps travel sideways on one horizon line that fills with light as they go, each step coming up from dim as it arrives.

  • Before the first night
    Five questions in ruled rows that open: referral, insurance, partners, strange beds, tablets

    The heading rises and the hairline under each question draws from the left.

  • Good nights start with one call
    Heading with phone, email, address and hours, and a call-back form with a concern select, under a dawn glow

    The light field rises from a thin band at the bottom of the section to a full glow behind its lower half while the heading comes up from dim, and its glows breathe on slow loops; the form stays still.

  • Visit
    Footer with the address, phone and email, three clinic links, three policy links, Good morning at full width and the registration lines

    The words Good morning rise at full width.

Before you publish the sleep clinic website site

  • Replace social preview image, favicon, phone number, email address and contact form (sends nothing yet) and the invented demo facts (names, prices, areas, quotes). AGENTS.md lists them.
  • Book a call in the header, Book an assessment on the first screen, Ask which test you need in the studies and Request a call in the self-check lead to #contact now; point them to your booking page, or keep #contact once the form is connected.
  • How a study works on the first screen and Take the two-minute check lead to #studies and #selfcheck now; point them to keep as they are.
  • The nine menu links, the logo and the three Clinic links in the footer lead to #conditions to #contact, #opening, #studies, #treatment and #faq now; point them to keep as they are.
  • Phone and email links in the menu, the contact section and the footer lead to tel:+441130000000 and hello@slowwave.example now; point them to your clinic's number and email, in the link and in the visible text.
  • Privacy, Complaints and Accessibility links in the footer lead to /privacy, /complaints and /accessibility, pages the template does not contain now; point them to your policy pages, or remove the links.
  • Scroll-driven animation runs when the browser supports it (Chrome, Edge and Safari today; Firefox does not yet) and the visitor has not asked for reduced motion. Otherwise each section shows its finished layout; the GSAP build, index.gsap.html, also plays the scroll motion in Firefox (GSAP 3.13).
  • The call-back form sends nothing: connect it to a form service, your CRM or your booking system. The pure HTML and CSS version has no page script, so it shows no thank-you line after sending; the GSAP build shows the thank-you line and clears the form, but sends nothing either.
  • The self-check: in the pure HTML and CSS version ticking a statement fills its box and lights its row, but the ticked count and the result message (none, a few, several signs) stay as written; the GSAP build counts the ticks and switches the message.
  • The footer links to /privacy, /complaints and /accessibility, which the template does not contain. The Care Quality Commission line, the prices, the phone number and the address are invented demo copy; use your own registration and policies.
  • The studies scene is built for three cards, the conditions list for five names, the team frame for four people, the pile for four notes and the steps track for four panels: a different count needs its scene adjusted.

Questions about this sleep clinic website template

What do I get for $39?

The sleep clinic website template as a single HTML file, index.html, in pure HTML and CSS, a GSAP build of the same page as index.gsap.html, a DESIGN.md with every colour, font and motion rule, an AGENTS.md for coding agents, the agent prompt and the design prompt from this page, and CREDITS.md for the photos and fonts. Updates to this template are included.

Can I use this sleep clinic template for client sites?

Yes. One purchase lets you build as many sites as you like with it, for your own clinic or for clients, and change anything. What it does not allow is selling or giving away the template itself, as a template, theme or kit, or putting its source in a public repository.

How do I change the studies, prices and treatments?

Each study is one card with a photo, a short text and a price line, and each treatment is one ruled row with a title, a detail line such as its length, and a description. With Claude Code, Codex or Cursor you say it in a sentence, such as change the home test to 180 pounds and add a daytime oximetry check, and the agent edits the block; by hand you change the words in the card or row. The studies scene is built for three cards, so a fourth study needs its layout adjusted too, and the agent can do that if you tell it. Prices are in pounds in the demo and are plain text, so a clinic in another country changes the currency in the same place.

Can patients book an appointment or an overnight study here?

The page has a call-back form, not a booking engine. It asks for name, phone, email, what keeps the visitor up and a message, and it sends nothing until you connect a form service such as Formspree or Netlify Forms, your CRM or your clinic software. The Book a call and Book an assessment buttons go to that form. If you use an online booking page, point the buttons at it. In the pure HTML and CSS version the form shows no thank-you line after sending; the GSAP version shows one and clears the form. The self-check above the steps fills the ticked boxes in both, but only the GSAP version counts the ticks and changes the result message.

Will it work with Claude Code, Codex or Cursor?

Yes. Put index.html and AGENTS.md in your project and give the agent the prompt that comes with the template. AGENTS.md says which attributes the scroll motion reads, what to keep and what to replace, so the agent swaps conditions, prices, staff, quotes and photos without breaking the scenes.

What do visitors see in Firefox or with reduced motion?

Firefox does not support scroll-driven animations yet, so it shows every section in its finished layout, as does any browser when the visitor asks for reduced motion. If the scroll motion must also play in Firefox, use the GSAP build, index.gsap.html, which loads GSAP, ScrollTrigger and Lenis from a CDN.

More templates for clinics and care

Other designs for health and care practices.

Podiatrist: first screen

Podiatry clinic: the first visit in four steps, conditions, a gait lab, a price list and a call-back form.

Speech therapist: first screen

Speech and language therapy practice: five areas of help, a four-step first visit, fees and a call request form.

Skin clinic: first screen

Skin clinic: a first visit plan, treatments with times and prices, doctors, a seasonal plan and a booking form.

Pharmacy: first screen

Neighbourhood pharmacy: a walk-in clinic with four conditions, a vaccination table, opening hours and a form to order a repeat.

Veterinary: first screen

Neighbourhood vet clinic that sees dogs, cats, rabbits, birds and reptiles, with services, prices and a visit request form.

Independent pharmacy: first screen

Independent pharmacy: services, prescription transfer, weekly packs, delivery rounds and a contact form.

Birth center: first screen

Birth center for midwife-led units: six rooms, teams, tour form.

Physical therapy: first screen

Physical therapy clinic: treatments, first visit, opening hours, prices and a booking form.

All templates

Get 8B premium templates

Every plan includes all template files, AGENTS.md, DESIGN.md, the prompts and updates, for unlimited own and client sites.