Skip to content
Drivn logoDrivn

Textarea

Multi-line text input with consistent styling.

Preview

Installation

npx drivn add textarea

Usage

1import { Textarea } from "@/components/ui/textarea"
2
3export default function Page() {
4 return (
5 <Textarea placeholder="Type your message..." />
6 )
7}

Disabled

Disabled state with reduced opacity.

API Reference

PropTypeDefaultDescription
placeholderstringPlaceholder text shown when empty
disabledbooleanDisables the textarea
classNamestringAdditional CSS classes to apply