Skip to content

Glossary: SwiftUI

Text

Also written: Text()

A view that shows a line of text. You style it with modifiers such as `.font`, `.bold()` and `.foregroundStyle`.

Where the book teaches it

Related terms

modifiertext stylesButton