Textarea

Collects longer free-form text across multiple lines. Use it for notes, descriptions, feedback, and other responses that may need room to grow.

React

Ready

Figma

React examples

In a field

Shown to the next operator when they sign in.

import { Field, FieldDescription, FieldLabel, Textarea } from "@kela-systems/ui-components";

export default function TextareaDefault() {
  return (
    <Field className="w-full max-w-sm">
      <FieldLabel htmlFor="handover-note">Handover note</FieldLabel>
      <Textarea id="handover-note" placeholder="What should the next shift know?" rows={4} />
      <FieldDescription>Shown to the next operator when they sign in.</FieldDescription>
    </Field>
  );
}

Props

Textarea

No props of its own. It also takes the attributes of the HTML element it renders.

Read this page as Markdown

Search ARK

Find a page, a primitive or a component.