# stacks

[SwiftUI](../..) ⟩ [view](..) ⟩ [layout]() ⟩ stacks&#x20;

{% hint style="success" %}
<img src="https://1830103165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5-JmwCZMKh_d7RfBaN%2Fuploads%2FdVXsmgyhZTArcrxvRx86%2Fpull-in.jpg?alt=media&#x26;token=ed4f2745-d669-40d5-9480-8435e27d47c1" alt="" data-size="line"> **LazyStacks** In SwiftUI are "<mark style="color:red;">**pull-in**</mark>" container views.
{% endhint %}

{% tabs %}
{% tab title="📗 參考" %}
* [ ] Sundell ⟩ [Switching between SwiftUI’s HStack and VStack](https://www.swiftbysundell.com/articles/switching-between-swiftui-hstack-vstack/)
* [ ] Sarun ⟩ [SwiftUI zIndex: Everything you need to know](https://sarunw.com/posts/swiftui-zindex/)
{% endtab %}

{% tab title="👔 自訂" %}
* [adaptivehstack](stacks/adaptivehstack "mention")
* [stackforeach](stacks/stackforeach "mention")
{% endtab %}

{% tab title="🖥️ 影片" %}
{% embed url="https://youtu.be/Y-ectDOMiNU" %}
tundsdev ⟩ Stacks In SwiftUI (VStack / HStack / ZStack)
{% endembed %}

{% embed url="https://youtu.be/ih622GS2aQU" %}
tundsdev ⟩ LazyStacks In SwiftUI (LazyHStack/LazyVStack)
{% endembed %}
{% endtab %}

{% tab title="📘 手冊 " %}
* [SwiftUI](https://developer.apple.com/documentation/swiftui) ⟩ [View Layout and Presentation](https://developer.apple.com/documentation/swiftui/view-layout-and-presentation)
  * [ ] [Building Layouts with Stack Views](https://developer.apple.com/documentation/swiftui/building-layouts-with-stack-views)  ⭐️
  * [ ] [VStack](https://developer.apple.com/documentation/swiftui/vstack) (<mark style="color:red;">**struct**</mark>)
{% endtab %}

{% tab title="👥 相關" %}
* [.frame](frame/.frame "mention")
{% endtab %}
{% endtabs %}
