Components
Creator
8 components. Every one is themeable, keyboard operable, and configurable by data attribute, JSON or JavaScript.
Creator
Booking Widget
Bookable slots with duration and price, linking out to a scheduler.
booking-widgetdefaultloadingempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title |
string |
"Book a session" |
Heading. |
description |
string |
— | What the session is for. |
slots |
array |
[] |
[{ label, duration, price?, href, note? }] |
currency |
string |
"USD" |
ISO 4217 code. |
timezone |
string |
— | Timezone note shown beneath the list. |
loading |
boolean |
false |
Renders the skeleton state, preserving the final layout exactly so nothing shifts on resolve. |
Accessibility
- Each slot is one link whose accessible name carries the type, the length and the price together.
- The timezone is stated in text, because an unstated timezone is the most common booking failure.
Design tokens
--lb-surface --lb-outline-strong
Creator
Calendar
A month grid marking the days that have something on them.
calendardefaultempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
month |
string |
— | ISO year-month, e.g. 2026-10. Defaults to the current month. |
events |
array |
[] |
[{ date, label, href? }] |
weekStart |
number |
1 |
0 for Sunday, 1 for Monday. |
showList |
boolean |
true |
Lists the month's events beneath the grid. |
Accessibility
- The grid is a table with a caption and column headers, because a month is tabular data — not a div grid.
- A day with events is marked with a dot and a visually hidden count, so the mark is never colour alone.
- The event list beneath the grid is the representation the grid is drawn from, not a fallback.
Design tokens
--lb-surface --lb-outline-soft --lb-primary
Creator
Course Card
A course with its length, level, price and progress if someone is already enrolled.
course-carddefaultenrolledhoverfocus
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
titlerequired |
string |
— | Course title. |
hrefrequired |
string |
— | Enrolment or course URL. |
description |
string |
— | What it teaches. |
lessons |
number |
— | Number of lessons. |
duration |
string |
— | Total length, e.g. "4 hours". |
level |
string |
— | Who it is for. One of: beginner, intermediate, advanced |
price |
number |
— | Price. Omit or 0 for free. |
currency |
string |
"USD" |
ISO 4217 code. |
image |
string |
— | Course image URL. |
progress |
number |
— | 0–100 for an enrolled learner. Switches the action to Continue. |
ctaLabel |
string |
— | Action text. Defaults by state. |
Accessibility
- Progress is a real progressbar with aria-valuenow, and the percentage is also in text.
- The action's verb changes with state — Enrol before, Continue during — so the button never lies about what happens.
Design tokens
--lb-surface --lb-outline --lb-primary --lb-surface-3
Creator
Email Capture
A single-purpose email field for a lead magnet or an update list.
email-capturedefaultfocusinvalidloadingsuccess
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label |
string |
"Email address" |
Visible field label. |
headline |
string |
— | One line above the field. |
submitLabel |
string |
"Send it" |
Button text. |
placeholder |
string |
"you@example.com" |
Example value. |
hint |
string |
— | Constraint or reassurance, stated before it is needed. |
action |
string |
— | Form POST endpoint. |
layout |
string |
"inline" |
How the children are arranged. One of: inline, card |
list |
string |
— | List identifier passed through with the submit event. |
Accessibility
- The field and its button share one boundary and one focus ring, drawn on the group rather than on each child.
- autocomplete="email" and inputmode are set, so autofill works and phones show the right keyboard (WCAG 3.3.8).
Design tokens
--lb-surface --lb-outline-strong --lb-r-md
Creator
Event Card
One date: what, when, where, and how to get in.
event-carddefaultfew-leftsold-outcancelledpast
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
titlerequired |
string |
— | Event name. |
startrequired |
string |
— | ISO start date/time. |
end |
string |
— | ISO end date/time. |
venue |
string |
— | Where it happens. |
city |
string |
— | City or region. |
description |
string |
— | One or two lines about the event. |
href |
string |
— | Tickets or details URL. |
ctaLabel |
string |
"Get tickets" |
Action text. |
status |
string |
"onsale" |
One of: onsale, few, soldout, cancelled |
image |
string |
— | Event image URL. |
timezone |
string |
— | IANA zone for display, e.g. Europe/Lisbon. |
Accessibility
- The date is a <time datetime> element, so the exact instant is machine-readable while the display stays human.
- Status pairs a dot with words — "Sold out" is text, not a greyed-out button with no explanation.
Design tokens
--lb-surface --lb-outline --lb-warning --lb-r-lg
Creator
Membership CTA
An invitation to join a paid tier, with the benefits listed and the price honest.
membership-ctadefaulthoverfocus
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
titlerequired |
string |
— | Tier name. |
description |
string |
— | Who it is for and why. |
price |
number |
— | Amount per period. |
currency |
string |
"USD" |
ISO 4217 code. |
period |
string |
"month" |
Billing period. |
benefits |
array |
[] |
What members get. |
members |
number |
— | How many people have already joined. |
hrefrequired |
string |
— | Where joining happens. |
ctaLabel |
string |
"Become a member" |
Action text. |
platform |
string |
— | Simple Icons slug, e.g. patreon. |
note |
string |
— | Small print, e.g. cancellation terms. |
Accessibility
- Benefits are a real list, so the number of them is announced rather than run together.
- The platform is named in text as well as marked with a logo, since a logo alone is not a name.
Design tokens
--lb-surface --lb-primary --lb-r-lg
Creator
Newsletter Signup
An email form with the promise, the cadence and the unsubscribe terms stated up front.
newsletter-signupdefaultfocusinvalidloadingsuccess
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title |
string |
"The Quiet Hour" |
Newsletter name. |
description |
string |
— | What subscribers get. |
cadence |
string |
— | How often, e.g. "Monthly, roughly". |
subscribers |
number |
— | How many people already subscribe. |
action |
string |
— | Form POST endpoint. Without it the kit emits lb:submit for the host to handle. |
submitLabel |
string |
"Subscribe" |
Button text. |
placeholder |
string |
"you@example.com" |
Example value, never a label substitute. |
consent |
string |
— | Consent line, e.g. unsubscribe terms. |
list |
string |
— | List identifier passed through with the submit event. |
Accessibility
- A visible label is always present — the placeholder is an example, not a label.
- Validation runs on submit, never on keystroke, so a half-typed address is not flagged as wrong.
- Errors name the fix and are announced through role="alert"; success replaces the form rather than clearing it silently.
Design tokens
--lb-surface --lb-outline-strong --lb-field-h --lb-error
Creator
Waitlist
A queue to join, with the position count and what happens next made explicit.
waitlistdefaultloadingsuccessclosedinvalid
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title |
string |
"Join the waitlist" |
Heading. |
description |
string |
— | What people are waiting for. |
count |
number |
— | How many are already waiting. |
opensOn |
string |
— | ISO date the list opens. |
action |
string |
— | Form POST endpoint. |
submitLabel |
string |
"Join" |
Button text. |
closed |
boolean |
false |
Shows the closed state instead of the form. |
closedReason |
string |
— | Why it is closed, and when it reopens. |
Accessibility
- The closed state explains itself instead of showing a dead form.
- Success replaces the form with a confirmation that repeats the address, so it can be checked for typos.
Design tokens
--lb-surface --lb-outline-strong --lb-success