Menu
Dropdown menu with keyboard navigation and ARIA menu semantics.
npx @slipstream-ui/cli@latest add menuUsage
Sections, icons, and destructive actions
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | Controlled open state. |
| onOpenChange | (open: boolean) => void | — | Called when the open state changes. |
Accessibility
- role=menu/menuitem with aria-haspopup/aria-expanded on the trigger.
- Arrow keys, Home/End, and Escape navigate and close the menu.
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+ — macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.