Textarea
The browser's own textarea in the Input's look, which grows with its text and can be dragged taller.
Usage
Examples
Appearances
appearance paints the field on the kit's one scale: solid, the default, soft on the grey wash, outline with only its line, and transparent with neither until it is hovered.
Sizes
size sets its padding and its least height: sm 56px, base 64px (the default) or lg 72px, its text lined up with an Input of the same size, the large one written at 16px on a phone.
Border radius
borderRadius sets its corners on the kit's one scale: none, xs 4px, sm 6px, base 8px (the default), lg 12px or xl 16px.
Disabled
disabled dims the textarea and stops it taking text, beside one as it is by default.
Invalid
error writes what is wrong under the textarea, turns its border to the destructive colour and describes it to screen readers, beside one without an error.
API Reference
Textarea
TextareaProps · components/Textarea/Textarea.types.tsIt also takes the props of <textarea>.