Interface: MenuProps<T>
Defined in: composites/Menu/Menu.tsx:92
Props for the Menu component.
The composite owns its layout; pass style/className on a wrapping
element rather than on the composite root. See CONTRIBUTING §4.
Extends
Omit<RACMenuProps<T>,"style"|"className">
Type Parameters
| Type Parameter |
|---|
T extends object |
Properties
containerPadding?
optionalcontainerPadding?:number
Defined in: composites/Menu/Menu.tsx:123
Minimum distance (px) the popover keeps from the viewport edges when positioning.
crossOffset?
optionalcrossOffset?:number
Defined in: composites/Menu/Menu.tsx:112
Popover offset (px) along the cross axis of placement.
evaluation?
optionalevaluation?:"primary"|"secondary"|"accent"|"muted"|"negative"
Defined in: composites/Menu/Menu.tsx:100
Semantic emphasis for the overlay surface.
Default
'primary'
offset?
optionaloffset?:number
Defined in: composites/Menu/Menu.tsx:108
Popover offset (px) from the trigger.
placement?
optionalplacement?:Placement
Defined in: composites/Menu/Menu.tsx:104
Popover placement relative to the trigger.
shouldFlip?
optionalshouldFlip?:boolean
Defined in: composites/Menu/Menu.tsx:118
Whether the popover flips to the opposite side when it would overflow the viewport.
Default
true