Input Field

v1.0.0

An input field for entering text and other data.

Interactive Implementation

Try typing in the field below and toggling validation.

Current Value: ""

Input API Reference

All available props for this component.

PropertyTypeDefaultDescription
variant"default" | "error""default"Visual validation state affecting border and focus ring colors.
size"default" | "sm" | "lg""default"Controls the vertical padding and font scale of the input canvas.
errorstringundefinedError message rendered below the field with destructive styling.
classNamestringundefinedAdditional utility classes merged into the root element.
disabledbooleanfalseDisables interaction and applies reduced opacity styling.
typeHTMLInputTypeAttribute"text"Native input type attribute for semantic data entry.
© 2026 Venti UI Labs. UI made right.