Welcome to Vanilla Breeze
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
Unified design token scale display. Renders shadows, radii, borders, colors, or sizes based on the type attribute.
A single component for displaying any design token scale. The type attribute controls the visual rendering while sharing the same core API across all token categories.
Part of the Design System Pack.
Cards with applied box-shadow at each elevation step.
<token-specimen type="shadow" label="Elevation Scale"></token-specimen>
Squares with applied border-radius at each scale step.
<token-specimen type="radius" label="Corner Radius"></token-specimen>
Lines at each border width.
<token-specimen type="border" label="Border Widths"></token-specimen>
Swatches for color tokens.
<token-specimen type="color" tokens="primary,secondary,accent,success,warning,error" label="Brand Colors"></token-specimen>
Horizontal bars showing spacing values (same visualization as <spacing-specimen>).
<token-specimen type="size" tokens="xs,s,m,l,xl,2xl" label="Spacing Scale"></token-specimen>
Icons from the active icon set, rendered as a labelled grid. Useful for documenting which icons a design system uses. The size attribute controls icon size; the optional icon-set attribute switches sets (lucide, phosphor, tabler, etc.).
<token-specimen type="icon" tokens="home,search,settings,user,bell,heart,star,check,x,chevron-right,menu,trash" size="md" label="Core Icons"></token-specimen>
Switch icon sets to compare styles:
<token-specimen type="icon" tokens="home,search,user,heart" size="lg" icon-set="phosphor" label="Phosphor Set"></token-specimen>
Add the editable attribute to replace the computed-value cell in every row with an input. Editing a value writes the token as a CSS custom property on target (default :root), so the rest of the page updates live. Ignored for type="icon".
<token-specimen type="radius" editable tokens="xs,s,m,l,xl" label="Editable Radii"></token-specimen>
For type="color", values in hex format get a native color picker; oklch or named colors fall back to a text input.
<token-specimen type="color" editable tokens="primary,secondary,accent" label="Editable Colors"></token-specimen>
Listen for edits via token-specimen:change:
document.querySelector('token-specimen') .addEventListener('token-specimen:change', (e) => { console.log(e.detail); // { name: 'm', value: '0.75rem', token: '--radius-m', target: ':root' } });
Override tokens and prefix to display any set of CSS custom properties.
<token-specimen type="shadow" tokens="card,dropdown,modal" prefix="--my-shadow-" label="Custom Shadows"></token-specimen>
| Attribute | Values | Default | Description |
|---|---|---|---|
type | "shadow", "radius", "border", "color", "size" | — | Token type to display |
tokens | string | — | Comma-separated token names (defaults vary by type) |
prefix | string | — | CSS variable prefix (auto-set from type if omitted) |
show-values | boolean | true | Show computed token values |
label | string | — | Optional heading label |