Basic Usage
Input Types
Different input types provide appropriate keyboards and validation on mobile devices:With Labels
Pair inputs with labels for accessible forms:Date & Time Inputs
Native date and time pickers use the browser’s built-in UI:Disabled State
API Reference
Input Parameters
Input type:
"text", "email", "password", "number", "tel", "url", "search", "date", "time", "datetime-local", "file".Placeholder text shown when the input is empty.
Initial value.
Form field name for submission.
Whether the input is non-interactive.
Whether the input is required for form submission.
Additional Tailwind CSS classes appended to the component’s built-in styles.
Protocol Reference
Input