Captures multi-line user input.
This component is based on the textarea
element and supports common margin props.
Prop | Type | Default |
---|---|---|
size | Responsive<"1" | "2" | "3"> | "2" |
variant | "classic" | "surface" | "soft" | "surface" |
resize | Responsive<"none" | "vertical" | "horizontal" | "both"> | |
color | enum | |
radius | "none" | "small" | "medium" | "large" | "full" |
Use the size
prop to control the size.
Use the variant
prop to control the visual style.
Currently, we recommend using only the surface
variant following the ScaleUI Radix design system.
Use the radius
prop to assign a specific radius value.
Use the resize
prop to enable resizing on one or both axis.