Skip to content
SevenUI
Sign in
On this page

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.

PropTypeDefault
type"text" | "email" | "file" | "password" | …"text"
disabledbooleanfalse
requiredbooleanfalse
aria-invalidboolean — destructive border and ring—

Inside a Field, invalid state is wired automatically.

Was this page helpful?