Skip to content
Binary UIKit reference Stable

Menu

Dropdown action menu with declarative items and eyebrow-styled group headers.

Use Menu to place secondary actions behind one compact trigger. Use header items to group related actions. Group headers use the shared eyebrow typography recipe.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
childrenSnippetsnippetNoundefined
itemsMenuItem[]propNo[]
onOpenChange(open: boolean) => voidcallbackNoundefined
onSelect(item: MenuAction) => voidcallbackNoundefined
openbooleanbindingNofalse
sameWidthbooleanpropNofalse
triggerSnippet | Snippet<[Record<string, unknown>]> | undefinedsnippetNoundefined
triggerIconIconGlyphpropNoDotsThreeIcon
triggerLabelstringpropNoundefined
triggerMode'delegated' | 'legacy' | neverpropNoundefined

Examples

Source

Loading source