<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Font/bold(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4FontV4boldyACSbF"
  },
  "title" : "bold(_:)"
}
-->

# bold(_:)

Adds or removes bold or emphasized styling on the font.

```
func bold(_ isActive: Bool) -> Font
```

## Discussion

For fonts created from text styles, passing `true` could mean applying
emphasized styling, which does not necessarily mean the bold weight
specifically, so this modifier is not to be confused with
<doc://com.apple.documentation/documentation/SwiftUI/Font/weight(_:)>.

For example:

```
Font.body.bold(true)
```

will most likely get you the emphasized version of body text style,
which is often in <doc://com.apple.documentation/documentation/SwiftUI/Font/Weight/semibold>
weight. While

```
Font.body.weight(.bold)
```

will specifically get you the body text style font in the
<doc://com.apple.documentation/documentation/SwiftUI/Font/Weight/bold>
weight.

Using:

```
Font.body.bold(false)
```

will remove any emphasized styling from the font returning to its
default weight which is most likely but not guaranteed to be 0.0
or [`regular`](/documentation/SwiftUI/Font/Weight/regular).

---

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)