Textarea

A multi-line text input for longer content such as reviews, messages, or descriptions. Supports resizing and character limits.

Preview

Default

With Label

Disabled

Usage

tsx
import { Textarea } from "zostel-ui";

<Textarea placeholder="Tell us about your trip..." />
<Textarea rows={5} placeholder="Write your review..." />
<Textarea disabled placeholder="Disabled" />

Props

placeholder
Type: string
Default:

Placeholder text shown when the textarea is empty.

rows
Type: number
Default: 3

The number of visible text lines.

disabled
Type: boolean
Default: false

Disables the textarea.

className
Type: string
Default: ""

Additional CSS classes to apply.