Templates /

Optician website template

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

What comes with the optician website template

  • index.html: the pure HTML and CSS version, one single HTML file, 118 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 optician 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: lunette.md

About this optician website template

Optician website template for an independent optician or eyewear shop: one HTML file with an eye test written as an eye chart, a wall of frames with prices, five lens types, a home trial, a price list, the repair bench, customer portraits, prescription sun lenses and a booking form. It opens on a wordmark across the full width with a fanned stack of five portraits over it, which is dealt out onto a red wall of frames as you scroll. 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 118 KB index.html: a single HTML file in pure HTML and CSS with a few lines of built-in JavaScript, 13 sections, 30 Unsplash photos, Schibsted Grotesk. A GSAP build of the same page, 103 KB, comes with it.

It suits an independent optician, an optometrist practice with its own frame wall, an eyewear boutique or a shop that cuts lenses on its own bench. Optician websites mostly need four things on one scroll: the eye test with its price and what it covers, the frames with prices, what the lenses are for, and a simple way to book. This page gives each its own section, and an optician website built from it also shows what sets a small practice apart: forty-minute tests, a home trial, free adjustments and a bench twenty steps from the shop floor.

The demo business is Lunette, an invented optician on a street in east London. Every price, frame name, hour, address, phone number and customer quote is demo copy to replace. The frames are listed with a name, a price and a material, and the prices are in pounds with NHS voucher wording, so an optician in any country fills in its own frames and changes the voucher, VAT and children's test lines to the local rules.

If you would rather not edit HTML at all, 8B, the AI website builder designs a site from one sentence about your business, 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:

Independent optician or optometrist practiceEyewear boutique or frame shop with its own lens benchSunglasses and prescription sun lens retailerOpticians with eye tests, a home trial and appointment requests

What an optician website needs

Optician websites that bring patients in answer the same questions quickly. Here is how this template covers each of them.

  • What an eye test costs and what it covers. The eye test section lists the price, that an OCT scan is included, that under-16s are tested free and that the results are explained and printed.
  • Frames with prices. A wall of eight frames, each with a name, a price and a material, and a note that single-vision lenses are included.
  • Which lens is for what. One street photo seen through five lenses, single vision, varifocal, polarised, tinted and light-reactive, each with a one-line explanation.
  • A way to try before buying. A home trial in three steps: pick three on Friday, wear them over the weekend, bring back two on Monday.
  • Plain prices. A price list of seven rows with tests, lenses, the home trial and repairs, and the voucher wording in one line.
  • Proof and trust. The bench with its list of jobs, six customer quotes and answers to six questions asked at the counter.
  • A simple booking request. The visit section has the hours, phone, email, how to get there, parking and a form for the kind of visit and the best time. Connect the form before you go live.

What it does not have is an online shop, a stock list, a booking calendar or a prescription upload: it is built for a practice that takes appointment requests and answers them by phone or email, and the booking form can be pointed at the system you already use.

Optician website design and motion

Palette

#ede4dd warm cream: the page ground and the text on the red and black sections#c80016 red ink: type, rules, and the grounds of the opening's second screen, the prices and the visit sections#0e0d0c black: the lenses and the bench sections, and, mixed with a little red, the dark brown ground the sun section darkens to#00b4d8 cyan: the ghost beside the red display type and the offset shadow on hovered buttons

Fonts

  • Schibsted Grotesk: every word on the page, from the huge heavy wordmark and headings to captions, labels, buttons and form fields

A warm cream page with red type and red rules, and black and red sections for contrast. The first screen is a masthead: the wordmark across the full width, a thick rule and a four-column info row with who and where, why, a button and a link, and the hours, with the stack of portraits over the wordmark. The frames sit in a ragged grid of tiles of different sizes, each with name, price and material in a caption; the eye test is a chart of seven lines, each smaller than the last, beside a column of facts, a photo and a button; the lenses are one photo cut into five bands with a label and a line under each; the prices are a full-width list with hairlines. On phones the page keeps the same order and the wall becomes two ragged columns.

The idea behind the page is double vision becoming sharp. Red and cyan are the two lenses of 3D glasses, so display type carries a cyan ghost beside the red letters and slides into register, the eye test chart starts out doubled and comes into focus one line at a time, and every frame photo arrives slightly enlarged, out of focus on desktop, and settles. The page is one red ink on cream, with black sections for the lenses and the bench.

