web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / components within a ga...
Power Apps
Suggested Answer

components within a gallery

(1) ShareShare
ReportReport
Posted on by 678
I've heard conflicting things. Can you add a component within a gallery. I've heard yes and no as long as you put it inside a container. I haven't got this to work, so what's the latest answer to this...
Categories:
I have the same question (0)
  • Suggested answer
    Garima_PowerPlatform Profile Picture
    170 on at
    Hi,

    In PowerApps, specifically in Canvas apps, you can add components within a gallery, but there are some important considerations and limitations:

    Yes, with limitations: You can add components inside a gallery, but they must be placed within a container (e.g., a Frame, Rectangle, or Custom Card) that handles the layout and interacts correctly with the gallery data context.

    Example:

    1. Add a Rectangle or Frame to your gallery.
    2. Inside the container, add components like a button, label, or input field.
    3. Bind these components to the ThisItem property of the gallery (e.g., ThisItem.ColumnName).
    Gallery:
      Items: YourGallery
      `Rectangle` inside the gallery:
        Fill: White
        Width: 100
        Height: 100
        `Button` inside the rectangle:
          Text: ThisItem.ColumnName
          OnSelect: Navigate(ScreenName, ScreenTransition)

    Please Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
  • Suggested answer
    sasrsc Profile Picture
    678 on at
    I found my answer...
    Canvas component overview - Power Apps | Microsoft Learn
    • You can't insert a component into a gallery or a form (including SharePoint form).

    Bummer...
  • FCosta Profile Picture
    4 on at
    @Garima_PowerPlatform, buttons, labels, or input fields are not Components, they are Controls.
    As replied by the OP, it is a known limitation that currently Components cannot be used inside of Gallery controls.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard