Textarea
Base UIA multiline text input with consistent focus states.
ReadyResponsive
Usage
Package export"use client"
import { Textarea } from "@jnpll/elements-ui/textarea"
export default function TextareaDemo() {
return <Textarea placeholder="Type your message here." />
}
Examples
Disabled state
API Reference
| Prop | Type / description | Default |
|---|---|---|
disabled | booleanDisables the control. | false |
value / defaultValue | stringControlled or initial input value. | - |
className | stringAdditional classes, merged with the component styles. | - |
Composition & accessibility
Import the composition slots shown in the example. Keep labels and descriptions meaningful; interactive primitives provide keyboard and focus behavior. See the source for the complete typed API.