---
description: ╱🚧 under construction
---

# Button

[SwiftUI](..) ⟩ [Controls]() ⟩ Button&#x20;

{% hint style="success" %}
🚧
{% endhint %}

{% tabs %}
{% tab title="💾 程式" %}
```swift
// syntax 1:
Button(action: { /* action closure */ }) {
    // label view
}

// syntax 2:
Button("localizedStringKey") {
    // action closure
}
```
{% endtab %}

{% tab title="💈範例" %}
* [button](../../master/todo/tutorials/swift-animation-mastery/triggers/button "mention")
{% endtab %}

{% tab title="📗 參考" %}
* [x] Sarun ⟩ [SwiftUI ButtonStyle](https://sarunw.com/posts/swiftui-buttonstyle/)
{% endtab %}

{% tab title="📘 手冊" %}
*
{% endtab %}

{% tab title="👥 相關" %}
* [label](label "mention")
* [neumorphic](../view/modifier/examples/neumorphic "mention")
{% endtab %}
{% endtabs %}
