BoM Daily / design

components

Button

The primary action control. Built on the Savi tone and emphasis model: tone sets the intent, emphasis sets the visual weight against that tone's color ramp. Touch-first, md is 48px tall.

Emphasis

Four weights, mapped to the tone's ramp: solid (base), soft (muted), outline, and ghost. Shown at the primary tone.

solid
soft
outline
ghost

Tones, solid

The eight semantic intents at solid emphasis.

neutral
primary
secondary
accent
success
warning
danger
info

Tones, soft

The same intents at soft emphasis, for quieter actions.

neutral
primary
secondary
accent
success
warning
danger
info

Sizes

Touch-first. sm 40px, md 48px, lg 56px.

sm
md
lg

With icons

Leading and trailing icon slots.

leading
trailing

States

Disabled, loading, and full width.

disabled
loading

Props

PropTypeDefaultDescription
toneToneprimarySemantic intent: neutral, primary, secondary, accent, success, warning, danger, info.
emphasisEmphasissolidVisual weight: solid, soft, outline, ghost.
sizeControlSizemdsm (40px), md (48px), lg (56px).
fullWidthbooleanfalseStretch to the container width.
loadingbooleanfalseShow a spinner and disable interaction.
leadingIconReactNodenoneIcon before the label.
trailingIconReactNodenoneIcon after the label.
asChildbooleanfalseRender as the child element (e.g. a link) keeping styles.