Input

Form input field with validation states and accessibility features.

Examples

Input Types

Sizes

States

API Reference

PropTypeDefaultDescription
type'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search''text'The type of input field.
placeholderstringundefinedPlaceholder text displayed when the input is empty.
disabledbooleanfalseWhen true, prevents the user from interacting with the input.
errorbooleanfalseWhen true, applies error styling to the input.
size'sm' | 'md' | 'lg''md'The size of the input field.