<!--
{
  "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/Text/bold()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4TextV4boldACyF"
  },
  "title" : "bold()"
}
-->

# bold()

Applies a bold or emphasized treatment to the fonts of the text.

```
nonisolated func bold() -> Text
```

## Return Value

Bold or emphasized text.

## Discussion

For fonts created from text styles, it 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/Text/fontWeight(_:)>.

For example:

```
Text("hello").font(.body).bold()
```

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

```
Text("hello").font(.body).fontWeight(.bold)
```

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

---

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)