Typography
A component that enforces visual consistency in text content with semi-decoupled semantics and styles. Contextual defaults minimize design overhead.
Heading 1
Heading 2
Heading 3
Heading 4
This is paragraph text demonstrating the Typography component.
import { T } from '@kaynora/ui' export default function () { return ( <> <T type='h1'>Heading</T> <T>Paragraph text</T> </> ) }
The size prop determines the font size of the text.
Hello world!Hello world!Hello world!Hello world!Hello world!
import { T } from '@kaynora/ui' export default function () { return ( <T size='s'>Some small text</T> ) }
<Typography />
<T />
| Prop | Type | Default |
|---|---|---|
type | | — |
size | | — |
weight | | — |
color | | — |
internal | | undefined |