Textarea

Data input

A multi-line text input with bind:value that grows with its text. Inside a Field it takes its id, label, description, error and disabled state from the Field.

import { Textarea } from '@limerdev/zest';
Textarea for AI tools (llms.txt)
Use for
Free text longer than a line: a comment, a description, a note on an order.
Don't
A single line of text: use Input. A Textarea without a label.

Examples

Basic

A Textarea grows with its text.

Invalid and disabled

A Field.Error marks the Textarea invalid; a disabled Field disables it.

Props

Every part also takes class (merged over its defaults), ref (bindable: the element), children, and child (a snippet that renders your own element, with props to spread on it).

Textarea

Prop Type Default Description
value bindable string | null – The text. Bindable.