# Textarea

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

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { Textarea } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-textarea--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/inputs), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=177-367)

## Examples

### In a field

```tsx
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

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### Textarea

Also takes the attributes of the HTML element it renders.
