Text
Body text component with size and weight options.
Import
import { Text } from '@kikumi3n/ui';
Usage
<Text>Default body text</Text>
<Text as="span" size="var(--font-size-sm)">Small text</Text>
<Text as="p" size="var(--font-size-lg)">Large text</Text>
API
| Prop | Type | Default | Description |
|---|---|---|---|
as | `'p' | 'span' | 'div' |
size | string | — | Font size (CSS value or token) |
weight | string | — | Font weight |
color | string | — | Text color |