<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Font",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4FontV"
  },
  "title" : "Font"
}
-->

# Font

An environment-dependent font.

```
@frozen struct Font
```

## Overview

The system resolves a font’s value at the time it uses the font in a given
environment because [`Font`](/documentation/SwiftUI/Font) is a late-binding token.

## Topics

### Getting standard fonts

[`extraLargeTitle2`](/documentation/SwiftUI/Font/extraLargeTitle2)

Create a font with the second level extra large title text style.

[`extraLargeTitle`](/documentation/SwiftUI/Font/extraLargeTitle)

Create a font with the extra large title text style.

[`largeTitle`](/documentation/SwiftUI/Font/largeTitle)

A font with the large title text style.

[`title`](/documentation/SwiftUI/Font/title)

A font with the title text style.

[`title2`](/documentation/SwiftUI/Font/title2)

Create a font for second level hierarchical headings.

[`title3`](/documentation/SwiftUI/Font/title3)

Create a font for third level hierarchical headings.

[`headline`](/documentation/SwiftUI/Font/headline)

A font with the headline text style.

[`subheadline`](/documentation/SwiftUI/Font/subheadline)

A font with the subheadline text style.

[`body`](/documentation/SwiftUI/Font/body)

A font with the body text style.

[`callout`](/documentation/SwiftUI/Font/callout)

A font with the callout text style.

[`caption`](/documentation/SwiftUI/Font/caption)

A font with the caption text style.

[`caption2`](/documentation/SwiftUI/Font/caption2)

Create a font with the alternate caption text style.

[`footnote`](/documentation/SwiftUI/Font/footnote)

A font with the footnote text style.

### Getting system fonts

[`system(_:design:weight:)`](/documentation/SwiftUI/Font/system(_:design:weight:))

Gets a system font that uses the specified style, design, and weight.

[`system(size:weight:design:)`](/documentation/SwiftUI/Font/system(size:weight:design:)-697b2)

Specifies a system font to use, along with the style, weight, and any
design parameters you want applied to the text.

[`Font.Design`](/documentation/SwiftUI/Font/Design)

A design to use for fonts.

[`Font.TextStyle`](/documentation/SwiftUI/Font/TextStyle)

A dynamic text style to use for fonts.

[`Font.Weight`](/documentation/SwiftUI/Font/Weight)

A weight to use for fonts.

### Creating custom fonts

[`custom(_:fixedSize:)`](/documentation/SwiftUI/Font/custom(_:fixedSize:))

Create a custom font with the given `name` and a fixed `size` that does
not scale with Dynamic Type.

[`custom(_:size:relativeTo:)`](/documentation/SwiftUI/Font/custom(_:size:relativeTo:))

Create a custom font with the given `name` and `size` that scales
relative to the given `textStyle`.

[`custom(_:size:)`](/documentation/SwiftUI/Font/custom(_:size:))

Create a custom font with the given `name` and `size` that scales with
the body text style.

### Getting a font from another font

[`init(_:)`](/documentation/SwiftUI/Font/init(_:))

Creates a custom font from a platform font instance.

### Styling a font

[`bold()`](/documentation/SwiftUI/Font/bold())

Adds bold or emphasized styling to the font.

[`italic()`](/documentation/SwiftUI/Font/italic())

Adds italics to the font.

[`monospaced()`](/documentation/SwiftUI/Font/monospaced())

Returns a fixed-width font from the same family as the base font.

[`monospacedDigit()`](/documentation/SwiftUI/Font/monospacedDigit())

Returns a modified font that uses fixed-width digits, while leaving
other characters proportionally spaced.

[`smallCaps()`](/documentation/SwiftUI/Font/smallCaps())

Adjusts the font to enable all small capitals.

[`lowercaseSmallCaps()`](/documentation/SwiftUI/Font/lowercaseSmallCaps())

Adjusts the font to enable lowercase small capitals.

[`uppercaseSmallCaps()`](/documentation/SwiftUI/Font/uppercaseSmallCaps())

Adjusts the font to enable uppercase small capitals.

[`weight(_:)`](/documentation/SwiftUI/Font/weight(_:))

Sets the weight of the font.

[`width(_:)`](/documentation/SwiftUI/Font/width(_:))

Sets the width of the font.

[`Font.Width`](/documentation/SwiftUI/Font/Width)

A width to use for fonts that have multiple widths.

[`leading(_:)`](/documentation/SwiftUI/Font/leading(_:))

Adjusts the line spacing of a font.

[`Font.Leading`](/documentation/SwiftUI/Font/Leading)

A line spacing adjustment that you can apply to a font.

### Deprecated symbols

[`system(_:design:)`](/documentation/SwiftUI/Font/system(_:design:))

Gets a system font with the given text style and design.

[`system(size:weight:design:)`](/documentation/SwiftUI/Font/system(size:weight:design:)-73a88)

Specifies a system font to use, along with the style, weight, and any
design parameters you want applied to the text.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)