Documentation
Components
Input

Input

type InputProps = ComponentProps<typeof Input>;
A list of the props available
PropTypeDefault ValueDescription
classNamestringundefinedThe CSS class name for styling the button.
valuestring''The current value of the input.
onChange(event: React.ChangeEvent<HTMLInputElement>) => voidundefinedA callback function to handle input value changes.
placeholderstringundefinedA short hint that describes the expected input.
disabledbooleanfalseIf true, the input will be disabled and cannot be interacted with.
requiredbooleanfalseIf true, the input must be filled out before submitting a form.
maxLengthnumberundefinedThe maximum number of characters allowed in the input.
type'text' | 'password' | 'email' | 'number' | 'tel' | 'url''text'The type of input to render (e.g., text, password, email, etc.).