Navigation menu for Power Apps canvas apps
A navigation list that works as a vertical sidebar or a horizontal tab bar. Items come from a comma separated list, and an OnNavigate event tells the app which item was picked.
Requirements
- License: Standard. No premium connector, no PCF, no environment setting.
- Power Apps Studio with modern controls enabled in the app settings
- A canvas app or a component library
Properties
| Property | Type | Notes |
|---|---|---|
Items | Text | Comma separated item names |
Selected | Text | Active item when the screen opens |
Orientation | Text | Vertical or Horizontal |
AccentColor | Color | Selected item color |
SelectedItem | Text (output) | The active item |
OnNavigate | Event | Runs after a pick |
Download
nav-menu.zip holds the component, a demo screen, the property list and the MIT license. The same files one by one:
NavMenu.pa.yaml, the component definitionDemoNavMenu.pa.yaml, a demo screen with sample dataREADME.md, properties, setup and limitsLICENSE.txt, the MIT license
Setup
- Open your canvas app (or component library) in Power Apps Studio.
- Create a component named NavMenu and paste the content of NavMenu.pa.yaml from the download above.
- Insert an instance on a screen and set its input properties, using the demo screen as a guide.
- Resize the instance with its Width and Height.
Known limits
- Item names must be unique and cannot contain a comma.
- No icons and no nested levels in this version.
License
MIT, copyright Marcel Lehmann. Use it in private and commercial apps and change it. Keep the license text with the files you pass on, an attribution inside the app is not needed. See LICENSE.txt.