Design System

Component usage guide template

Browse Components

ui

Textarea

A textarea component for multi-line text input with customizable rows and styling.

1. Import
Import the Textarea component from the design system.
import { Textarea } from "@/design-system/components/ui/textarea"
2. Props
Textarea component props.
PropTypeDefault
valuestring--
defaultValuestring--
placeholderstring--
disabledbooleanfalse
rowsnumber3
colsnumber--
size'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl''md'
classNamestring--
3. Sizes
Available sizes for the Textarea component.
4. Usages
Common Textarea patterns and configurations.
import { Textarea } from "@/components/ui/textarea";

export function TextareaDemo() {
  return <Textarea placeholder="Type your message here..." rows={4} />;
}