Textarea

A multi-line text input component.

Preview

Installation

Use the CLI to add this component to your project.

npx shadcn@latest add https://ui.nyxhora.com/r/textarea.json

Usage

tsx
5 lines
1
2
3
4
5
import { Textarea } from "@/components/ui/textarea"

export default function MyComponent() {
  return <Textarea placeholder="Enter your message..." />
}

Examples

With Label

Disabled