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/tab-bar.yaml
View on GitHub# TEMPLATE: Horizontal Tab Bar with Underline
# TAGS: tab, tabs, tab-bar, navigation, horizontal-tabs, underline-tabs, section-switcher
# DESCRIPTION: A horizontal tab bar built from a Horizontal Gallery inside a Vertical AutoLayout container. Each tab has a label, an active underline indicator, and a transparent button overlay. A 1px divider sits below the gallery. Tabs switch content sections via a varActiveTab integer variable.
# USE WHEN: Screen needs horizontal tab navigation to switch between content sections on the same screen (e.g., form wizard steps, detail views with multiple panels, settings pages with grouped options).
# COMPONENTS: GroupContainer@1.5.0, Gallery@2.15.0, Label@2.5.1, Rectangle@2.3.0, Classic/Button@2.2.0
# NOTES:
# - Initialize state in screen OnVisible: Set(varActiveTab, 1)
# - Populate tab data via ClearCollect or inline Table() with {TabName, TabID} records
# Example: ClearCollect(colTabs, {TabName: "General", TabID: 1}, {TabName: "Details", TabID: 2})
# - Wire content section visibility: Visible: =varActiveTab = 1 (for tab 1 content)
# - TemplateSize: =140 gives equal-width tabs; use Self.Width / Self.AllItemsCount - 1 for auto-fit
# - This is a SECTION template — paste as a child of your main vertical content container
# ============================================
- tabSection:
Control: GroupContainer@1.5.0
Variant: AutoLayout
Properties:
DropShadow: =DropShadow.None
Fill: =RGBA(0,0,0,0)
FillPortions: =0
Height: =42
LayoutAlignItems: =LayoutAlignItems.Stretch
LayoutDirection: =LayoutDirection.Vertical
LayoutGap: =0
LayoutJustifyContent: =LayoutJustifyContent.Start
LayoutMinHeight: =0
LayoutMinWidth: =0
LayoutWrap: =false
PaddingBottom: =0
PaddingLeft: =30
PaddingRight: =0
PaddingTop: =0
RadiusBottomLeft: =0
RadiusBottomRight: =0
RadiusTopLeft: =0
RadiusTopRight: =0
Children:
- tabGallery:
Control: Gallery@2.15.0
Variant: Horizontal
Properties:
AlignInContainer: =AlignInContainer.Stretch
BorderColor: =RGBA(0,0,0,0)
DelayItemLoading: =false
FillPortions: =1
Items: =colTabs
LayoutMinHeight: =0
LayoutMinWidth: =0
ShowScrollbar: =false
TemplatePadding: =0
TemplateSize: =140
Children:
- tabLabel:
Control: Label@2.5.1
Properties:
Align: =Align.Center
Color: =If(varActiveTab = ThisItem.TabID, RGBA(30,30,35,1), RGBA(140,140,150,1))
Font: =Font.Lato
FontWeight: =If(varActiveTab = ThisItem.TabID, FontWeight.Semibold, FontWeight.Normal)
Height: =Parent.TemplateHeight - 3
Size: =10
Text: =ThisItem.TabName
VerticalAlign: =VerticalAlign.Middle
Width: =Parent.TemplateWidth
X: =0
Y: =0
- tabUnderline:
Control: Rectangle@2.3.0
Properties:
BorderColor: =RGBA(0,0,0,0)
BorderStyle: =BorderStyle.None
BorderThickness: =0
Fill: =RGBA(30,30,35,1)
Height: =2
Visible: =varActiveTab = ThisItem.TabID
Width: =Parent.TemplateWidth - 20
X: =10
Y: =Parent.TemplateHeight - 2
- tabOverlay:
Control: Classic/Button@2.2.0
Properties:
BorderColor: =RGBA(0,0,0,0)
BorderStyle: =BorderStyle.None
BorderThickness: =0
Color: =RGBA(0,0,0,0)
DisabledBorderColor: =RGBA(0,0,0,0)
Fill: =RGBA(0,0,0,0)
FocusedBorderColor: =ColorFade(Self.Fill, 75%)
FocusedBorderThickness: =2
FontWeight: =FontWeight.Normal
Height: =Parent.TemplateHeight
HoverBorderColor: =RGBA(0,0,0,0)
HoverColor: =RGBA(0,0,0,0)
HoverFill: =RGBA(0,0,0,0.03)
OnSelect: =Set(varActiveTab, ThisItem.TabID)
PressedBorderColor: =RGBA(0,0,0,0)
PressedColor: =RGBA(0,0,0,0)
PressedFill: =RGBA(0,0,0,0.06)
RadiusBottomLeft: =0
RadiusBottomRight: =0
RadiusTopLeft: =0
RadiusTopRight: =0
Text: =""
Width: =Parent.TemplateWidth
- tabDivider:
Control: Rectangle@2.3.0
Properties:
AlignInContainer: =AlignInContainer.Stretch
BorderColor: =RGBA(0,0,0,0)
BorderStyle: =BorderStyle.None
BorderThickness: =0
Fill: =RGBA(222,224,228,1)
FillPortions: =0
Height: =1
LayoutMinHeight: =0
LayoutMinWidth: =0
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 |