Skip to main content

SearchField

Let users enter search terms or find specific items using a single-line input field.

boolean
Default: false

Disables the field, disallowing any interaction.

string

A short hint that describes the expected value of the field.

string

The current value for the field. If omitted, the field will be empty.

Was this section helpful?

(event: <"s-divider">) => void
(event: <"s-divider">) => void
(event: <"s-divider">) => void
(event: <"s-divider">) => void
Was this section helpful?

Code

<s-search-field placeholder="Search"></s-search-field>

Preview