Input

Text inputs with three sizes and an invalid state, forwarding everything else to the native input.

Props

PropTypeDefaultDescription
size'sm' | 'md' | 'lg''md'Control size: sm / md / lg
invalidbooleanfalseInvalid state: red border plus aria-invalid
...restInputHTMLAttributes—Remaining props are forwarded to the native input