Textarea
Multi-line text. Accepts all native <textarea> attributes plus the props below.
autoResize grows the field with its content; showCount pairs with maxLength.
0/120
import { Textarea } from '@gg-software/ui';
<Textarea placeholder="Plain textarea" rows={3} />
<Textarea placeholder="With counter…" showCount maxLength={120} rows={3} />
<Textarea placeholder="Grows with content" autoResize />Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | content rendered inside the component |
size | "sm" | "md" | "lg" | md | |
status | "warning" | "error" | — | |
autoResize | boolean | false | grow the textarea to fit its content instead of scrolling |
showCount | boolean | false | show a character counter (pairs with `maxLength`) |
* required · generated from packages/ui/src/input/Textarea/Textarea.tsx