package examples import "github.com/Tend-Stack/GothUI/v2026/components" templ ExampleStack() { @components.Stack(components.StackProps{Gap: components.SpaceLarge}) {

A little breathing room.

The stack owns spacing between these children. Its gap follows your page density.

@components.Stack(components.StackProps{Gap: components.SpaceSmall}) { A nested group

Nested stacks choose their own gap.

} } }