---
title: NSFont.Weight
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsfont/weight
---

# NSFont.Weight

System-defined font-weight values.

## Declaration

```swift
struct Weight
```

## Topics

### Font Weights

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

### Initializers

- [init(_:)](appkit/nsfont/weight/init(_:).md)
- [init(rawValue:)](appkit/nsfont/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

- [preferredFont(forTextStyle:options:)](appkit/nsfont/preferredfont(fortextstyle:options:).md)
- [systemFont(ofSize:)](appkit/nsfont/systemfont(ofsize:).md)
- [systemFont(ofSize:weight:)](appkit/nsfont/systemfont(ofsize:weight:).md)
- [boldSystemFont(ofSize:)](appkit/nsfont/boldsystemfont(ofsize:).md)
- [monospacedSystemFont(ofSize:weight:)](appkit/nsfont/monospacedsystemfont(ofsize:weight:).md)
- [monospacedDigitSystemFont(ofSize:weight:)](appkit/nsfont/monospaceddigitsystemfont(ofsize:weight:).md)
- [systemFontSize](appkit/nsfont/systemfontsize.md)
- [smallSystemFontSize](appkit/nsfont/smallsystemfontsize.md)
- [NSFont.TextStyle](appkit/nsfont/textstyle.md)
- [NSFont.TextStyleOptionKey](appkit/nsfont/textstyleoptionkey.md)
