Vivasoft-logo
[rank_math_breadcrumb]

A Deep Dive into Power Apps – Header & Footer Component

In our previous articles in the “Deep Dive into PowerApps” series, we explored the basics of PowerApps,  learned how to create custom components and make components configurable. Now, we will dive deeper into PowerApps and focus on one specific component –

  1. Header Component
  2. Footer Component

The Header & Footer component is a crucial aspect of any application as it provides a consistent user interface and navigation throughout the app.

In this article, we will explore the various functionalities and features of the Header & Footer component and learn how to create and customize it according to our specific needs.

Header Component:

After creating a new component and renaming it to header_component let’s insert a container within it and rename it to hc_container.

create header
create header
Fig – 1: Adding Container in Newly Created Header Component

Time to set up some property.

Header_component:

Don’t worry this is not a fixed width or height. It will be used for now in design only, later when we will use this component on a screen, we can resize the component, and this width and height will be changed based on those values. We are using a reasonable height for a header to get proper visualization during designing it.

Now let’s set hc_container’s width and height relatively.

Now time to color the header, but it should be configurable. So let’s create a custom property.

create header
Fig – 2: Creating Custom Property bg_color

Then set the property color as hc_container’s Fill property.

For now, we can use white color as the value of bg_color property.

Simply we can show any company icon or any preferable icon on the left side and User info on the right side of the header.

After inserting the following items and setting those properties the component will look like ss:26

Fig – 3: Header Component after setting properties

Now we may want to make a rounded background for the icon. Unfortunately, right now Icon does not have any Border Radius property to round it border. But we know how to get work done. Let’s insert a button (item with border-radius property), rename it to app_icon_bg, and set its property like the below-

Setting hc_app_icon’s background to transparent.

After setting all properties header component will look like  fig-4.

header & footer
Fig – 4: After making background rounded.

Let’s add a separator within header_component to highlight the header portion like Fig 5 –

Fig – 5: Screen with Sidebar and Header component.

For that, we need a rectangle shape. Let’s insert a rectangle shape, rename it to hc_seperator and then set its properties like the below-

Fig – 6: Adding shape for highlighting Header component

Footer Component:

Now let’s create another component to use as a footer for each screen.

Inserting a new component and renaming it to footer_component let’s create a custom input property for the component to control its background color.

After that let’s insert a container within it and rename it to fc_container. Within Container let’s insert a “Text Label” and rename it to fc_footer_text.
Now let’s set properties for that element like below-

Fig – 7 : Creating Footer Component

Now let’s insert these components into our screen to see how they look together. 

After inserting all 3 components we created it will look like below.

Fig – 8 : Screen with All three components (Sidebar, Header & Footer)

Eventually, when our “Home” screen will be filled with graphs and charts it will look like Fig-9.

footer component
Fig – 9: Screen with some dummy graphs and newly created components

Till now we have learned-

  1. About Component
  2. Uses of Component
  3. How to Create a Component
  4. How to make components configurable
  5. How to use a component on a screen.

Final Word

In conclusion, the Header & Footer component is a powerful feature of PowerApps that allows you to create a consistent user interface and navigation throughout your app.

By following the steps outlined in this article, you can easily create and customize your own Header & Footer component according to your specific needs.

Hire a Talented Developer from Vivasoft

By Vivasoft Team
By Vivasoft Team
Hire Exceptional Developers Quickly

Find Your Talent

Get Updated with us Regularly
Share this blog on

Hire a Talented Developer from Vivasoft

Lets discuss about your offshore project. We can Help you by our skillful Global team. You can take a free counciling by taking a schedule

Related Post