Text

Body text with size and color variants.

Sizes

Small body text

Medium body text (default)

Large body text

Text Props

PropTypeDefaultDescription
asElementType"p"HTML element or component to render
size"xs" | "sm" | "md" | "lg""md"Text size
color"default" | "muted" | "danger" | "success" | "warning""default"Text color
weight"normal" | "medium" | "semibold" | "bold""normal"Font weight
children*ReactNodeText content
classNamestringAdditional CSS classes