Textarea
Several lines of text.
import { Textarea } from "@flinbu/seed";Basic
import { Textarea } from "@flinbu/seed";
<div className="w-full max-w-sm">
<Textarea placeholder="Describe the change" rows={4} />
</div>Use it for
- Notes, descriptions, messages.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
invalid | boolean | none | Error border and aria-invalid. |
resize | boolean | true | false locks the size. |
rows | number | 3 | Starting height. |
className | string | none | Extra classes. They win over Seed's, so you can adjust one thing without forking. |
Accessibility
- Use it inside Field for a label.