Input

A text input field with label, description, and validation support.

Default

With description

Must be 3-20 characters.

Sizes

Props

PropTypeDefaultDescription
labelstringLabel text shown above the input.
descriptionstringHelper text shown below the input.
errorMessagestringError message (replaces description).
placeholderstringPlaceholder text shown when empty.
size"sm" | "md" | "lg""md"The size of the input.
classNamestringAdditional CSS classes for the wrapper.