Element: #861 Type roles (foundation/typography) What it shows: The six type roles (title, heading, body, label, caption, num) rendered with Text, one row each. When to use: Picking the text role of a line of UI: use the role instead of loose font-size, line-height and letter-spacing, so a theme `type` override restyles it. Spec: - `import { Text } from '@codeatlasdev/ui'` - One `` per role: `title`, `heading`, `body`, `label`, `caption` and `num` - The `num` sample is `1,284 leads, 18:42`, drawn with tabular digits - Rows are a `grid-template-columns: var(--ca-space-20) 1fr` with `gap: var(--ca-space-3)` Tags: typography, text, type-scale, role, tabular-nums Needs: @codeatlasdev/ui@4.6.0 Components: Text Live demo: https://ui.codeatlas.com.br/docs/foundation/typography#type-roles
{#each roles as r (r.role)}
{r.role}
{r.sample}
{/each}