Textarea
A multi-line text input field for longer content.
Preview
Installation
bash
npx auralix-ui add textareaUsage
Default Textarea
tsx
import { Textarea } from "@/components/ui/Textarea";
<Textarea placeholder="Enter your message..." />With Error State
tsx
<Textarea error placeholder="This field is required" />Props
| Name | Type | Default | Description |
|---|---|---|---|
error | boolean | false | Whether the textarea has an error state. |
disabled | boolean | false | Whether the textarea is disabled. |
placeholder | string | - | Placeholder text. |
rows | number | - | Number of visible text lines. |
Variants
Default
Ghost
Terminal
On this page