Elements Textarea
Back to Elements

Textarea

0 components

UI elements you can copy into your project.

API reference

Generated from each primitive's $props() declaration.

Textarea.Root

Multi-line text input with dark mode support.

Prop Type Default Description
ref bind: HTMLElement | null null
value bind:
class as className string
data-slot as dataSlot string "textarea"
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.