# Sleep clinic website template (premium, $39)

> Website template for a sleep clinic: conditions, sleep studies with prices, treatments, team and a call-back form. One HTML file you own. Made by 8B (https://8b.com/), an AI website builder. Updated November 2026.

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.

- Page: https://8b.com/templates/slowwave-sleep-clinic/
- Price: $39, one-time license for your own and client sites; no resale or redistribution of the template.
- Preview: https://8b.com/templates/slowwave-sleep-clinic/scroll.mp4 (scroll video) and https://8b.com/templates/slowwave-sleep-clinic/desktop.webp. There is no live demo, and the template's code is not public.
- Template name: Slowwave Sleep Clinic

## About

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](https://8b.com/) 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.

## 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.

## Design

- 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.

## Sections and motion

- **Navigation** (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. Motion: 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** (opening): 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. Motion: 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** (conditions): five conditions in huge right-aligned type, each with a line of symptoms. Motion: 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** (studies): three sleep studies as cards with photo, text and price, standing on the giant word Studies. Motion: 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** (treatment): five treatments in ruled rows, each with a title, a detail line (sessions, follow-up or length), a description and a hairline. Motion: The heading and each row rise as they arrive and the hairline of each row draws from the left.
- **Mornings** (mornings): four patient notes with condition, week, quote, name, job and area, piled over the giant word Mornings. Motion: 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** (team): four team members as names with role and a line each, and one portrait frame that changes with the name. Motion: 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?** (selfcheck): six statements about sleep as checkbox rows and a result panel with a request-a-call button. Motion: 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** (steps): four steps on a horizontal track with a horizon line: free call, assessment, the study, the plan. Motion: 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** (faq): five questions in ruled rows that open: referral, insurance, partners, strange beds, tablets. Motion: The heading rises and the hairline under each question draws from the left.
- **Good nights start with one call** (contact): heading with phone, email, address and hours, and a call-back form with a concern select, under a dawn glow. Motion: 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): footer with the address, phone and email, three clinic links, three policy links, Good morning at full width and the registration lines. Motion: The words Good morning rise at full width.

## Good for

- private sleep clinic or sleep disorders centre
- sleep apnoea, CPAP or insomnia practice with home tests and overnight studies
- CBT-I therapist or sleep psychologist with a small team
- respiratory or sleep physician with a private clinic and a call-back form

## Questions

**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.
