Sidebars for Power Apps
A sidebar is the column on the left edge of a screen that lists the app's sections, usually one icon and label per row with headers such as MAIN and WORKSPACE between groups. Reach for one when the app has more sections than fit in a top bar, or when users switch sections all day and need to see where they are. Sidebar Wide is free; the rest need a paid plan.
Pick a variant
- Collapsible SidebarPaidClassic, Modern
A sidebar the user collapses to icons with a toggle
Settings: Sidebar Title, Sidebar Background Color, Navigation Items (Add Item, Add Header)
- Narrow SidebarPaidClassic, Modern
An icon-only rail: 5% of the screen width in Classic, a fixed 47px in Modern
Settings: Navigation Items (Add Item, Add Header)
- Sidebar with NavbarPaidClassic, Modern
A 60px icon rail plus a top bar with project name and profile picture
Settings: Project Name, Show Logo, Show User Profile, Sidebar Navigation Items (Add Item, Add Header)
- Sidebar WideFreeClassic, Modern
A 195px sidebar with logo, labelled rows, section headers and the user's name
Settings: Sidebar Title, Logo Icon, User Name, Navigation Items (Add Item, Add Header)
- Animated SidebarPaidClassic
A 45px rail drawn as one SVG image with a sliding selection marker
Settings: Primary/Accent Color, Background Color, Active Icon Color, Inactive Icon Color, Divider Color, Menu Items (Add Item, Icon SVG / PowerIcon YAML, Show Divider Below)
- Dropdown SidebarPaidClassic, Modern
Sections that expand and collapse, plus items that are always visible
Settings: Dropdown Sections (Add Section, Section Name, Item Label), Standalone Items (Add Item), Custom Icon SVG
- Glass Floating SidebarPaidClassic, Modern
A translucent panel that floats 16px inside the screen, with badges and a user role line
Settings: Accent Color, User Role Text, Enable Notification Badges, Badge Count, Dropdown Sections (Add Section), Standalone Items (Add Item), Show notification badge on this item, Custom Icon SVG
| Component | Plan | YAML | What it is for | Settings you can change |
|---|---|---|---|---|
| Collapsible Sidebar | Paid | Classic, Modern | A sidebar the user collapses to icons with a toggle | Sidebar Title, Sidebar Background Color, Navigation Items (Add Item, Add Header) |
| Narrow Sidebar | Paid | Classic, Modern | An icon-only rail: 5% of the screen width in Classic, a fixed 47px in Modern | Navigation Items (Add Item, Add Header) |
| Sidebar with Navbar | Paid | Classic, Modern | A 60px icon rail plus a top bar with project name and profile picture | Project Name, Show Logo, Show User Profile, Sidebar Navigation Items (Add Item, Add Header) |
| Sidebar Wide | Free | Classic, Modern | A 195px sidebar with logo, labelled rows, section headers and the user's name | Sidebar Title, Logo Icon, User Name, Navigation Items (Add Item, Add Header) |
| Animated Sidebar | Paid | Classic | A 45px rail drawn as one SVG image with a sliding selection marker | Primary/Accent Color, Background Color, Active Icon Color, Inactive Icon Color, Divider Color, Menu Items (Add Item, Icon SVG / PowerIcon YAML, Show Divider Below) |
| Dropdown Sidebar | Paid | Classic, Modern | Sections that expand and collapse, plus items that are always visible | Dropdown Sections (Add Section, Section Name, Item Label), Standalone Items (Add Item), Custom Icon SVG |
| Glass Floating Sidebar | Paid | Classic, Modern | A translucent panel that floats 16px inside the screen, with badges and a user role line | Accent Color, User Role Text, Enable Notification Badges, Badge Count, Dropdown Sections (Add Section), Standalone Items (Add Item), Show notification badge on this item, Custom Icon SVG |
Paid means any paid plan (which plan do I need?). Classic and Modern are the two Power Apps control sets you can pick from the Copy YAML button. Open the category in the library: Sidebars.
Copy one from the Power Apps sidebar library; the steps to paste it into Power Apps Studio are on Getting Started.
Icons are typed, not picked, on Sidebar Wide, Narrow Sidebar, Collapsible Sidebar and Sidebar with Navbar: each item has an Icon box that takes a Power Apps icon name such as Home, Waffle or Globe. Dropdown Sidebar and Glass Floating Sidebar offer an icon dropdown plus a Custom Icon SVG box, and Animated Sidebar takes SVG or PowerIcons YAML per item.
After you paste
Sidebar Wide, Narrow Sidebar, Collapsible Sidebar and Sidebar with Navbar share one wiring model. Their gallery galSidebarItems reads a Table where every clickable row has a screen column set to App.ActiveScreen, and the button btnItemAction already runs Set(varActiveSidebarItem, ThisItem.labelText); If(!IsBlank(ThisItem.screen), Navigate(ThisItem.screen)). Your only job is to swap App.ActiveScreen for the real screen in the Items property of galSidebarItems:
Table(
{ id: 1, isHeader: true, labelText: "MAIN", itemIcon: Blank(), screen: Blank() },
{ id: 2, isHeader: false, labelText: "Home", itemIcon: Icon.Home, screen: HomeScreen },
{ id: 3, isHeader: false, labelText: "Dashboard", itemIcon: Icon.Waffle, screen: DashboardScreen }
)
Dropdown Sidebar and Glass Floating Sidebar name their controls after the section label with spaces removed: the MAIN section gets a gallery galMAINItems, a button btnMAINItemClick and an expand variable varExpandMAIN (varExpandMAINMENU on Glass Floating, whose first section is MAIN MENU). The button only records the click, so add the navigation yourself in the OnSelect of btnMAINItemClick:
Set(varActiveSidebarItem, ThisItem.label);
Switch(ThisItem.label,
"Home", Navigate(HomeScreen),
"Dashboard", Navigate(DashboardScreen)
)
Each standalone item has its own button, such as btnFavoritesClick; add your Navigate() after its Set(). The sections are pasted closed, because the expand variables start blank.
Collapsible Sidebar toggles a global variable named varSidebar (this one name never follows your prefix settings), and the Width of conSidebar is If(varSidebar, Parent.Width * 17%, Parent.Width * 5%) in Classic and If(varSidebar, 220, 60) in Modern. The variable is blank until the first click, so the sidebar starts collapsed. Let your content container follow it by putting this in its X, and Parent.Width - conSidebar.Width in its Width:
conSidebar.Width
Animated Sidebar is different: one Image control draws the whole rail as SVG, and transparent buttons btnSidebarItem1, btnSidebarItem2 and so on sit on top. Append your Navigate() after the three Set() calls the YAML already places in each button's OnSelect.
Good to know
- Some settings only change the preview. User Name on Sidebar Wide does not reach the YAML, which binds
lblNametoUser().FullName. Sidebar Background Color on Collapsible Sidebar is never read by its generator either; change the Fill ofconSidebarin Studio instead. Show Logo and Show User Profile on Sidebar with Navbar are ignored too:imgLogoandimgUserProfilePictureare always pasted, so delete them in Studio if you do not want them. - All but one offer Modern controls. Animated Sidebar is Classic only, and its YAML is the same in the light and the dark theme: its colours come from Settings. Custom SVG icons on Dropdown and Glass Floating survive in both control sets: each row shows an icon control when its iconType is "default" and an Image control when it is "custom".
- The selected row colours itself. The active row's Fill is your brand colour at 15% opacity, chosen by comparing
varActiveSidebarItemwith the row's label; before any click the first item counts as active. Every screen that shows the sidebar reads that same global variable. Animated Sidebar keeps its selection invarSidebarStateinstead, as a number. - Widths to plan your content around. Sidebar Wide 195px. Narrow
Parent.Width * 5%in Classic, 47px in Modern. Collapsible 17% or 5% of the screen in Classic, 220px or 60px in Modern. Sidebar with Navbar 60px, under a 50px bar; its rail is pasted 718px high, so set the Height ofconSidebartoParent.Height - 50for other screen sizes. Dropdown 250px in Classic, 214px in Modern. Glass Floating 260px at X 16 and Y 16. Animated 45px. - Instructions and unlocking. Glass Floating Sidebar and Animated Sidebar have an Instructions tab. Copying a paid sidebar needs a paid plan; editing the Settings tab needs any paid plan except the old Components subscription, and without one the editor is read-only with an Unlock prompt.
Related
Open the category in the library: Sidebars. Related guides: Navigation Bars and App Shells.