Skip to main content
v0.1 dev

Component 01 · Actions

Button

Trigger an immediate action.

implementedPhase 2stable

Overview

Trigger an immediate action. It transforms explicit intent into a command or navigation event without changing the accessible name during processing.

When to use

Use HE/Button when you need to trigger an immediate action. Keep its role distinct from transport freshness, animal-health severity and model confidence.

Example

Atlantic · interactive specimen
<button class="he-button">Review herd</button><button class="he-button he-button--secondary">View evidence</button>

Anatomy

1leadingIcon
2label
3trailingIcon

Anatomy stays identical in Pasture and Atlantic. A responsive layout may wrap or stack parts, but reading order and focus order remain equivalent.

Variants and states

Variants

primarysecondarytertiarydangerinverse

States

defaulthoverpressedfocusdisabledloading

Accessibility

Use a verb label, expose loading with aria-busy, and keep the accessible name stable.

  • Maintain a visible keyboard focus indicator and a logical focus sequence.
  • Never rely on colour alone for operational, freshness or severity state.
  • Keep touch targets at least 44 × 44 px unless the target is an inline text link.

Cross-platform contract

SurfaceCanonical nameStatus
FigmaHE/Buttonstable
Web.he-buttonimplemented
FlutterHeButtonimplemented
Token rootcomponent.buttongenerated