Component 09 · Forms
Checkbox
Toggle an independent option.
Overview
Toggle an independent option. It transforms operator input into a labeled domain value while preserving recoverable input through validation, delay and offline queuing.
When to use
Use HE/Checkbox when you need to toggle an independent option. Keep its role distinct from transport freshness, animal-health severity and model confidence.
Example
<label class="he-checkbox"><input type="checkbox" checked> Store encrypted archive</label>Anatomy
1Persistent label
2Control
3Help or error
4Sync state
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
States
Accessibility
The label and control share one target; indeterminate state is programmatic.
- 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
| Surface | Canonical name | Status |
|---|---|---|
| Figma | HE/Checkbox | stable |
| Web | .he-checkbox | implemented |
| Flutter | HeCheckbox | implemented |
| Token root | component.checkbox | generated |