Called with the trimmed query when the form is submitted.
OptionalonOverrides the advanced-options button action; defaults to toggling the app drawer.
OptionalplaceholderPlaceholder text for the input. Defaults to "Search for products...".
OptionalshowWhether to show the advanced-options button.
OptionalautoWhen true, focuses the query input on mount (e.g. on entering the search panel).
Props for SearchForm. Controls submit handling, the advanced-options button behavior, and the input's placeholder text.
Example
Source