Skip to content

Input

A single-line text field in the Select trigger's hairline, with a neutral focus border.

Installation

Install Input from the Fluid Effect UI registry.

Basic

With Field

Choose a unique username for your account.

Invalid

Disabled

Types

With a button

API Reference

Types come from the public API. A dash indicates no default is documented here.

Input props

Public source
PropTypeDefault
typeTextInputType'text'
elementInputElement<Msg>—
idstringRequired
valuestringRequired
disabledboolean—
readOnlyboolean—
invalidboolean—
requiredboolean—
namestring—
placeholderstring—
ariaLabelstring—
describedBystring—
sizeSizeVariant—
shapeShapeVariant—
classNamestring—
onUpdate(event: { readonly value: string; }) => NoInfer<Msg> | undefined—