UIFont
public extension UIFont
Anatomy includes standardized, named typography. These names map almost exactly to what iOS provides natively, but are the preferred way to match fonts in the Design System.
-
The largest font available
Declaration
Swift
static var largeTitleEmphasized: UIFont { get }
-
Emphasized Title 1 text
Declaration
Swift
static var title1Emphasized: UIFont { get }
-
Title 2 text
Declaration
Swift
static var title2: UIFont { get }
-
Emphasized Title 2 text
Declaration
Swift
static var title2Emphasized: UIFont { get }
-
Title 2 white text
Declaration
Swift
static var title2White: UIFont { get }
-
Title 3 text
Declaration
Swift
static var title3: UIFont { get }
-
Headline text
Declaration
Swift
static var headline: UIFont { get }
-
Declaration
Swift
static var headlineWhite: UIFont { get }
-
Declaration
Swift
static var headlineLink: UIFont { get }
-
Declaration
Swift
static var headlineDisabled: UIFont { get }
-
Body text
Declaration
Swift
static var body: UIFont { get }
-
Deemphasized body text
Declaration
Swift
static var bodyDeemphasized: UIFont { get }
-
Deemphasized disabled body text
Declaration
Swift
static var bodyDeemphasizedDisabled: UIFont { get }
-
body link text
Declaration
Swift
static var bodyLink: UIFont { get }
-
Emphasized body link text
Declaration
Swift
static var bodyLinkEmphasized: UIFont { get }
-
Callout text
Declaration
Swift
static var callout: UIFont { get }
-
Subhead text
Declaration
Swift
static var subhead: UIFont { get }
-
Emphasized subhead text
Declaration
Swift
static var subheadEmphasized: UIFont { get }
-
Deemphasized subhead text
Declaration
Swift
static var subheadDeemphasized: UIFont { get }
-
Footnote text
Declaration
Swift
static var footnote: UIFont { get }
-
Emphasized footnote text
Declaration
Swift
static var footnoteEmphasized: UIFont { get }
-
Deemphasized footnote text
Declaration
Swift
static var footnoteDeemphasized: UIFont { get }
-
Caption 1 text
Declaration
Swift
static var caption1: UIFont { get }
-
Emphasized caption 1 text
Declaration
Swift
static var caption1Emphasized: UIFont { get }
-
Deemphasized caption 1 text
Declaration
Swift
static var caption1Deemphasized: UIFont { get }