# Textarea (Andromeda Legacy)

Textarea is a component of the free, MIT-licensed Andromeda Legacy design system from AI Canvas (https://aicanvas.me). Index of every system, component and install setup: https://aicanvas.me/llms.txt

Multi-line counterpart to Input. Same border / focus / error behavior, vertical resize.

- Design system: [Andromeda Legacy](https://aicanvas.me/design-systems/andromeda.md)
- License: MIT
- Install slug: `andromeda-textarea`
- Page: https://aicanvas.me/design-systems/andromeda/textarea

## Install

```bash
npx shadcn@latest add @aicanvas/andromeda-textarea
```

Needs a free AI Canvas account; signed out, the command writes a placeholder (an `AccountRequired` notice) instead.

Every Andromeda Legacy component at once: `npx shadcn@latest add @aicanvas/andromeda`.

Token setup: the Install section of https://aicanvas.me/llms.txt.

## Use it

It installs to `components/aicanvas/andromeda/components/Textarea.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import { Textarea } from '@/components/aicanvas/andromeda/components/Textarea'
```

## Example

```tsx
import { Textarea } from '@/components/aicanvas/andromeda/components/Textarea'

<Textarea label="Deployment notes" placeholder="Describe this release" rows={4} />
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `label?` | `string` |  | Uppercase mono label rendered above the field. |
| `error?` | `string` |  | When set, switches the field into the error state. |
| `rows?` | `number` | `4` | Number of visible text lines; sets the field's initial and minimum height. |
| `className?` | `string` |  | Forwarded to the <textarea>. |
| `wrapperClassName?` | `string` |  | Forwarded to the outer wrapper. |

## More Andromeda Legacy components

- [Toggle](https://aicanvas.me/design-systems/andromeda/toggle.md)
- [Table](https://aicanvas.me/design-systems/andromeda/table.md)
- [Tooltip](https://aicanvas.me/design-systems/andromeda/tooltip.md)
- [Trend Chart](https://aicanvas.me/design-systems/andromeda/trend-chart.md)
- [User Card](https://aicanvas.me/design-systems/andromeda/user-card.md)
