Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Textarea

Multi-line text that grows with its content, with an optional live character count.

FormsDumb extras
0/140
Props
140
$ pnpm dlx shadcn@latest add @dumb/textarea

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { Textarea } from "@/components/ui/textarea"
<Textarea placeholder="What changed?" />

Character count

showCount reads maxLength and announces changes politely.

80/160

API reference

Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.

Textarea

PropTypeDefault
showCountextraboolean

Shows a counter; uses maxLength as the limit.

false
...propsComponentProps<"textarea">

All native textarea props.

-