Input
Enter a single line of text.
Examples
Use controlled value / onChange or uncontrolled defaultValue. Prefix and suffix are decorative content. Standard name, required, type, form and aria-* properties are forwarded to the input; className and style apply to the container.
Password input
Use type="password" to mask input and show a visibility toggle. Customize the icon or hide the toggle when needed.
Clear and character count
Current text: Leaf Garden
Input API
Types
Import InputProps to describe component props. Option types in the API table link to their detailed fields above.
Forms and localization
Use name to include values in FormData. Uncontrolled fields follow form reset; reset controlled values in application state. Place controls in FormField for labels, help and errors. ConfigProvider supplies regional themes and translated built-in UI. Application labels and options are your responsibility.