Input
A single-line text field. Always pair with a Label — never rely on placeholders alone.
Default
Disabled
Invalid
The invalid prop (or aria-invalid) applies a red border and exposes the invalid state to assistive tech.
Please enter a valid email.
Input types
Accessibility notes
- Always wire
htmlForon the Label toidon the Input. Without the pairing, screen readers won't announce the field's purpose. - Use
aria-describedbyto point to a sibling element with the validation message. Combine witharia-invalidfor assistive-tech-friendly errors. - The focus outline uses the accent token, giving 3:1+ contrast against every theme surface.