Modern controls bring the Fluent UI design system into Power Apps, offering an updated look and feel to your applications. These controls are still in preview, but they already provide enhanced styling and functionality that can elevate the user experience. - Nate Halliwell
Before you can start using the new controls, you need to enable them in your Power Apps studio. Here’s how:
Once done, you'll have access to modern controls like buttons, dropdowns, progress bars, and of course, the tab list.
Let’s focus on a common use case: improving a form layout with the new tabs control. Imagine you’re working with a CRUD application in Power Apps, where you need to display and manage contact information. A form full of fields can look overwhelming, but using tabs to organize the information can make it more digestible for users.
To get started with the tab control:
Here’s how to set up your tab list data:
Tab Name: General Info
Tab Value: 1
Tab Name: Address
Tab Value: 2
Tab Name: Additional Info
Tab Value: 3
After you’ve set up your data, you’ll need to adjust the tab list to display the names correctly. Click on the tab list, go to Edit Fields, and select the Tab Name field for display. You’ll now see the tabs with clear labels like General Info, Address, and Additional Info.
To ensure that each tab displays the correct fields, you need to control the visibility of form sections based on the selected tab. Here’s how:
TabList1.Selected.TabValue
Now, for each form section, update the Visible property of the data cards. For example:
TabList1.Selected.TabValue = 1
Once you’ve set the visibility properties for all data cards, test your form. You’ll see that each tab only displays the relevant fields. This makes the form much easier to navigate and fill out, as users will only see the fields that correspond to the selected tab.
Tabs are ideal for breaking up large forms into more manageable sections. Instead of overwhelming users with a long list of fields, you can give them a structured experience where they interact with only a few fields at a time. This enhances usability and provides a better overall experience in Power Apps.
With the introduction of modern controls, Power Apps users can now create more polished and user-friendly applications. The new tabs control offers a simple but effective way to organize forms, making them easier to navigate. By enabling these features, developers can provide a better experience for their users while taking advantage of Microsoft’s powerful design system.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Apps and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.