Skip to content
Klarhimmel UI

Swim school

Template

One page for a learn-to-swim school (Green Lake Swim School, Seattle). Classes by level, term prices and weekly times, what to bring, poolside rules for parents and a free assessment booking.

npx shadcn add https://ui.klarhimmel.com/r/template-swim-school.json
swim-school previewswim-school preview

Install

npx shadcn add https://ui.klarhimmel.com/r/template-swim-school.json

The page

9 sections, in order

Each section is one block with this template's own copy. The anchor is the id in-page links point at.

AnchorBlockContent
#topnavigation/simpleGreen Lake Swim School
#herohero/splitSwim lessons for children and adults, in small classes
#classessteps/numberedPick by what the swimmer can do today
#pricespricing/listFall term: 10 weekly classes
#bringfeatures/gridWhat to bring and how a class runs
#faqfaq/accordionWhat parents ask before booking
#bookcontact/bookingBook a free 15-minute assessment
#visitcontact/mapA warm pool near Green Lake
(none)footer/simpleGreen Lake Swim School

Install

CLI

npx shadcn add https://ui.klarhimmel.com/r/template-swim-school.json

pnpm

pnpm dlx shadcn@latest add @klarhimmel/template-swim-school
Style
  • Harbor
  • DM Sans / DM Sans
  • radius 12
Needs
React 19, Tailwind CSS v4 and the theme import. The page and every block it uses land under components/klarhimmel/. New project? Set it up once: /get-started/installation.

Mount it

The CLI puts the page in components/klarhimmel/templates/. It wraps itself in Theme, so render it anywhere, once the theme.css import from Installation is in your main CSS. theme.css loads every font family; for production import theme-core.css and only the fonts/<family>.css files you use.

App.tsx
// src/App.tsx
import SwimSchoolTemplate from '@/components/klarhimmel/templates/swim-school';

export default function App() {
  return <SwimSchoolTemplate />;
}

Before you ship

Wire these before shipping

The template is a finished page with placeholder wiring. These are yours to connect.

Links

#section links jump within the page. The phone link (tel:) calls from a phone. Links to https://example.com are placeholders: point them at your own pages.

Images

Every media.src is empty; each alt names the photo that belongs there. Use your own photos, taken with permission from parents (children's faces only with written consent).

Forms

Set action on the assessment form (it is /replace-with-your-endpoint now). With method: 'post' it submits natively, with no JavaScript. The class the visitor picks is sent as choice, next to the time, name, email and phone. The live demo never submits.

Style

Pool green accent on a soft green-white page, DM Sans throughout, rounded corners, light and dark. Import theme.css after Tailwind.