Hello #PowerAddicts,
Have you ever had a requirement to build Mega Nav in Power Apps? If yes, then you have it - "Power Mega NAV Component." Feel free to download and use.
Key Features:
Configurable Properties:
Collection Elements:
ID*: Unique ID of a navigation item
Title*: Display Name of a navigation item
Icon(Optional): Icon for a navigation item
MenuType*: Parent or Child
ParentMenu: If MenuType "Child," Title of the Parent Item
MenuOrder: Order in which Top Nav display
LinkType: screen or url
NavLink: If LinkType "url", add the url path else ""
Screen: If LinkType "screen," add the screen name
Example:
Table(
{
ID: 1,
Title: "Menu1",
Icon: Icon.Home,
MenuType: "Parent",
ParentMenu: "",
MenuOrder: 1,
NavLink: "",
LinkType: "screen",
Screen: App.ActiveScreen
},
{
ID: 2,
Title: "Menu2",
Icon: "",
MenuType: "Parent",
ParentMenu: "",
MenuOrder: 2,
NavLink: "",
LinkType: "screen",
Screen: App.ActiveScreen
},
{
ID:10,
Title: "Home",
Icon: "",
MenuType: "Child",
ParentMenu: "Menu1",
MenuOrder: 1,
NavLink: "",
LinkType: "screen",
Screen: App.ActiveScreen
},
{
ID:11,
Title: "SubMenu2",
Icon: "",
MenuType: "Child",
ParentMenu: "Menu1",
MenuOrder: 2,
NavLink: "https://web.powerapps.com/",
LinkType: "url",
Screen: App.ActiveScreen
}
)
Note: After Importing component, upload "baseline_arrow_drop_down_black_18dp.png" and assign it to "ImgDownArrow"
Let me know your feedback and if you have any questions?
Connect with me on:
Twitter: @deepak_s22
Linkedin: Deepak
Regards,
Deepak S
@DeepakS , Hi Deepak... I liked your component and installed the app to see the nav bar. It works completely fine on your msapp. The problem arised when I import it in a component library and then use it in some other canvas application. I am unable to generate lvl 2 Menu even after copying the same content from your app and modifying accordingly. Would you please help me in solving this isse