bearnie

Textarea

Multi-line text input field.

Installation

npx bearnie add textarea
npx bearnie add textarea

Usage

import { Textarea } from "@/components/bearnie/textarea"
<Textarea placeholder="Type here..." />

Examples

With label

Disabled

With button

Anatomy

  • Textarea - A single multi-line input element

Props

Textarea

Prop Type Default Description
placeholder string - Placeholder text
disabled boolean false Disables the textarea
required boolean false Makes the field required
invalid boolean false Shows error state
name string - Form field name
id string - Element ID
rows number 4 Number of visible rows
value string - Textarea value
class string - Additional CSS classes