API referencelayout
CommandPalette
Command palette for searchable actions grouped by category.
Functions
constructor__init__(commands=None, *, callbacks=None, width='100%', height=320) -> NoneparamcommandsIterable[dict[str, Any]] | None= NoneCommand definitions. Each command should include an id and
label; optional keys such as category, caption, icon,
icon_src, icon_size, or disabled are forwarded to the
frontend. icon uses bundled workflow icon names.
paramcallbacksdict[str, ActionCallback] | None= NoneCallback map keyed by command id. A callback receives the activated
command id. The map stays available as the callbacks attribute, and
on_click or on_action register callbacks for every activation.
paramwidthint | float | str | None= '100%'Widget width.
paramheightint | float | str | None= 320Widget height.
Returns
None