BenixBenix DSv1.1.0

Textarea

Multi-line text input. Same label/error/helperText API as Input.

Examples

With label and helper

Max 280 characters.

<Textarea
label="Bio"
rows={3}
placeholder="Tell us about yourself..."
helperText="Max 280 characters."
/>

Error state

Description is required.

<Textarea
label="Description"
rows={3}
error="Description is required."
/>

API Reference

Props of the Textarea component.

PropTypeDefaultDescription
labelstring
requiredbooleanfalse
helperTextstring
errorstring | boolean
variant'outline' | 'filled''outline'
rowsnumber3