---
title: fontWeight
framework: tvmlkit
role: symbol
role_heading: Instance Property
path: tvmlkit/tvviewelementstyle/fontweight
---

# fontWeight

A string indicating how thick or thin the font is.

## Declaration

```swift
var fontWeight: String? { get }
```

## Discussion

Discussion Valid values for this property are bold, light, medium, and regular.

## See Also

### Changing the Text of an Element

- [fontSize](tvmlkit/tvviewelementstyle/fontsize.md)
- [maxTextLines](tvmlkit/tvviewelementstyle/maxtextlines.md)
- [textAlignment](tvmlkit/tvviewelementstyle/textalignment.md)
- [textHighlightStyle](tvmlkit/tvviewelementstyle/texthighlightstyle.md)
- [textMinimumScaleFactor](tvmlkit/tvviewelementstyle/textminimumscalefactor.md)
- [textStyle](tvmlkit/tvviewelementstyle/textstyle.md)
