Core / Typography
Code
Inline or block code treatment.
Preview
pnpm dev<Heading>Title</Heading>Usage
<Code variant="inline">pnpm dev</Code>Adopt to your project
Typography inherits your application’s font choices. Use semantic props for hierarchy, then use className for local spacing and visual adaptation without changing the component’s meaning.
Accessibility
Use Heading levels in document order. Use Label with htmlFor for form controls, and keep captions and quotes as supporting—not primary—content.
API reference
| Attribute | Details |
|---|---|
variant | inline | block — default: inline |
language | string |
children | ReactNode |
className | string |