Component 16 · Navigation
Top bar
Provide global product context and account actions.
Overview
Provide global product context and account actions. It preserves organization, region, farm and entity scope while the user changes location or peer view.
When to use
Use HE/Top bar when you need to provide global product context and account actions. Keep its role distinct from transport freshness, animal-health severity and model confidence.
Example
<header class="he-topbar"><a class="he-brand" href="#"><span class="he-brand__mark">HE</span>HealthEye</a><span class="he-badge he-badge--healthy">Synchronized</span></header>Anatomy
1Landmark
2Item or trigger
3Current state
4Destination
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
Use a landmark, skip link, logical focus order, and visible current location.
- 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/Top bar | stable |
| Web | .he-topbar | implemented |
| Flutter | HeTopBar | implemented |
| Token root | component.topbar | generated |