Orbit UI

Menu

Anchored list of actions or options. Part of the Navigation family.

Live demo

Paste ⌘V
Copy ⌘C
Cut ⌘X
Select all ⌘A

Usage

<span class="orbit-menu" role="group" aria-label="menu">
  <!-- Menu composition: container, content, state layer -->
</span>

Anatomy

1. Container  2. State layer  3. Content (label / icon)  4. Focus ring. Optional: badge, supporting icon on the end side.

Properties

PropertyType / valuesDescription
Variant`filled` · `tonal` · `outlined` · `text`Visual emphasis of the control.
Disabled`boolean`Removes the control from the tab order and applies the 38% on-surface opacity.
Size class`compact` · `medium` · `expanded`Window-size adaptation; the default resolves from the container.
Density`0` – `3`Progressively tighter vertical rhythm, docked at 36px minimum.

Design tokens

This component reads --md-menu-container, --md-on-surface, --md-outline and elevation levels 0–2. The full reference ships in the token bundle.