Skip to main content
v0.1 dev

Component 29 · Overlays

Drawer

Display detail or an editor alongside the current view.

implementedPhase 2stable

Overview

Display detail or an editor alongside the current view. It raises contextual work above the current page and returns focus to the invoking control.

When to use

Use HE/Drawer when you need to display detail or an editor alongside the current view. Keep its role distinct from transport freshness, animal-health severity and model confidence.

Example

Atlantic · interactive specimen
<aside class="he-drawer" style="position:relative;transform:none;width:min(100%,420px)" aria-label="Device detail"><header class="he-drawer__header"><h3>AIEdge D1</h3></header><p>Device detail remains beside fleet context.</p></aside>

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

rightleftbottompersistent

States

openloadingerror

Accessibility

Modal drawers follow dialog focus rules; persistent drawers remain in normal reading order.

  • 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/Drawerstable
Web.he-drawerimplemented
FlutterHeDrawerimplemented
Token rootcomponent.drawergenerated