• Latest:
    1. Authorize REST call in Jscript
    2. Approval Process for external users – Power Automate
    3. Power Automate – Tips and Tricks
  • +45 26 246 341 +91 22 4129 6111
  • engage@kalpavruksh.com
  • Home
  • Services
    • Product Development
    • Technology Consulting
    • Agentic AI & AI/ML Automation
  • Dynamics 365 CoE
  • Blog
  • Careers
  • Company
    • About Us
    • Contact Us
29th June, 2022
  • Category: Smart Enterprise
  • Comments: 0

Create Component library in Power apps

In Power apps, we can create reusable components which can be used across multiple screens/applications. These components can be configured in such a way that we can just add and modify within few minutes. The changes made to component library can be easily reflected in the apps easily. You can store multiple Components with a library. To use the components from a component library, you must create an app that will use these component libraries. The screens within the Component library as just for testing the component.

In this blog, we will explain how to create a Component Library with a navigation control to navigate across multiple screens.

Create a Component Library

• The first step would be creating a component library.

• Once the Component page opens, it will look like as follows:

• Add a blank horizontal gallery component. Set the width to 70.

• To bind the left navigation menu data, click on the component and go to the custom properties of the component.

• Click on new custom property and set the Property type = Input and Data Type as Table. I have given the name to this table as navTable.

• Add parameters to the table like label, image and screen to navigate as follows.

• Now bind this table to the gallery which we added at the start.

• The component will look as follows:

• Set the property of image field in a gallery as follows. After Completing the component development, save and publish the component.

• Create a canvas app.

• Add new screen as follows:

• Add the created component to the new screen. Only published components will show under this option so do not forget to publish the component library you created in the above example.

• As we want to check the functionality of navigation, add 2 more screens and add components to it.

• Modify the navTable “NavigateScreen” parameter to call the respective screens as follows:

• Now run the app and click on each icon and check the screen. It calls the respective screens as follows:

Summary
We can use Component libraries across multiple applications or multiple screens by just changing the properties of Table to navigate through different screens easily. These component libraries can also be imported in another environment.
Component libraries are the recommended way to reuse the components across the apps. When using component library, an app maintains dependencies on the components it uses. The app maker will be alerted when the updates to dependent components become available. Hence, all new reusable components should be created within the component libraries instead.

< Back to previous page

Leave a comment

Cancel reply

Your email address will not be published. Required fields are marked *

Recent posts

Authorize REST call in Jscript
18th December, 2023
Approval Process for external users – Power Automate
21st September, 2023
Power Automate – Tips and Tricks
27th June, 2023
Modern Commands and Power Fx
30th March, 2023
Plugin development – Tricks to avoid infinite loops
20th December, 2022

Contact us





    Contact Us

    Kalpavruksh Technologies Denmark A/S
    Store Kongensgade 68,
    1264 København
    +45 26 24 63 41

    Kalpavruksh Technologies USA
    29 Walter Hammond Pl,
    Waldwick NJ 07463

     

    Kalpavruksh Systems Pvt. Ltd.
    8th Floor, Technocity,
    Mahape, Navi Mumbai 400 710
    +91 22 4129 6111

    Kalpavruksh Technologies Deutschland GmbH
    Gosheimer Straße 26,
    78564 Wehingen

    Company

    • About Us
    • Blog
    • Careers
    • GDPR Compliance
    • Privacy Policy
    • Partners Privacy Policy
    • Contact us

    Microsoft Gold Partner



    Follow us

    © Copyright Kalpavruksh Technologies. 2025. All right reserved.
    Have any questions about our services, or just want to find out more about how we can help you reach your goals? Engage with us!