Input
Displays a text input built on the Base UI Input primitive, for text, email, password, file, and other native input types.
Displays a text input built on the UI SDK Input component, for text, email, password, file, and other native input types.
Installation
Usage
Examples
File
Required
Disabled
Invalid
API reference
The UI SDK flavour is built on UI SDK Input. Its API is the SevenUI wrapper's, the same in both flavours: export names, props, data-slot values and the render prop, so code that uses only the SevenUI exports compiles against either flavour. Nothing a reader would notice behaves differently. Switch to Base UI to read the prop tables, which describe that shared API in Base UI's terms.
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.