A
Auralix UI

Textarea

A multi-line text input field for longer content.

Preview

Installation

bash
npx auralix-ui add textarea

Usage

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

NameTypeDefaultDescription
errorbooleanfalseWhether the textarea has an error state.
disabledbooleanfalseWhether the textarea is disabled.
placeholderstring-Placeholder text.
rowsnumber-Number of visible text lines.

Variants

Default
Ghost
Terminal