AI UX PlaygroundNewsletterJoin 2K+ AI designers and PMs on Substack. New teardowns, patterns, and prompts as they drop.

Controls

Menu

The menu that pops out of a button or a long press.

Loading preview…

When to use

Use a menu to tuck secondary actions behind a button or long press, like Sort, Filter, or Duplicate. It keeps the screen calm while every option stays one tap away.

Props

PropValuesDefaultDescription
data-align"start" | "center"endWhich edge of the button it lines up with.
data-side"top"belowOpens above the button.
data-contextbooleanfalseContext menu for a long press on content.
data-destructiveon .ios-menu__itembooleanfalseRed item.
aria-checkedon .ios-menu__item"true"–Checkmark on the item.