2

When choosing a font for Text, for example, we can change the font size using:

Text("Hello world").font(.system(.body))

In this case, body is a Font.TextStyle with the following options:

        case largeTitle

        case title

        case headline

        case subheadline

        case body

        case callout

        case footnote

        case caption

When deciding which font to choose for a component, I’d like to get an idea of what the font looks like. I found this Apple page which details the specs for some fonts:

enter image description here

However, these don’t match up 1:1 with Font.TextStyle, and they don’t include a preview. Is there anywhere with a preview of these sizes for some of the more common dynamic type sizes (e.g. xSmall, xxxLarge)?