InputGroup
Input field group with fluid hover and validation.
Installation
Install InputGroup from the Fluid Effect UI registry.
Basic
Multiple Fields
Error State
Please enter a valid email address.
API Reference
Types come from the public API. A dash indicates no default is documented here.
InputGroup props
Public source| Prop | Type | Default |
|---|---|---|
id | string | — |
hoverMode | "fluid" | "standard" | 'fluid' |
className | string | — |
children | View.Children<Msg, R> | ((presentation: Presentation) => View.Children<Msg, R>) | Required |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
InputField
Public source
| Prop | Type | Default |
|---|---|---|
index | number | 0 |
label | string | Required |
labelHidden | boolean | — |
icon | View.Content<Msg, R> | — |
error | string | — |
type | TextInputType | — |
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 | — |