Skip to content
Forms

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

PropTypeDefaultDescription
invalidbooleannoneError border and aria-invalid.
resizebooleantruefalse locks the size.
rowsnumber3Starting height.
classNamestringnoneExtra classes. They win over Seed's, so you can adjust one thing without forking.

Accessibility

  • Use it inside Field for a label.