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
Enter a valid email address
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| Prop | Type | Default |
|---|---|---|
type | TextInputType | 'text' |
element | InputElement<Msg> | — |
id | string | Required |
value | string | Required |
disabled | boolean | — |
readOnly | boolean | — |
invalid | boolean | — |
required | boolean | — |
name | string | — |
placeholder | string | — |
ariaLabel | string | — |
describedBy | string | — |
size | SizeVariant | — |
shape | ShapeVariant | — |
className | string | — |
onUpdate | (event: { readonly value: string; }) => NoInfer<Msg> | undefined | — |