Skip to main content
type TextStyle =
    | "caption2"
    | "caption"
    | "callout"
    | "footnote"
    | "body"
    | "subheadline"
    | "headline"
    | "title3"
    | "title2"
    | "title"
    | "largeTitle";
caption2
string
The smallest text style. Used for secondary captions and fine print.
caption
string
Small text for captions and supplementary information.
callout
string
Slightly emphasized text, between footnote and body size.
footnote
string
Small text for footnotes and disclaimers.
body
string
The default text style for body content and general reading.
subheadline
string
Text for subheadings and section introductions.
headline
string
Prominent text for headlines and important content. Rendered bold by default.
title3
string
The smallest title style for tertiary headings.
title2
string
A medium title style for secondary headings.
title
string
A large title style for primary headings.
largeTitle
string
The largest title style, typically used for page titles.