readonly ({
/** Stable identity, first in every execute path that starts at this entry. */
value: string;
/** Accessible name and tooltip. */
label: string;
/** Provider icon name. */
icon?: undefined | string;
/** Visible text beside the icon, or in place of a missing icon. */
text?: string | undefined;
/** Toolbar rows of the panel this entry opens in place of the keyboard; omitted for an immediate action. */
panel?: undefined | readonly ({
/** Stable row identity, prepended to configured entry event paths. */
value: string;
/** Accessible name for this row's semantic group. */
label: string;
/** Ordered controls using the same contract as a single-row toolbar. */
items: readonly ({
/** Stable identity used in emitted intents and keyed rendering. */
value: string;
/** Visible or accessible action name; separator entries may use an empty label. */
label: string;
/** Entry behavior; omission means an immediate action. */
kind?: "action" | "toggle" | "menu" | "selector" | "disclosure" | "split" | "group" | "separator" | "custom" | undefined;
/** Provider icon name; without an icon the action displays its label. */
icon?: string | undefined;
/** Normalized icon data; takes precedence over a provider icon name. */
iconData?: QuireKitIconData | undefined;
/** Runtime accent used by stateful artwork such as a current-color underline. */
iconAccentColor?: string | undefined;
/** Whether stateful artwork represents an explicitly cleared value. */
iconEmpty?: boolean | undefined;
/** Tooltip explanation; defaults to label. False is for an enclosing compound tooltip owner. */
tooltip?: string | false | undefined;
/** Keyboard shortcut shown in the tooltip, in reading order such as `["⌘", "B"]`; display only, never registered. */
shortcut?: readonly string[] | undefined;
/** Explanation shown while this entry is unavailable. */
disabledReason?: string | undefined;
/** Native trigger data attributes; keyboard and interaction properties remain component-owned. */
attributes?: Readonly<Record<`data-${string}`, string | number | boolean | undefined>> | undefined;
/** Menu trigger appearance; selector displays a current value, disclosure represents an operation. */
trigger?: "selector" | "disclosure" | undefined;
/** Show the public disclosure indicator; menu disclosures default to true. */
indicator?: boolean | undefined;
/** Disclosure or custom-control popup semantics; false represents a persistent external panel. */
popup?: false | QuireKitToolbarPopup | undefined;
/** Public floating-surface options for Menu and Popover content. */
overlayProps?: QuireKitToolbarOverlayProps | undefined;
/** Optional text shown next to the icon. */
text?: string | undefined;
/** Width in toolbar units, where one unit is an icon action and half units are
allowed. Omitted spans are derived from the entry kind in unit sizing; text
and custom controls keep their natural width unless a span is declared. */
span?: number | undefined;
/** Whether activation and roving focus are unavailable. */
disabled?: boolean | undefined;
/** Hidden entries are unmounted and excluded from keyboard navigation. */
hidden?: boolean | undefined;
/** Whether the entry is shown in mobile mode. Defaults to true; false keeps
desktop-only controls, such as launchers of desktop side panels, off touch toolbars. */
mobile?: boolean | undefined;
/** Host-defined metadata, such as a command id; never interpreted by Toolbar. */
meta?: unknown;
/** Default command parameters; custom renderers may supply a different payload. */
payload?: unknown;
/** Registry key for an arbitrary custom control using public Toolbar primitives. */
renderer?: string | undefined;
/** Registry key for a selector, disclosure, or split button's Popover body. */
contentRenderer?: string | undefined;
/** Popup body inset; none lets a composed list or picker own its outer spacing. Defaults to default. */
contentPadding?: "default" | "none" | undefined;
/** Controlled popup state; omission gives each mounted entry local state. */
expanded?: boolean | undefined;
/** Optional accessible description element id. */
describedBy?: string | undefined;
/** Split primary action name; defaults to label. */
actionLabel?: string | undefined;
/** Split primary explanation; defaults to its action name. */
actionTooltip?: string | false | undefined;
/** Split disclosure name; defaults to label. */
disclosureLabel?: string | undefined;
/** Split disclosure explanation; defaults to its disclosure name. */
disclosureTooltip?: string | false | undefined;
/** Disable only the split primary action. */
actionDisabled?: boolean | undefined;
/** Disable only the split disclosure. */
disclosureDisabled?: boolean | undefined;
/** Host-owned toggle state, also supported by a split entry primary action. */
pressed?: QuireKitToolbarToggleState | undefined;
/** Ordered children of a semantic group. */
children?: readonly QuireKitToolbarEntry[] | undefined;
/** Declarative menu entries for a menu trigger or split disclosure; takes precedence over split contentRenderer. */
items?: readonly QuireKitMenuEntry[] | undefined;
})[];
/** Exclude the row from layout and keyboard navigation. */
hidden?: boolean | undefined;
/** Inherited availability for every control in this row. */
disabled?: boolean | undefined;
})[];
/** Shown on the bar (default), or listed in the trailing More menu and opened from there. */
placement?: undefined | "more" | "bar";
/** Hidden entries take no place, as an object entry while no object is current. */
hidden?: boolean | undefined;
/** Unavailable entries keep their place. */
disabled?: boolean | undefined;
})[]