Components
Branding
6 components. Every one is themeable, keyboard operable, and configurable by data attribute, JSON or JavaScript.
Branding
Alert
A status message matched to its blast radius: a note, a warning, or an error to act on.
alertdefaultdismissed
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title |
string |
— | The headline of the message. |
textrequired |
string |
— | What happened and what to do about it. |
tone |
string |
"info" |
Which status the message carries. One of: info, success, warning, error, neutral |
actionLabel |
string |
— | Adds an action when set. |
actionHref |
string |
— | Where the action goes. |
dismissible |
boolean |
false |
Adds a close control. |
live |
boolean |
true |
Announce on render. Errors are assertive, everything else polite. |
Accessibility
- role="alert" is reserved for errors a person must act on; every other tone is role="status" and announced politely.
- The tone is carried by an icon and the wording as well as the tint, so meaning survives without colour (WCAG 1.4.1).
Design tokens
--lb-error-surface --lb-success-surface --lb-warning-surface --lb-info-surface
Branding
Announcement Banner
One piece of news at the top of the page, dismissible and remembered.
announcement-bannerdefaultdismissed
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
textrequired |
string |
— | What the announcement says. |
href |
string |
— | Where the announcement leads. |
linkLabel |
string |
"Read more" |
Text of the trailing link. |
icon |
string |
"megaphone" |
Leading glyph. |
dismissible |
boolean |
true |
Adds a close control. |
id |
string |
— | Storage key, so a dismissal survives a reload. Change it to show a new announcement. |
tone |
string |
"neutral" |
Which status the message carries. One of: neutral, info, success, warning |
Accessibility
- Announced politely through role="status" — an announcement is news, not an emergency, so it never interrupts.
- Dismissal is stored per id, so a returning reader is not shown the same banner forever; private browsing degrades to showing it again rather than throwing.
Design tokens
--lb-surface-2 --lb-outline --lb-r-md
Branding
Countdown
Time left until something happens, with an honest state for after it has.
countdowndefaultexpired
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
targetrequired |
string |
— | ISO date/time to count down to. |
title |
string |
— | What is being counted down to. |
expiredText |
string |
"This has now passed." |
Shown once the target is behind us. |
ctaLabel |
string |
— | Adds an action beneath the clock. |
ctaHref |
string |
— | Where the action goes. |
showSeconds |
boolean |
true |
Include the seconds column. |
Accessibility
- The clock updates visually but announces only once a minute, so a screen reader is not read a new number every second.
- The target is also rendered as a <time datetime> element, which is the exact, machine-readable value.
- Nothing here is a time limit on the reader — it is information about an event, not a countdown they must beat.
Design tokens
--lb-surface-2 --lb-outline --lb-type-h2
Branding
Partner Logos
Who you have worked with, as named marks rather than an anonymous logo wall.
partner-logosdefaultempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items |
array |
[] |
[{ name, slug?, src?, href? }] — slug uses Simple Icons, src uses your own image. |
title |
string |
"Worked with" |
Section heading. |
size |
number |
28 |
Mark size in pixels. |
brandStyle |
string |
"mark" |
mark keeps every logo at the kit's ink; tint uses each brand's own colour, corrected for contrast per theme. One of: mark, tint |
Accessibility
- Each logo carries its organisation's name as text or as an accessible name — a logo wall with no names is unreadable non-visually.
- Marks inherit the surrounding ink, so every one meets contrast in both themes rather than relying on a brand palette.
- A slug with no mark in the table renders a monogram at the same size, so a row of logos never contains a hole.
Design tokens
--lb-on-surface-2 --lb-outline-soft
Branding
Promo Banner
A full-width offer with an image, a headline and one action.
promo-bannerdefaulthoverfocusexpired
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
headlinerequired |
string |
— | The offer, in a few words. |
description |
string |
— | One supporting line. |
eyebrow |
string |
— | Small label above the headline. |
image |
string |
— | Background image URL. |
ctaLabel |
string |
"Find out more" |
Action text. |
ctaHrefrequired |
string |
— | Where the action goes. |
expires |
string |
— | ISO date. The banner hides itself once past. |
Accessibility
- Ink over an image sits on a scrim strong enough to hold 4.5:1 whatever the photograph does.
- One action per banner, and the action's name says what it does rather than "Click here".
Design tokens
--lb-r-lg --lb-overlay --lb-on-primary
Branding
Trust Badges
Guarantees and credentials, each stated in words rather than implied by a symbol.
trust-badgesdefaultempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items |
array |
[] |
[{ label, icon?, detail?, href? }] |
layout |
string |
"row" |
How the children are arranged. One of: row, grid |
title |
string |
— | Section heading. |
Accessibility
- Every badge carries a text label; a padlock or shield alone tells a screen-reader user nothing.
- Linked badges say where they go, so a certificate link is not a mystery destination.
Design tokens
--lb-surface-2 --lb-outline --lb-on-surface-2