Component

Button group

Pick one of few

may defer

This page is a reusable-component split from the source checklist row Button group / segmented. The source row remains authoritative.

ContractButton group / segmented
Job
Pick one of few
Requirement
may defer
States / rules
Selected + keyboard
Specified means
If used: selected state
Hardest context
Filter pills at sm
Example

Draft / Published filter

Counter-example

Three unrelated buttons

Preview

Preview — not a published component API.

Usage

Job: Pick one of few.

If used: selected state

When not to use

Do not use a group to imply single selection; use Segmented control when the job is choosing one of a few mutually exclusive modes.

Variants

The checklist row does not authorize this page to invent a final component API. Where the source rule names a variant, preserve it; otherwise keep the implemented variant set minimal and job-driven.

States & behavior

Selected + keyboard

Universal interactive baseline

Default, Hover, Focus, Active/Pressed, and Disabled apply to interactive controls. Error, Loading, Empty, and Success apply where the component takes or reports data.

Accessibility

  • Use native semantics whenever they match the job.
  • Keep keyboard focus visible and distinct from hover.
  • Do not rely on color alone for state.
  • Maintain touch-operable targets and no hover-only actions.
  • For composite/overlay controls, document focus movement, Escape, and return focus as applicable.

Responsive behavior

Document sm/md/lg behavior explicitly: whether the component reflows, collapses, changes density, or stays structurally the same. Preserve touch targets and avoid hover-only behavior.

Theme comparison

The component job and interaction contract stay stable while product expression changes.

Base
Editorial
Native

Tokens

Bind the implementation to semantic roles for surface, text, border, focus, spacing, shape, and motion as needed. Actual token names must come from the implemented Foundation; this demo deliberately does not mint package-level token names.

Code / Storybook

No shared Building Blocks implementation is claimed here.

When this component exists in code, this section should link to its source and Storybook stories for executable states, Controls, viewport, accessibility checks, and interaction tests. The documentation page remains responsible for job, guidance, source contract, product decisions, themes, and Catalog lineage.