text

as
Not required
string
"div"
An HTML tag in which the text will be rendered.
className
Not required
string
children
Not required
node
size
Not required
("xs" | "sm" | "md" | "lg" | "xl" | "2xl")
"md"
weight
Not required
("light" | "normal" | "semibold")
color
Not required
string
A Tailwind-style text color such as `red-400`.

A low level text component that can be used instead of p or div. Prefer semantic components such as Heading and Label when applicable.