Textarea
UI element for multi-line text input, enabling users to enter data or information.
Usage
import { Textarea } from "@lemonsqueezy/wedges";<Textarea />API Reference
In addition to all the props defined as TextareaHTMLAttributes<HTMLTextAreaElement>, Textarea component also includes the following props:
| Prop | Value | Default |
|---|---|---|
description | ReactNode | / |
destructive | boolean | false |
disabled | boolean | false |
helperText | ReactNode | / |
label | ReactNode | / |
required | boolean | false |
tooltip | ReactNode | / |
Examples
The textarea in the example below is marked as required. It also includes a tooltip and is styled with a destructive theme.
Helper text
More examples:
Helper text