Component 30 · Overlays
Popover
Show lightweight contextual controls.
Overview
Show lightweight contextual controls. It raises contextual work above the current page and returns focus to the invoking control.
When to use
Use HE/Popover when you need to show lightweight contextual controls. Keep its role distinct from transport freshness, animal-health severity and model confidence.
Example
Evidence captured at 14:32:09 from RGB channel 2.
<div class="he-popover" style="position:relative;display:block">Evidence captured at 14:32:09 from RGB channel 2.</div>Anatomy
1Invoker
2Labeled surface
3Content/actions
4Focus return
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
Move focus only for interactive content and close on Escape and outside interaction.
- 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/Popover | review |
| Web | .he-popover | implemented |
| Flutter | HePopover | implemented |
| Token root | component.popover | generated |