Text
Body text with size and color variants.
Sizes
Small body text
Medium body text (default)
Large body text
Text Props
| Prop | Type | Default | Description |
|---|---|---|---|
| as | ElementType | "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* | ReactNode | — | Text content |
| className | string | — | Additional CSS classes |