Uqudo UIregistry

Textarea

Displays a form textarea.

Installation

npx shadcn@latest add @uqudo/textarea

Usage

import { Textarea } from "@/components/uqudo/ui/textarea"
<Textarea placeholder="Type your message here." />

The textarea grows with its content (field-sizing-content) from a minimum height of 4rem and cannot be resized by hand. Set rows or a min-h-* / max-h-* class to change the bounds.

Examples

Disabled

With label

API Reference

Textarea

Prop

Type

Data attributes

AttributeValue
data-slotAlways textarea.

On this page