Skip to content
LyEve UI v0.60.1

Form controls

SearchInput

An input pre-styled with a search icon and an inline clear button. Renders as type="search" for the right keyboard hints on mobile.

Basic

Custom placeholder

Disabled

API

PropTypeDefaultDescription
value string''Bindable input value. Setting it to "" clears the input.
placeholder string'Search'Native placeholder.
disabled booleanfalseDisable the input.
oninput (value: string) => void no defaultFires on every keystroke and on clear.
class string no defaultExtra classes on the wrapper.
label string no defaultLabel rendered above the field.
id string no defaultThe input's id. Left out, it is a unique generated id. One passed in wins, and it is what a Label's for or a selector should aim at.
name string no defaultThe form field the query posts under.