Variation of a text input specifically for entering search queries.
The size
prop impacts font-size and height. Default is set to md
.
Inherits margin props.
Name | Default | Description |
---|---|---|
autoFocus | false | boolean Autofocus input on mount. |
placeholder | — | string Placeholder to show inside input when value is blank. |
value | — | string Input value. |
width | "xs" | "xs" | "sm" | "md" | "lg" | "auto" | "100%" Input width. |
size | "md" | "sm" | "md" | "lg" Input size. |