Semantics
Visible label and generated described-by/error relationships.
Forms and selection · stable · MIT
A native single-line field with descriptions, adornments, and feedback.
Install editable source
Behavior contract
Visible label and generated described-by/error relationships.
Native input editing and selection.
Light and dark themes, logical RTL layout, reduced motion, responsive content, and forwarded public refs.
Source-derived reference
These public React parts are read directly from the canonical source during the documentation build.
GummyInputGummyInputPropsComposes Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & { label: React.ReactNode; description?: React.ReactNode; errorMessage?: React.ReactNode; successMessage?: React.ReactNode; leadingAdornment?: React.ReactNode; trailingAdornment?: React.ReactNode; wrapperClassName?: string; }
Troubleshooting
Implementation decisions
Use a text field when someone can enter a concise value that the service will validate and store or act on. Choose the native type, autocomplete purpose, input mode, and accessible name from the data contract rather than the desired appearance. Keep formatting hints outside the placeholder and preserve the entered value after recoverable errors. Test paste, autofill, mobile keyboards, invalid server responses, long unbroken values, zoom, and sensitive-data handling before shipping the form.
Live product source
The Component Lab exercises real source across default, focus, disabled, responsive, dark, reduced-motion, and RTL contexts.
Open the live Component LabInteractive inspection
Load the real component preview when you are ready to interact with its responsive, theme, and direction controls.
Editable source
The registry payload stays off the initial page request.