Skip to main content
  1. Docs
  2. Components
  3. Forms

Textarea

Several lines, with the Input look. It grows with its content, and no script measures it.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<textarea>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Playground

Every prop, live, and the code it takes.

note.tsx
import { Field, Textarea } from "@qeetrix/react";

<Field label="Note">
  <Textarea placeholder="e.g. Renewal due in November" maxRows={6} />
</Field>

02

Grows as you type

From rows to maxRows, then it scrolls. CSS field-sizing does it: no script measures it.

03

With a limit

Say the limit in the description; maxLength holds it.

Up to 200 characters. Your admin sees it.

04

Invalid, disabled, read-only

The same states as Input, from the field around it.

Add the PIN code.
Next — TextareaUsage