What is on the optician website page

  • Navigation
    Header with the wordmark, five links and Book a test, and a menu with the address
  • Lunette
    Two screens: a cream masthead with the wordmark across the width, an info row and a fanned stack of five portraits, then a red wall of five frames dealt from the stack

    On load the wordmark rises out of its line, the five portraits scale up one after another and the info row lifts a little; the cyan ghost beside the wordmark drifts in and out of register and the stack sways. On scroll the first screen holds while the red second screen rises over it and the five portraits leave the stack, straighten and land on the five slots of the red wall, while the heading above them comes into register.

  • The eye test, unhurried.
    The eye test written as an eye chart of seven lines, with price, what is included, children and results, a photo and a booking button

    Every line of the chart starts doubled, with a cyan ghost beside the red letters, the smaller lines more doubled. On desktop the chart is held while the lines come into register one by one from the top and the facts scroll by; on phones the lines come into register as the chart crosses the screen.

  • This month’s wall
    This month's wall: eight frames in a ragged grid, each with name, price and material

    The heading comes into register and each frame photo scales down slightly inside its tile; on desktop it also comes into focus from a blur.

  • One street, five lenses.
    One street photo seen through five lenses, with a label and a line for each lens type, on a black ground

    The section is held for three screens while the street photo is wiped by each of the five lenses in turn and the bar above each label fills. At the end the five lenses settle into five bands side by side, each above its label; on phones the bands are horizontal and the wipes run from bottom to top.

  • Take three home.
    A home trial in three steps, Friday, the weekend and Monday, with one kept frame and two returned

    The three frame photos start equal in a row; two shrink, move aside and lose their colour while the third grows, ending as one large kept frame and two small returned ones with their captions.

  • What it costs
    A plain price list of seven rows on a red ground

    The heading comes into register on the red ground.

  • The bench
    The bench: a photo of hands at work, five bench jobs and a small photo of a trial frame, on black

    The photo and the rule start tilted and the bench list ragged to the left and right; as the section arrives they straighten until everything is level and flush. The small trial frame photo scales down into place, coming into focus on desktop.

  • Seen in Lunette
    A row of six customer portraits with a short quote each, drifting sideways

    The heading comes into register and the row of six customers drifts sideways without end, paused under the pointer and while offscreen.

  • Any frame, tinted.
    Prescription sun lenses: four tints, a price and three photos, on a ground that darkens

    The ground starts cream with red type, the photos washed with glare and the four tint swatches stacked as one; as you scroll the ground darkens to brown, the type turns light, the glare drains from the photos and the swatches spread into a row.

  • Asked at the counter
    Six questions in a list of details elements

    The heading comes into register above the list of questions.

  • Visit us at 41 Example Street London E2 0AA
    The address in large type, opening hours, contacts, how to get there, parking, a shop photo and a booking form, on red

    The two lines of the address arrive from opposite sides and settle into place while the shop photo pans inside its window; the booking form never moves.

  • Made to see through. Or to be seen in. Or both.
    Closing line Made to see through. Or to be seen in. Or both., a huge ©26, the shop line and five columns of links and contacts

    The closing line comes into register.

Before you publish the optician website site

  • Replace social preview image, favicon, phone number, email address, contact form (sends nothing yet) and social media links and the invented demo facts (names, prices, areas, quotes). AGENTS.md lists them.
  • Book a test in the header, Book an eye test buttons, frame tiles, Ask for a home trial, Try a tint on, Book a visit in the footer lead to #visit, the booking form on the page now; point them to keep them once the form is connected, or link to your booking system.
  • Logo, navigation, menu, Browse frames, See this month's wall and footer links lead to #opening, #frames, #eye-test, #lenses, #home-trial, #visit, #sun and #workshop, sections of the page now; point them to keep them, or point them to your own pages.
  • Privacy link in the footer lead to #site-footer, the footer itself now; point them to your privacy policy page.
  • Instagram and Pinterest links in the footer lead to the networks' home pages now; point them to your own profiles, or remove them.
  • Scroll-driven animation runs when the browser supports it (Chrome, Edge and Safari 26.2 and later; 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.
  • The booking form sends nothing: connect it to a form service or your booking system. Without a page script there is no thank-you line after sending.
  • It is one page with no stock or checkout: the frame tiles and buttons lead to the booking form, and the privacy link points to the footer. Add your own privacy page.
  • The opening stack and the red wall it is dealt onto are built for five portraits, the lens viewer and its labels for five lenses, the home trial for three frames, the tints for four swatches and the sun photos for three: a different count needs the layout and scene adjusted.
  • The demo gives opening hours twice, in the first screen and in the visit section, and the two disagree on Saturday: set both to your own hours.

Questions about this optician website template

What do I get for $39?

The optician 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 optician template for client sites?

Yes. One purchase lets you build as many sites as you like with it, for your own practice 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 frames, lenses and prices?

Each frame is one tile with a photo, a name, a price and a material, and the prices are a plain list of rows. With Claude Code, Codex or Cursor you say it in a sentence, such as change Clementine to 225 and remove Noir, and the agent edits the tile; by hand you change the words. The wall takes more or fewer frames, its ragged pattern repeating every eight; the lens viewer is built for five lenses and the home trial for three frames, so a different count there needs the scene adjusted, which the agent can do from AGENTS.md. There is no shop, stock list or checkout: the frame tiles lead to the booking form, and the page works as the practice's front door. If you want a site with more pages that you edit without code, 8B's AI website builder makes one from a sentence about your business.

Does the booking form book appointments?

Not yet. The form asks for name, email, phone, what the visit is for, the best time and a note, and it sends nothing until you connect a form service such as Formspree or Netlify Forms, or your practice's own booking system. The pure HTML and CSS version shows no thank-you line after sending, so point the form at a thank-you page or add one. Requests then arrive as enquiries that your staff confirm, which suits a practice that books by phone or email.

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 frames, prices, hours 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 shops and studios

Other designs for independent shops that sell something made with care.

Jewelry: first screen

Goldsmith's studio: pieces with prices, where the gold comes from, five sittings from sketch to hand-over and a booking form.

Fashion brand: first screen

Outerwear label: a giant title with a portrait panel, four looks with prices, new arrivals and three stores.

Eye care clinic: first screen

Opticians or eye care clinic: eye exams, frames, lenses, children's care, prices and a booking form.

Lighting store: first screen

Lamp shop and showroom: six rooms on a sideways track, six lamp types, a weekend lamp loan and repairs.

Stationery shop: first screen

Independent stationer: five shelves, a paper library, a letterpress service and workshops.

Blood donation: first screen

Blood donor service: ways to give, blood group table, donor eligibility, mobile sessions and a booking form.

Sauna: first screen

Sauna

Free

Sauna for a bathhouse or day spa: timed passes.

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.