← Design system

Input

Interactive examples and usage for the Input component.

Examples

Required field

Props

PropTypeDefaultDescription
valuestring''Input value (bindable)
labelstringundefinedLabel text above the input
size'sm' | 'md' | 'lg''md'Input size
state'default' | 'error' | 'success''default'Visual validation state
helperTextstringundefinedHelper text below the input
errorMessagestringundefinedError message shown in error state
requiredbooleanfalseMark the field as required
fullWidthbooleanfalseExpand to fill container width
disabledbooleanfalseDisable the input

Keyboard

KeyAction
TabFocus the input field
Any characterEnter text