ReadonlyariaAccessible label forwarded to the native element as aria-label.
ReadonlydisabledWhether this item is disabled.
ReadonlydisplayHow items are rendered inside the panel.
'icon-grid' (default) — compact grid of icon-only buttons; labels
appear as native tooltips on hover. Best when every item has an icon.'list' — icon + label in a vertical list (traditional menu style).ReadonlyiconSVG inner-content string for an optional icon (use UIIcons.Lucide.*).
ReadonlyidUnique identifier for this toolbar item.
ReadonlyitemEmitted when the user triggers an action on this item.
ReadonlyitemsItems to display in the dropdown panel.
ReadonlylabelHuman-readable label shown in the tool.
ReadonlyselectedThe id of the most recently triggered dropdown item.
ReadonlytooltipTooltip text shown on pointer hover.
Deactivate (un-check / un-press) this item.
No-op by default. Overridden by UIToggleTool to set
checked to false, enabling radio-style exclusivity in
UIToggleGroupTool.
ProtectedemitEmit a ToolActionEvent for this item.
The originating mouse event, or null for
programmatic triggers.
A toolbar command menu — the trigger label is always fixed and the panel lists discrete actions to invoke. Picking an item fires a
toolActionevent; nothing is "selected" in a persistent sense.When to use
UIDropdownToolvsUISelectTool:UIDropdownToolUISelectToolvaluemodel holds the selection<select>elementUse
UIDropdownToolfor things like an "Insert" menu, a "Format" menu, or any other list of commands the user invokes one at a time. Use UISelectTool when the user needs to pick a value that stays selected (e.g. font size, colour mode).Panel items are rendered as an icon grid by default (
displayMode="icon-grid"). Switch todisplayMode="list"for a traditional menu layout with icon + label per row.The panel is rendered via PopoverService (fixed-position, outside the toolbar DOM) so it is never clipped by
overflow: hiddenancestors.Example