Button
The button is one of the most common user interface elements. Usually, buttons contain either an icon or a label. It is not recommended to use both in most cases.
For buttons containing a label, use imperative verbs using header capitalization, such as Save or Update. Labels should be kept short.
Label
Button( ) {
print( )
}
Icon
Button(icon: .airplane) {
print( )
}
Label and Icon
Button(.airplane) {
, icon: print( )
}