Skip to content
Klarhimmel UI

Optician

Template

One page for an independent optician (Lindenfield Optical, Toronto). Exam price and booking first, then frames and lenses in CAD, the exam, kids, insurance receipts, the team and hours.

npx shadcn add https://ui.klarhimmel.com/r/template-optician.json
optician previewoptician preview

Install

npx shadcn add https://ui.klarhimmel.com/r/template-optician.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/simpleLindenfield Optical
#herohero/splitEye exams from $95, request a time in a minute
#pricespricing/listWhat things cost, before you sit down
#examsteps/numberedWhat happens in an eye exam
#teamteam/gridThree people, one small shop
#faqfaq/accordionShort answers before you book
#bookcontact/bookingBook an exam
#visitcontact/mapFind us on Roncesvalles
(none)footer/simpleLindenfield Optical

Install

CLI

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

pnpm

pnpm dlx shadcn@latest add @klarhimmel/template-optician
Style
  • Editorial
  • Geist / DM Sans
  • radius 10
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 OpticianTemplate from '@/components/klarhimmel/templates/optician';

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

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. Links to https://example.com are placeholders: point Book an exam at your own booking page and the rest at your own pages.

Images

Every media.src is empty; each alt names the photo that belongs there. Use your own photos of the frame wall, the exam room and the three of you, taken in daylight.

Forms

The booking card posts to action (now /replace-with-your-endpoint, method post). The time slots are examples: list the slots you actually have open. It asks for name, email and a phone number so the shop can confirm. Insurance: say only what you do, an itemized receipt, never what a plan pays.

Style

Warm paper white with ink and a blue-violet accent (periwinkle in dark mode), Geist headlines and DM Sans text, light and dark. Import theme.css after Tailwind.