Textarea
Forms · src/components/Textarea/Textarea.tsx
Several lines of text.
No size prop: a textarea's height is what the content needs, set with rows or by the layout, and a control-height scale would only fight that.
Import
import { Textarea } from '@redrob-labs/ui';
Rendered
The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.
Props
| Prop | Type | Notes |
|---|
invalid |
boolean |
Marks the control invalid without printing a message. error implies it. |
Also accepts everything on FieldShellProps, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'style' | 'id'>.