---
title: UIFont.Weight
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uifont/weight
---

# UIFont.Weight

Constants that represent standard typeface styles.

## Declaration

```swift
struct Weight
```

## Overview

Overview Use system-defined constants as interchangeable values for weight. Each constant corresponds to a different value that indicates the weight of a font. Use these constants to specify the weight parameter in systemFont(ofSize:weight:). When providing a weight that doesn’t precisely match a font face in the family, the system locates a face that most closely matches the request. note: Font familyNames don’t include all system-defined font constants.

## Topics

### Using system-defined font weights

- [ultraLight](uikit/uifont/weight/ultralight.md)
- [thin](uikit/uifont/weight/thin.md)
- [light](uikit/uifont/weight/light.md)
- [regular](uikit/uifont/weight/regular.md)
- [medium](uikit/uifont/weight/medium.md)
- [semibold](uikit/uifont/weight/semibold.md)
- [bold](uikit/uifont/weight/bold.md)
- [heavy](uikit/uifont/weight/heavy.md)
- [black](uikit/uifont/weight/black.md)

### Balancing the appearance of symbols and text

- [symbolWeight()](uikit/uifont/weight/symbolweight().md)

### Initializers

- [init(_:)](uikit/uifont/weight/init(_:).md)
- [init(rawValue:)](uikit/uifont/weight/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Comparable](swift/comparable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating System Fonts

- [systemFont(ofSize:)](uikit/uifont/systemfont(ofsize:).md)
- [systemFont(ofSize:weight:)](uikit/uifont/systemfont(ofsize:weight:).md)
- [systemFont(ofSize:weight:width:)](uikit/uifont/systemfont(ofsize:weight:width:).md)
- [UIFont.Width](uikit/uifont/width.md)
- [boldSystemFont(ofSize:)](uikit/uifont/boldsystemfont(ofsize:).md)
- [italicSystemFont(ofSize:)](uikit/uifont/italicsystemfont(ofsize:).md)
- [monospacedSystemFont(ofSize:weight:)](uikit/uifont/monospacedsystemfont(ofsize:weight:).md)
- [monospacedDigitSystemFont(ofSize:weight:)](uikit/uifont/monospaceddigitsystemfont(ofsize:weight:).md)
