Skip to content
All 183 components, $149 onceSee plans

Dropdowns for Power Apps

A dropdown hides a list until the user opens it: a menu of actions or screens, an account menu, or a picker that searches as the user types. The menu dropdowns paste as three parts: a trigger such as btnDropdownMenu, an invisible full-screen button (the scrim, btnDropdownMenuScrim) that closes the menu on a click elsewhere, and a container such as conDropdownMenu with one button per row. One context variable per dropdown, such as varShowDropdownMenu, opens and closes it. The data pickers, Searchable Lookup and People Picker, put a search box over a gallery of results. Reach for one when the built-in Dropdown control is too plain, or when the user must find one record among many.

Pick a variant

  • Dropdown MenuFreeClassic, Modern

    A menu of actions under a button, with red destructive rows under a divider

    Settings: Button text, Menu items (up to 8): Label, Icon, Red switch for the destructive row

  • User Profile DropdownPaidClassic, Modern

    The same account menu under a round initials avatar, right-aligned for a header corner

    Settings: Use the signed-in account, Name, Email, Menu items (up to 7): Label, Icon, Sign out text

  • Nested DropdownPaidClassic, Modern

    A menu where marked rows open a second menu to the right

    Settings: Button text, Menu items (up to 8): Label, Icon, Submenu switch, Sub-items (up to 8)

  • Profile MenuPaidClassic, Modern

    An account menu under a pill with initials and name: name, email, items and Sign out

    Settings: Use the signed-in account, Name, Email, Menu items (up to 7): Label, Icon, Sign out text

  • Inline DropdownPaidClassic, Modern

    A quiet text trigger without a box, for page headers; the trigger shows the chosen row

    Settings: Text before a choice, Icon, Menu items (up to 8): Label, Icon

  • Navigation DropdownPaidClassic, Modern

    A menu of screens with an icon per row; the trigger shows the chosen screen

    Settings: Text before a choice, Screens (up to 8): Label, Icon

  • Searchable LookupPaidClassic, Modern

    Finding one record by typing, top 10 matches shown, from sample rows or your own list

    Settings: Where the rows come from (Sample rows, or My SharePoint list or Dataverse table), Sample rows (up to 12), List or table name, Column to search and show, Column type

  • People PickerPaidClassic, Modern

    Finding a person by typing, shown with initials avatars, from sample people or Office 365

    Settings: Selection (one or several), Data Source (Office 365 Users or Sample people), Sample people (up to 12): Full Name, Department / Role

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: Dropdowns.

To copy a variant into Power Apps Studio, follow Getting Started. Dropdown Menu is free; the others need a paid plan, and the settings only accept changes with a paid plan other than the old Components subscription.

After you paste

Paste a menu dropdown onto the screen, not into a container (the scrim fills its parent), and keep the menu container last in the Tree view so it draws on top. It follows the trigger button, so only move that.

The variables are varShowDropdownMenu, varShowNestedMenu, varShowNavMenu, varShowInlineMenu, varShowProfileMenu (Profile Menu) and varShowUserMenu (User Profile Dropdown). Every row is its own numbered button (btnDropdownMenuItem1 and so on) whose OnSelect only closes the menu, so put your action in front. For the Edit row of Dropdown Menu (EditScreen is your own screen):

Navigate(EditScreen);
UpdateContext({ varShowDropdownMenu: false })

Navigation Dropdown rows already store their label in varNavChoice, which the trigger shows, and carry a commented Navigate line with a guessed screen name. End the first line with a semicolon, remove the // and correct the name:

UpdateContext({ varNavChoice: "Requests", varShowNavMenu: false });
Navigate(RequestsScreen)

Inline Dropdown stores the chosen label in varInlineChoice and shows it on the trigger. Use it to filter (Orders and Office are your own list and column):

Filter(Orders, Office = Coalesce(varInlineChoice, "Berlin office"))

In Nested Dropdown a row with sub-items sets varOpenSubmenuId to its row number, which shows the submenu beside it (conNestedSubmenu2 for row 2). All other rows close everything.

The account menus read User().FullName and User().Email while Use the signed-in account is on, and show the name and email you typed while it is off. The Sign out row (btnProfileMenuSignOut, or btnUserMenuSignOut in User Profile Dropdown) closes the menu and carries Exit(true) only as a comment. To sign the user out:

UpdateContext({ varShowProfileMenu: false });
Exit(true)

Searchable Lookup stores the chosen record in varLookupSelected, People Picker the chosen person in varPickerSelected, both global variables set with Set:

// Searchable Lookup with sample rows: the column is called Title
varLookupSelected.Title
Patch(Tasks, Defaults(Tasks), { Project: varLookupSelected.Title })

// People Picker: Sample people, then Office 365 Users
varPickerSelected.Name
varPickerSelected.DisplayName

Good to know

  • Both pickers work right after pasting: the sample rows sit in the YAML as a Table (column Title in Searchable Lookup, Name and Department in People Picker). The same Filter is in the gallery Items (galLookupResults, galPickerResults) and the outer container Height; change both for your own data.
  • Searchable Lookup on your own list filters with txtLookupSearch.Text in 'Title' (your column). Add the list under Data before you paste. On SharePoint in is not delegable, so a large list is only searched within the data row limit. Column type Choice / Lookup adds .Value to the row text and the selected text but not to the Filter, so check that formula in Studio.
  • Several people (Selection) are rows of colPickerSelected; a click toggles one.
  • People Picker on Office 365 Users calls Office365Users.SearchUser() and needs that connector added under Data before you paste. Either source shows at most 8 people.
  • The Modern text input has no Text property: the formulas read txtLookupSearch.Value and txtPickerSearch.Value, so use .Value in yours.
  • Classic and Modern share variable, button and container names. Modern row icons are images (imgDropdownMenuItem1Icon, not icoDropdownMenuItem1Icon), and the row text is a label such as lblDropdownMenuItem1Text: edit that label to rename a row.
  • User Profile Dropdown's trigger is the round container conUserMenuAvatar under the invisible button btnUserMenu. Move both together; the menu conUserMenu follows the button. Its X is btnUserMenu.X + btnUserMenu.Width - 260, negative at the pasted position, so move the trigger to the right side of your header.
  • The menu variables are context variables, so a Navigation Dropdown forgets its choice on the next screen unless you change its UpdateContext calls to Set. Two copies of one dropdown on a screen share a variable and open together: rename it in one copy.
  • An empty Sign out text drops that row. Every dropdown has notes.

Open the category at Dropdowns. For the headers and side menus they live in, see Navigation Bars and Sidebars.

Dropdowns for Power Apps | PowerLibs