placeholder | string | The field's hint, which is also its accessible name. |
buttonTitle | string | Optional. Defaults to "Search". |
icon | IconRef | Optional. Drawn inside the field, before the text. |
width | 'narrow' | 'med' | 'wide' | Optional. |
note | string | Optional. Fine print under the suggestions, such as 'Suggestions are simulated on this device.' |
children | Children | Optional. The suggestions: <Toolbar.Search.Suggestion> rows, <Toolbar.Menu.Item> commands, and <Toolbar.Menu.Section>s
of them under a caption; at most 12 rows. Bundleware 0.4 and later. |
url | string | Optional. Opened in a new tab, with exactly one {q} for the search text. |
onSearch | (text: string) => void | Promise<void> | Optional. Runs instead of opening a URL, with the trimmed search text. Bundleware 0.4 and later. |