Atom
VStack
Vertical flex column. The default stacking primitive. Emits div.ks-vstack.
Knobs
Density
Locale
Live Preview
Row 1
Row 2
Row 3
Code (Katagami DSL)
VStack(spacing: 8) {
Text("Row 1")
Text("Row 2")
Text("Row 3")
}
Props
| Name | Type | Default | Description |
|---|---|---|---|
| spacing | CGFloat | 0 | Gap between children |
| alignment | Alignment | leading | Cross-axis: leading | center | trailing |
| density | Density | comfortable | comfortable | compact | dense |
| locale | Locale | en | en | fr |