Skip to content
RivetUI

Input

Accepts a single line of native text, search, date, or numeric input.

@rivetui/input

Preview

Explore each composition interactively, then open its code in the same context.

Default

Use the native input type that matches the value being collected.

States

Populated, invalid, and disabled inputs share the same geometry and semantic state treatment.

Native types

Preserve browser behavior by forwarding native email, password, search, and date types.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/input
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

PropTypeDefault
typeHTMLInputTypeAttribute"text"
disabledbooleanfalse
aria-invalidboolean | stringfalse
Rivet UI / InputComponents engineered, not decorated.