Toolbar.Module
PartAPI 2Bundleware 0.4 and later.
| Signature | Toolbar.Module: FunctionComponent<ModuleProps> |
|---|
| Take it from | const { Toolbar } = Bundleware; |
|---|
Props
| Prop | Type | Description |
|---|
title | string | |
subtitle | string | Optional. The second line, such as '+2.1° from 3 nearby data centers'. Dropped at the Medium level. |
icon | IconRef | The glyph on the ink tile: an Icon, tinted with the ink's label colour, or your own SVG, which keeps its colours. |
ink | Ink | Optional. The cap and tile; defaults to the toolbar's ink. |
tooltip | string | Optional. |
disabled | boolean | Optional. |
onAction | () => void | Promise<void> | Optional. Throwing or rejecting shows the message beside the command; it stays busy while a promise runs. |
action | VNode | Optional. <Action.OpenInBrowser>, <Action.OpenWindow> or <Action.ShowPopup>. |
Availability
| Applicable versions | API 2 and higher |
|---|
| Bundleware | 0.3.0, build 2026.10.29 |
|---|