Sami Vuori Design system Back to site →

Badges

A row of small labels: the client in its brand colour, the discipline in black.

sm: work cards
Happeo Product Design
<Badges items={[
  { label: 'Happeo', color: 'var(--color-accent-happeo)' },
  { label: 'Product Design', color: 'var(--color-bg-inverse)' },
]} />
lg: article header (date, client, reading time) and core skills
01–06/2025 Happeo 6 min read

Usage

Props

PropTypeDefaultDescription
items { label: string; color?: string }[] — Labels; color is any CSS colour, usually a token.
size 'sm' | 'lg' 'sm' sm on cards, lg in the article header and Core skills.

Tokens

Token Base≥ 390≥ 1024 Note
--spacing-badge-x var(--spacing-sm)
--spacing-badge-y 2px
--radius-badge 4px
--radius-tag 6px
--type-badge-size 12px14px16px
--type-badge-lg-size 16px22px article header badges