0
Components
API reference

Textarea

Auto-sizing multiline text input with filled and outline variants, four corner shapes, three sizes, and Field integration.

Installation

Usage

Examples

Outline

Small

Large

With Field & Counter

Non-Resizable

API Reference

Textarea

Wraps Base UI Field.Control rendering a field-sizing-content <textarea> inside a styled container.

PropTypeDefaultDescription
variant"filled" | "outline" | "outlined""filled"Tonal filled surface or crisp outlined surface
shape"rounded" | "round" | "pill" | "square""rounded"Corner radius preset
size"sm" | "default" | "lg""default"Minimum height, padding, and font size
resize"none" | "vertical" | "horizontal" | "both""vertical"Controls the browser resize handle behavior
unstyledbooleanfalseStrips container chrome for custom composition
classNamestring-Additional CSS classes on the outer container

© taut ui — built with Base UI and Tailwind CSS v4.