ToluVictor/canvas-apps-tools / skills/canvas-apps-ui-gen
canvas-apps-ui-gen
VerifiedGenerates paste-ready Power Apps Canvas App YAML. Invoke when the user wants to replicate a UI mockup, improve an existing Canvas app screen, or build a new screen from a text description. Also invoke when the user asks to "improve", "redesign", or "generate YAML" for a Canvas app screen.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 25.3 KB |
| agents/assembly-agent.md | markdown | 15.4 KB |
| agents/controls-agent.md | markdown | 11.7 KB |
| agents/layout-sizing-agent.md | markdown | 19.7 KB |
| agents/qa-agent.md | markdown | 8.3 KB |
| agents/styling-agent.md | markdown | 10.6 KB |
| reference/canvas-apps-limitations.md | markdown | 16.1 KB |
| reference/controls-index.md | markdown | 8.2 KB |
| reference/controls-reference.md | markdown | 45.7 KB |
| reference/design-spec-formats.md | markdown | 8.9 KB |
| reference/pa-yaml-rules.md | markdown | 95.7 KB |
| reference/sizing-reference.md | markdown | 16.7 KB |
| templates/card-template-1.yaml | config | 9.5 KB |
| templates/card-template-2.yaml | config | 12.3 KB |
| templates/card-template-3.yaml | config | 12.1 KB |
| templates/custom-button.yaml | config | 8.9 KB |
| templates/data-table.yaml | config | 17.3 KB |
| templates/form-template-1.yaml | config | 16.7 KB |
| templates/kpi-cards.yaml | config | 10.0 KB |
| templates/screen-table-template-1.yaml | config | 34.9 KB |
| templates/sidebar-collapsible.yaml | config | 22.5 KB |
| templates/tab-bar.yaml | config | 5.0 KB |
| templates/table-template-1.yaml | config | 27.3 KB |
templates/card-template-2.yaml
View on GitHub# TEMPLATE: Category Cards with Progress Bar (4-up horizontal)
# TAGS: cards, category, progress, gallery, horizontal, icon, badge, button, action
# DESCRIPTION: Horizontal gallery of 4 cards. Each card has a colored background, a large icon, a category name label, a completion count/percentage label, and a thin progress bar at the bottom. Uses ManualLayout for the card with a circular action button overlay.
# USE WHEN: Category summaries with completion status, progress indicators, or when cards need a prominent colored background with an action button. Good for task categories, course modules, or status dashboards.
# COMPONENTS: GroupContainer@1.5.0, Gallery@2.15.0, Image@2.2.3, Label@2.5.1, Classic/Button@2.2.0
# ============================================
- Container_Cards_3:
Control: GroupContainer@1.5.0
Variant: AutoLayout
Properties:
DropShadow: =DropShadow.None
Height: =205
LayoutDirection: =LayoutDirection.Horizontal
RadiusBottomLeft: =0
RadiusBottomRight: =0
RadiusTopLeft: =0
RadiusTopRight: =0
Width: =Parent.Width
Y: =276
Children:
- rightGallery1_1:
Control: Gallery@2.15.0
Variant: Horizontal
Properties:
BorderColor: =RGBA(0, 18, 107, 1)
FillPortions: =3
Items: |-
=//OverviewTable
Table(
{
ID: "01",
Color: RGBA(191, 168, 255,1),
Icon: "
<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-grid-fill' viewBox='0 0 16 16'>
<path d='M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5z'/>
</svg>
",
Text: "General Safety",
TotalCompleted: 50,
Total: 69
},
{
ID: "02",
Color: RGBA(254, 230, 194,1),
Icon: "<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path d='M8 16c3.314 0 6-2 6-5.5 0-1.5-.5-4-2.5-6 .25 1.5-1.25 2-1.25 2C11 4 9 .5 6 0c.357 2 .5 4-2 6-1.25 1-2 2.729-2 4.5C2 14 4.686 16 8 16'/></svg>",
Text: "Fire Safety",
TotalCompleted: 5,
Total: 18
},
{
ID: "03",
Color: RGBA(237, 250, 84,1),
Icon: "<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path d='M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z'/></svg>",
Text: "Electrical Safety",
TotalCompleted: 12,
Total: 16
},
{
ID: "04",
Color: RGBA(82, 222, 229,1),
Icon: "<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-person-fill' viewBox='0 0 16 16'><path d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/></svg>",
Text: "Ward Inspection",
TotalCompleted: 6,
Total: 10
}
)
LayoutMinHeight: =215
LayoutMinWidth: =400
TemplatePadding: =0
TemplateSize: =Self.Width/4
Children:
- rootContainer3_1:
Control: GroupContainer@1.5.0
Variant: AutoLayout
Properties:
BorderColor: =Color.White
BorderStyle: =BorderStyle.None
BorderThickness: =2
DropShadow: =DropShadow.None
Fill: =ThisItem.Color
Height: =Parent.TemplateHeight * 90%
LayoutAlignItems: =LayoutAlignItems.Center
LayoutDirection: =LayoutDirection.Vertical
LayoutJustifyContent: =LayoutJustifyContent.Center
PaddingBottom: =20
PaddingLeft: =20
PaddingRight: =20
PaddingTop: =20
RadiusBottomLeft: =20
RadiusBottomRight: =20
RadiusTopLeft: =20
RadiusTopRight: =20
Width: =Parent.TemplateWidth * 90%
X: =(Parent.TemplateWidth - Self.Width)/2
Y: =(Parent.TemplateHeight - Self.Height)/2
Children:
- Container6_3:
Control: GroupContainer@1.5.0
Variant: AutoLayout
Properties:
DropShadow: =DropShadow.None
Height: =50
LayoutDirection: =LayoutDirection.Horizontal
LayoutJustifyContent: =LayoutJustifyContent.SpaceBetween
LayoutMinHeight: =50
LayoutMinWidth: =0
RadiusBottomLeft: =0
RadiusBottomRight: =0
RadiusTopLeft: =0
RadiusTopRight: =0
Width: =Parent.Width
Children:
- Image1_6:
Control: Image@2.2.3
Properties:
AlignInContainer: =AlignInContainer.End
BorderColor: =RGBA(0, 18, 107, 1)
BorderStyle: =BorderStyle.None
Height: =45
Image: |-
="data:image/svg+xml;utf8, "&EncodeUrl(
Substitute(
ThisItem.Icon,
"currentColor", "RGBA(42, 43, 71,1)"
)
)
Width: =45
X: =105
Y: =(Parent.Height - Self.Height)/2
- CustomButton_4:
Control: GroupContainer@1.5.0
Variant: ManualLayout
Properties:
AlignInContainer: =AlignInContainer.Start
DropShadow: =DropShadow.None
Fill: =RGBA(42, 43, 71,1)
FillPortions: =0
Height: =25
RadiusBottomLeft: =35
RadiusBottomRight: =35
RadiusTopLeft: =35
RadiusTopRight: =35
Width: =25
Children:
- Image1_7:
Control: Image@2.2.3
Properties:
BorderColor: =RGBA(0, 18, 107, 1)
Height: =Parent.Height
Image: |-
="data:image/svg+xml;utf8, "&EncodeUrl(
Substitute(
"<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-right-short' viewBox='0 0 16 16'>
<path fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8'/>
</svg>
",
"currentColor", "RGBA(246,246,250,1)"
)
)
Width: =Parent.Width
- Button1_4:
Control: Classic/Button@2.2.0
Properties:
BorderColor: =ColorFade(Self.Fill, -15%)
BorderStyle: =BorderStyle.None
Color: =RGBA(255, 255, 255, 1)
DisabledBorderColor: =RGBA(166, 166, 166, 1)
Fill: =RGBA(0, 0, 0, 0)
Font: =Font.'Open Sans'
Height: =Parent.Height
HoverBorderColor: =ColorFade(Self.BorderColor, 20%)
HoverColor: =RGBA(255, 255, 255, 1)
HoverFill: =RGBA(0,0,0,0.1)
PressedBorderColor: =Self.Fill
PressedColor: =Self.Fill
PressedFill: =RGBA(0,0,0,0.2)
Text: =""
Width: =Parent.Width
- Label1_6:
Control: Label@2.5.1
Properties:
AlignInContainer: =AlignInContainer.Stretch
BorderColor: =RGBA(0, 18, 107, 1)
Color: =RGBA(35,36,47,1)
Font: =Font.Lato
FontWeight: =FontWeight.Semibold
Height: =50
LayoutMinHeight: =0
LayoutMinWidth: =80
PaddingLeft: =0
Size: =12
Text: =ThisItem.Text
VerticalAlign: =VerticalAlign.Top
Width: =Parent.Width
- Label1_7:
Control: Label@2.5.1
Properties:
AlignInContainer: =AlignInContainer.Stretch
BorderColor: =RGBA(0, 18, 107, 1)
Color: =RGBA(35,36,47,1)
Font: =Font.Lato
Height: =30
LayoutMinHeight: =0
LayoutMinWidth: =80
PaddingLeft: =0
PaddingTop: =10
Size: =9
Text: |-
=$"{ThisItem.TotalCompleted} Tasks | {Text(ThisItem.TotalCompleted/ThisItem.Total * 100,"##")}%"
Width: =Parent.Width
- CustomProgessBarContainer7_1:
Control: GroupContainer@1.5.0
Variant: ManualLayout
Properties:
DropShadow: =DropShadow.None
Fill: =RGBA(0, 0, 0, 0.2)
FillPortions: =0
Height: =4
LayoutMinWidth: =0
RadiusBottomLeft: =10
RadiusBottomRight: =10
RadiusTopLeft: =10
RadiusTopRight: =10
Width: =Parent.Width
Children:
- Container7_2:
Control: GroupContainer@1.5.0
Variant: ManualLayout
Properties:
DropShadow: =DropShadow.None
Fill: =RGBA(42, 43, 71,1)
Height: =Parent.Height
RadiusBottomLeft: =10
RadiusBottomRight: =10
RadiusTopLeft: =10
RadiusTopRight: =10
Width: =Parent.Width * (ThisItem.TotalCompleted/ThisItem.Total)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |