Skip to content

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

Disabled

With a button

API Reference

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

Textarea props

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