TextArea

A field where a user can input text.

Examples

import { TextArea } from "@styple/design-system";
<Flex css={{ flexDirection: "column", gap: "$md" }} >
<TextArea placeholder="Default textarea" />
<TextArea variant="ghost" placeholder="Ghost textarea" />
</Flex>

API Reference

TextArea

A styled component. With Props:

Prop Type Default Explanation
variant?"ghost"-

Main variant.

state?"valid" | "invalid"-

State variant.