Reference
Conventions, how-tos and decisions for building a site.
-
Accent button
Accent button .btn--accent A button in the theme's accent colour, for use on brand-filled panels.
-
Action bar
Action bar .actionbar Phone-only bar pinned to the bottom with one or two actions (call, WhatsApp, book). On a portal-enabled site: id="action-bar" data-kleaver-label="Call and trial buttons (phones)".
-
Alert & Toast
Alert = static inline message that stays: .alert--info|success|warn|danger, sub-elements .alert__title, .alert__body. Use role="note" (or role="alert" for errors that need immediate announcement). Toast = transient: call toast(message, {
-
Checklist
Checklist .checklist > li > .ico + div (strong, span) Icon-led list of selling points.
-
Chips
Chips ul.chips > li.chip (+ span.chip__meta) Short labels that wrap: delivery areas, brands stocked, areas served.
-
Choice control
Choice control — .choice
-
Consent banner
Consent banner — .consent + gated embeds
-
Contact card
Contact card .contact-card > .contact-card__icon, h3.contact-card__title, p.contact-card__value, p.contact-card__body, a .btn, p.contact-card__note The primary channel as a block (WhatsApp, phone) beside a form.
-
CTA band
CTA band .cta.cta--band Brand-filled closing band, copy left and button right.
-
Data-driven tokens
Data-driven tokens (build.js)
-
Enquiry form
Enquiry form — .enquiry + [data-enquiry]
-
Gallery
Gallery .gallery > figure.gallery__item > img.gallery__img (srcset, sizes, width, height, loading="lazy", alt) + figcaption.gallery__caption A responsive grid of photos (four columns wide, two on a phone). Every photo needs a description
-
Hero centred
Hero centred .hero.hero--center > .container.hero__content > .hero__badges (.badges), .hero__title, .hero__subtitle, .hero__actions, .hero__proof Landing page: centred copy and two prominent buttons. The glow is --surface-texture. The page
-
Hero photo
Hero photo .hero-photo > img.hero-photo__media (or a div with a background image), .hero-photo__scrim, .hero-photo__content.container with h1.hero-photo__title, p.hero-photo__subtitle, .hero-photo__actions (the second link is drawn light)
-
Hero split
Hero split .hero.hero--split > .hero__grid > .hero__content + .hero__media Left-aligned headline, actions and .hero__proof row beside a photo. <em> in the title takes the brand colour.
-
Layout helpers
Layout helpers (in base.css)
-
Map block
Map block — .mapblock
-
Markdown twins
Markdown twins — every page also ships as plain Markdown (scripts/markdown/)
-
Media
Media .media, --portrait, --wide, --natural; .media__card with __label, __value, __note Cropped photo with an optional floating fact card. Always set width/height and real alt.
-
Menu
Menu .carte > p.carte__notice + section.carte__section > h3.carte__title, p.carte__note, ul.carte__list > li.carte__item > .carte__head (__name, __price), __desc, __tags > __tag, __fine, __allergens A food or drink menu (.menu is the
-
Mockup
Mockup figure.mockup > .mockup__window[aria-hidden] (__bar, __side > __nav, __main > __head, __row > __cell, __sub, __when) + .mockup__caption An app window drawn in HTML so it follows the theme. Use plainly fictional sample data and say
-
Pay block
Pay block — .pay
-
Phase 1 integrations
Components for the Irish-SMB integration sprint. Specs in specs/integrations.md; personas in specs/personas.md. All three work without JavaScript and never expose card data to the page.
-
Point of sale
Point of sale — .pos
-
Price list
Price list {{business.priceList}} → ul.pricelist > li.pricelist__item > __name, __note, __time, __price (small.pricelist__from); optional p.pricelist__foot Services with a price. Two lines per item on a phone, one row from 720px. Written
-
Pricing extras
Pricing extras .pricing__badge, .pricing__cta Badge on the featured plan; button pinned to the bottom.
-
Review card
Review card — .review
-
Scheduler
Scheduler — .scheduler (extends .embed-gate)
-
Section
Section .section, .section--surface, .section--tight Vertical rhythm; alternate --surface to band the page.
-
Section head
Section head .section-head, --split, --center Eyebrow + h2 + intro. --split puts the intro beside the headline.
-
Sidebar nav / TOC
Sidebar nav / TOC — .sidenav
-
Slim footer
Slim footer footer.site-footer.site-footer--slim > .container.site-footer__bottom A single centred line (credit, copyright) instead of the full footer.
-
Split
Split .split, --wide-end, --wide-start, --center; .split__title Two columns that stack on small screens.
-
Spotlight
Spotlight .spotlight > .spotlight__media + .spotlight__body > .spotlight__copy + .spotlight__card (.spotlight__price, dl.spotlight__meta) Brand-filled panel for the one special offer: a retreat, a wedding package, vouchers, a resale shop.
-
Star rating
Star rating — .rating
-
Stat strip
Stat strip .stats.stats--strip > .stat > .stat__value + .stat__label Ruled row of figures. Add data-count for a count-up.
-
Steps row
Steps row .steps.steps--row Process steps across the page on wide screens.
-
Sticky header
Sticky header .site-header--sticky via client.json "nav": { "variant": "sticky" } Header that stays in view with a blurred fill.
-
Team cards
Team cards .team.team--cards Side-by-side coach/staff cards with monogram or photo.
-
Ticker
Ticker .ticker > .ticker__track > two .ticker__list Slow band of short phrases. Second list is a copy; mark the ticker aria-hidden when the content is repeated elsewhere.
-
Tiles
Tiles .tiles, .tiles--4 > .tile with __index, __title, __meta, __body; .tiles__note Ruled grid of short numbered facts: services, stations, inclusions.
-
Timetable
Timetable .timetable > .timetable__day > __name + __list > .timetable__slot (--accent) with __time, __class, __meta; .timetable__legend A week of classes. Scrolls sideways with snap on small screens.