| description | Stack components in one dimesion. |
|---|
The Stack component manages layout of immediate children along the vertical or horizontal axis with optional spacing and/or dividers between each child.
Horizontally stacked items.
New-UDStack -Content {
New-UDPaper -Content { "Item 1" } -Elevation 3
New-UDPaper -Content { "Item 2" } -Elevation 3
New-UDPaper -Content { "Item 3" } -Elevation 3
} -Spacing 2Vertically stacked items.
New-UDStack -Content {
New-UDPaper -Content { "Item 1" } -Elevation 3
New-UDPaper -Content { "Item 2" } -Elevation 3
New-UDPaper -Content { "Item 3" } -Elevation 3
} -Spacing 2 -Direction 'column'.png)
.png)