Input
Displays a text input built on the Base UI Input primitive, for text, email, password, file, and other native input types.
Installation
Bash
Usage
Examples
File
Required
Disabled
Invalid
The URL can't contain spaces.
API reference
Input
Extends the Base UI Input
primitive — all native input props apply.
| Prop | Type | Default |
|---|---|---|
type | "text" | "email" | "file" | "password" | … | "text" |
disabled | boolean | false |
required | boolean | false |
aria-invalid | boolean — destructive border and ring | — |
Inside a Field, invalid state is wired automatically.