Interface: MenuProps<T>
Defined in: composites/Menu/Menu.tsx:89
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:120
Minimum distance (px) the popover keeps from the viewport edges when positioning.
crossOffset?
optionalcrossOffset?:number
Defined in: composites/Menu/Menu.tsx:109
Popover offset (px) along the cross axis of placement.
evaluation?
optionalevaluation?:"primary"|"secondary"|"accent"|"muted"|"negative"
Defined in: composites/Menu/Menu.tsx:97
Semantic emphasis for the overlay surface.
Default
'primary'
offset?
optionaloffset?:number
Defined in: composites/Menu/Menu.tsx:105
Popover offset (px) from the trigger.
placement?
optionalplacement?:Placement
Defined in: composites/Menu/Menu.tsx:101
Popover placement relative to the trigger.
shouldFlip?
optionalshouldFlip?:boolean
Defined in: composites/Menu/Menu.tsx:115
Whether the popover flips to the opposite side when it would overflow the viewport.
Default
true