---
title: bold()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/text/bold()
---

# bold()

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

## Declaration

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

## Mentioned in

Configuring views

## Return Value

Return Value Bold or emphasized text.

## Discussion

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 fontWeight(_:). For example: Text("hello").font(.body).bold() will most likely get you the emphasized version of body text style, which is often in semibold weight. While Text("hello").font(.body).fontWeight(.bold) will specifically get you the body text style font in the bold weight.

## See Also

### Styling the view’s text

- [foregroundStyle(_:)](swiftui/text/foregroundstyle(_:).md)
- [bold(_:)](swiftui/text/bold(_:).md)
- [italic()](swiftui/text/italic().md)
- [italic(_:)](swiftui/text/italic(_:).md)
- [strikethrough(_:color:)](swiftui/text/strikethrough(_:color:).md)
- [strikethrough(_:pattern:color:)](swiftui/text/strikethrough(_:pattern:color:).md)
- [underline(_:color:)](swiftui/text/underline(_:color:).md)
- [underline(_:pattern:color:)](swiftui/text/underline(_:pattern:color:).md)
- [monospaced(_:)](swiftui/text/monospaced(_:).md)
- [monospacedDigit()](swiftui/text/monospaceddigit().md)
- [kerning(_:)](swiftui/text/kerning(_:).md)
- [tracking(_:)](swiftui/text/tracking(_:).md)
- [baselineOffset(_:)](swiftui/text/baselineoffset(_:).md)
- [Text.Case](swiftui/text/case.md)
- [Text.DateStyle](swiftui/text/datestyle.md)
