Textarea
A multi-line text field with the Input's hairline that grows with its content.
Installation
Install Textarea from the Fluid Effect UI registry.
Basic
With Field
It grows with your text.
Invalid
Write at least 20 characters
Disabled
With a button
API Reference
Types come from the public API. A dash indicates no default is documented here.
Textarea props
Public source| Prop | Type | Default |
|---|---|---|
appearance | "default" | "editor" | — |
id | string | Required |
value | string | Required |
disabled | boolean | — |
readOnly | boolean | — |
invalid | boolean | — |
required | boolean | — |
name | string | — |
placeholder | string | — |
ariaLabel | string | — |
describedBy | string | — |
size | SizeVariant | 'default' |
shape | ShapeVariant | 'rounded' |
className | string | — |
onUpdate | (event: { readonly value: string; }) => NoInfer<Msg> | undefined | — |