Input

Used to retrieve user input.


Props

type

stringThe type of input

placeholder

stringThe placeholder text

label

stringLabel above the input

caption

stringInstructions on how to use the field

error

stringError message, replaces caption

disabled

booleanWhether the input is disabled

size

"small" | "medium"The size of the input

value

stringThe value of the input

onChange

functionThe function to call when the input changes

Error

Disabled

Prefix

Suffix

Loading

The loading state will replace the suffix with a spinner. The input will also be disabled.

Sizes