Button

A control that initiates an action.

10 components
initializer

Role Button With Default Label

Creates a button that displays a default label.

style

Glass Button Styles

A button style that applies glass border artwork based on the button’s context

TextField

RenameButton

A button that triggers a standard rename action

type

EditButton

A button that toggles the edit mode environment value

type

PasteButton

A system button that reads items from the pasteboard and delivers it to a closure.

style

Button Tint

Sets the buttons tint color

style

Button Roles

A value that describes the purpose of a button.

Button Border Shape

A shape used to draw a button’s border.

style

Button Styles

A type that applies standard interaction behavior and a custom appearance to all buttons within a view hierarchy

initializer

Button

Three ways to initialize a button