Components
Social
5 components. Every one is themeable, keyboard operable, and configurable by data attribute, JSON or JavaScript.
Social
Contact Buttons
Direct ways to reach someone: email, phone, calendar, address.
contact-buttonsdefaulthoverfocusempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
email |
string |
— | Email address. |
phone |
string |
— | Phone number in any format; punctuation is stripped for the tel: link. |
calendarHref |
string |
— | Booking link. |
address |
string |
— | Street address. |
addressHref |
string |
— | Map link for the address. |
subject |
string |
— | Pre-filled email subject. |
layout |
string |
"stack" |
How the children are arranged. One of: stack, grid |
labels |
object |
— | Override the button text, e.g. { email: "Say hello" }. |
Accessibility
- Each button states the channel, not just "Contact", so the destination is never a surprise.
- The address and email are exposed as text as well as links, so they can be read or copied without launching an app.
Design tokens
--lb-surface --lb-outline-strong
Social
Follow Buttons
Named follow actions with an optional count, using each platform's own verb.
follow-buttonsdefaulthoverfocusempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items |
array |
[] |
[{ platform, href, count?, label? }] |
layout |
string |
"stack" |
How the children are arranged. One of: stack, grid |
showCounts |
boolean |
true |
Paints the audience figure beside the verb. |
newTab |
boolean |
true |
Opens in a new tab. |
brandStyle |
string |
"mark" |
How much of each service's identity to spend. mark is monochrome; tint colours the logo; outline and solid colour the control. One of: mark, tint, outline, solid |
Accessibility
- The verb matches the platform — Subscribe on YouTube, Follow on Instagram — because that is the word the reader meets on arrival.
- Counts are abbreviated visually while the exact figure stays in the accessible name.
Design tokens
--lb-surface --lb-outline-strong
Social
Messaging Apps
Chat channels — WhatsApp, Telegram, Signal, Discord — with an optional pre-filled message.
messaging-appsdefaulthoverfocusempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items |
array |
[] |
[{ app, handle, href?, message? }] where app is whatsapp, telegram, signal, discord, messenger or sms. |
layout |
string |
"grid" |
How the children are arranged. One of: stack, grid |
message |
string |
— | Default pre-filled message for every app that supports one. |
note |
string |
— | A line under the row, e.g. reply times. |
brandStyle |
string |
"mark" |
How much of each service's identity to spend. mark is monochrome; tint colours the logo; outline and solid colour the control. One of: mark, tint, outline, solid |
Accessibility
- Each link names the app it opens, so a reader knows what will launch before they tap.
- Pre-filled text is URL-encoded, so punctuation and line breaks survive the handoff.
Design tokens
--lb-surface --lb-outline
Social
Social Icons
A row of platform marks. Compact, and every one carries a real name.
social-iconsdefaulthoverfocusloadingempty
Preview
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items |
array |
[] |
[{ platform, href, label? }] |
size |
string |
"md" |
Control size. One of: sm, md |
variant |
string |
"ghost" |
Visual treatment. All variants share one behaviour and one API. One of: ghost, outline, filled |
align |
string |
"center" |
Horizontal alignment of the block's content. One of: center, left, space-between |
newTab |
boolean |
true |
Opens each profile in a new tab. |
label |
string |
"Social profiles" |
Accessible name for the row. |
brandStyle |
string |
"mark" |
How much of each service's identity to spend. mark is monochrome; tint colours the logo; outline and solid colour the control. One of: mark, tint, outline, solid |
loading |
boolean |
false |
Renders the skeleton state, preserving the final layout exactly so nothing shifts on resolve. |
Accessibility
- Each mark is an anchor with a name like "Instagram" — the logo alone is not a name.
- Brand marks are masked SVG inheriting currentColor, so they meet contrast in both themes without a per-brand override.
Design tokens
--lb-control-h --lb-on-surface-2 --lb-scrim
Social
Social Counters
Audience figures across platforms, as a row of numbers rather than a row of buttons.
social-countersdefaultloadingemptyPreview
Usage
Props
itemsarray[]totalbooleanfalsetotalLabelstring"Total audience"loadingbooleanfalsecompactbooleantrueAccessibility
Design tokens
--lb-type-h3--lb-on-surface-3