MenuA list of actions anchored to a trigger, placed by the anchoring engine.
using eQuantic.UI.Components;
Items = [ new MenuItem("Share") { Icon = Icons.Share },
new MenuItem("Delete") { Icon = Icons.Trash, Destructive = true } ],
Placement = AnchorPlacement.BottomStart,
Prop
Type
Default
Description
Placement
AnchorPlacement
BottomStart
Preferred side; flips when it would leave the viewport.
Item.Icon
Icons?
null
Optional leading glyph — all items or none.
Item.Destructive
bool
false
Destructive colour; always the last item.
Item.Disabled
bool
false
0.38, not selectable.
Open
Elevated surface, first item highlighted
Item pressed
Flash, commit, close
•
Role menu / menuitem announcing "Share, 1 of 3". Escape closes and returns focus to the trigger.
•
Overflow actions and contextual object actions.
•
Navigation destinations.
NOTEEvery dimension resolves through Sizing.*(SizeVariant) and the token scales — never a literal. Source: src/eQuantic.UI.Components/Menu.cs.