Knit UI
GitHub

Playground

Loading playground…

false
Playground
<Title
  order={1}
>
  The quick brown fox
</Title>

Examples

Orders

All six heading orders rendered together to compare default sizing.

Loading example…

OrdersSourceStorybook

Heading Sizes

Heading-scale size aliases (h1h6) applied to a fixed order, showing that size overrides the default.

Loading example…

Heading SizesSourceStorybook

Token Sizes

Font-size tokens (xxsxxl) used as a size override, showing the token-driven scale.

Loading example…

Token SizesSourceStorybook

Size Overrides Order

Size override decoupled from semantic order — order sets the tag, size sets the visual weight.

Loading example…

Size Overrides OrderSourceStorybook

Line Clamp

Line clamping — long text is truncated after the given number of lines.

Loading example…

Line ClampSourceStorybook

Text Wrap Balance

textWrap="balance" distributes text evenly across lines (web only).

Loading example…

Text Wrap BalanceSourceStorybook

Props

PropTypeDefaultDescription
disabled systemboolean | undefinedSpecifies the disabled state of the text view for testing purposes.
size systemstring | number | undefined
h1 · h2 · h3 · h4 · h5 · h6 · xxs · xs · sm · md · lg · xl · xxl
Overrides the order-driven font size. Accepts heading aliases (`h1`–`h6`), seven-step font-size tokens (`xxs`–`xxl`), or arbitrary CSS values.
theme systemThemeName | null | undefinedApplies a theme to this element
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiTextElement> | undefined

Plus 509 inherited style props from Box — the full Tamagui/React Native style surface, including token shorthands like p, mx, bg and c. See Tokens for the scales they accept, or the full list.