Input

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

Default

With description

Must be 3-20 characters.

Sizes

Props

PropTypeDefaultDescription
labelstring—Label text shown above the input.
descriptionstring—Helper text shown below the input.
errorMessagestring—Error message (replaces description).
placeholderstring—Placeholder text shown when empty.
size"sm" | "md" | "lg""md"The size of the input.
classNamestring—Additional CSS classes for the wrapper.