Input
Example
Used to enter text, numbers, dates, etc as text.
Text
Checkbox
Radio
Other input types
Recommendations
- Use the correct input types where possible.
- Set a width on the input field.
max-w-proseis a good default. - Associate the input label with the input using the
forattribute. - Use native validation where possible.