Browse components

Input

Labeled form input with visual variants for validation states. Use it for structured data entry in forms and settings.

atoms 4 variants
Variants / states: defaultsuccesswarningerror

Live example

Default usage you can copy and adapt.

Default

Use a clear label and an appropriate input type.

Validation states

Use variants to reflect validation state with accompanying messaging in your form.

Props

The props you are most likely to need, with types and defaults.

Props / API
NameTypeRequiredDefaultDescription
valuestringNo—Input value
typestringNotextInput type
labelstringNo—Input label
placeholderstringNo—Input placeholder
variantstringNodefaultInput variant