Bundleware, Toolbar Script Reference

Last site update 29th October 2026

Toolbar.Menu.Item

PartAPI 2
SignatureToolbar.Menu.Item: FunctionComponent<CommandProps>
Take it fromconst { Toolbar } = Bundleware;

Props

PropTypeDescription
titlestring
iconIconRefOptional.
tooltipstringOptional.
disabledbooleanOptional.
checkedbooleanOptional.
inkInkOptional. The tab's cap and icon colour; defaults to the toolbar's ink. Push buttons take no ink.
kind'tab' | 'button' | 'default'Optional. <Toolbar.Button> only: 'tab' (the default) stands on the shelf; 'button' is a Standard push button and 'default' the Default push button, centred in the bar, with a navy icon.
subtitlestringOptional. In a menu: secondary text after the title, such as 'after Kenny G'.
badgeBadgeOptional. In a menu: a badge at the end of the row, such as 'AD'. Gold unless it names an ink.
onAction() => void | Promise<void>Optional. Throwing or rejecting shows the message beside the command; it stays busy while a promise runs.
actionVNodeOptional. <Action.OpenInBrowser>, <Action.OpenWindow> or <Action.ShowPopup>.

Availability

Applicable versionsAPI 2 and higher
Bundleware0.3.0, build 2026.10.29