Textarea

Base UI

A multiline text input with consistent focus states.

ReadyResponsive

Usage

Package export
tsx
"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

PropType / descriptionDefault
disabledboolean

Disables the control.

false
value / defaultValuestring

Controlled or initial input value.

-
classNamestring

Additional 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.