A reusable Power Platform snippet
Layout Pyramid
This is a simple snippet that can help you get started with creating a screen in canvas app. It is a set of containers with various number of columns.

- Last updated
- Mar 24, 2025
- Category
- Community snippet
From idea to implementation
Make it your own.
Check this snippet's prerequisites, permissions, and licensing before using it. The documentation below comes directly from the snippet README.
This is a simple snippet that can help you get started with creating a screen in canvas app. It is a set of containers with various number of columns. The first container has 1 column, the second container has 2 columns, the third container has 3 columns, and the fourth container has 4 columns.
Authors
| Snippet | Author(s) |
|---|---|
| Daniel Laskewitz | GitHub (@Laskewitz ) |
Code
- MainContainerPyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
Height: =Parent.Height
LayoutAlignItems: =LayoutAlignItems.Stretch
LayoutDirection: =LayoutDirection.Vertical
LayoutJustifyContent: =LayoutJustifyContent.Center
Width: =Parent.Width
Children:
- Container1PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container2PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
Children:
- Container21PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container22PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container3PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
Children:
- Container31PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container32PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container33PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container4PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
Children:
- Container41PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container42PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container43PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
- Container44PyramidScreen:
Control: GroupContainer@1.3.0
Variant: AutoLayout
Properties:
LayoutDirection: =LayoutDirection.Horizontal
Minimal path to awesome
- Open your canvas app in Power Apps
- Copy the contents of the YAML-file or copy the code from above.
- Right click on the screen where you want to add the snippet and select "Paste YAML"

This will add the containers to your screen and you can delete the containers you don't want to use.

Disclaimer
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.