Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

Textarea

Textarea is a component used to obtain multi-line text input.

Source@yamada-ui/textarea

Theming

The Textarea is a single part component.

export const Textarea: ComponentStyle<"Textarea"> = mergeStyle(
pickStyle(Input, "field"),
{
baseStyle: {
lineHeight: "short",
py: "2",
verticalAlign: "top",
},
sizes: {
xs: {
minH: "20",
py: "2",
},
sm: {
minH: "20",
py: "2",
},
md: {
minH: "20",
py: "2",
},
lg: {
minH: "20",
py: "3",
},
},
variants: {
unstyled: {
h: "auto",
px: "0",
py: "0",
},
},
},
)()
Copied!

Edit this page on GitHub

PreviousPhoneInputNextRadio