package examples import "github.com/Tend-Stack/TendUI/v2026/components" templ ExampleStack() { @components.Stack(components.StackProps{Gap: components.SpaceLarge}) {
The stack owns spacing between these children. Its gap follows your page density.
@components.Stack(components.StackProps{Gap: components.SpaceSmall}) { A nested groupNested stacks choose their own gap.
} } }