Skip to content

Early previewhamur is not on npm yet. The components are being built in the open, follow along on GitHub.

UIComponentsReact

Textarea

A text field of several lines that grows with its content.

Rendered by React 19.3.1

textarea.tsx

Installation

npx shadcn@4.23.0 add https://hamur.dev/r/react/textarea.json

It also adds utils. The app needs its setup first: Installation.

Usage

A plain textarea with the field classes: it takes the element's own props.

import { Textarea } from '@/components/ui/textarea'

Examples

API reference

Textarea wraps no headless component of its own: its parts are elements with classes, and their props are the element's.