Skip to content

Glossary: SwiftUI

Button

Also written: Button()

A view that shows a title and runs its closure (the action) when tapped. `.buttonStyle(.borderedProminent)` draws it as a filled shape.

Where the book teaches it

Related terms

trailing closuremodifier