Skip to content
All 183 components, $149 onceSee plans

Button Components for Power Apps

The Buttons family covers the single buttons you put under a form or in a header, plus the Split Button with its menu and the Action Bar along the bottom of an edit screen. Every button comes in three sizes (32, 40, 48), follows your brand color, and is as wide as its text unless you set a width. A plain text button is a real Classic or modern Button; a button with an icon is a small container with the icon, a label and a transparent button on top. The Button Group is its own family. Primary Button and Outline Button are free; the others need a paid plan.

Pick a variant

  • Primary ButtonFreeClassic, Modern

    The one action a screen is about

    Settings: Text, Icon and side, Scale, Size, Width, Color

  • Outline ButtonFreeClassic, Modern

    The second action next to a primary one: Cancel, Back, Skip

    Settings: Text, Icon and side, Style (brand or neutral), Scale, Size, Width, Color (Brand style only)

  • Icon ButtonPaidClassic, Modern

    Toolbars and the Add button above a gallery; icon only for known actions

    Settings: Text (the tooltip when icon only), Icon and side, Icon only, Style (filled, outline, ghost), Scale, Size, Width, Color (filled style only)

  • Loading ButtonPaidClassic, Modern

    Save buttons that wait for a Patch or a flow and must not be tapped twice

    Settings: Text, Text while busy, Demo reset seconds, Scale, Size, Width, Color

  • Gradient ButtonPaidClassic, Modern

    A hero button on a welcome screen

    Settings: Text, Start and End color, Direction, Scale, Size, Width

  • Raised ButtonPaidClassic, Modern

    The one action that must stand out on a busy home screen

    Settings: Text, Scale, Size, Width, Color

  • Back ButtonPaidClassic, Modern

    Top left of any screen that is not the home screen

    Settings: Text, Style (ghost or outline), Scale, Size, Width

  • Danger ButtonPaidClassic, Modern

    Delete, remove, cancel the order

    Settings: Text, Style (filled or outlined red), Icon, Scale, Size, Width

  • Ghost ButtonPaidClassic, Modern

    The third action in a row, Show more, toolbars

    Settings: Text, Icon and side, Scale, Size, Width

  • Badge ButtonPaidClassic, Modern

    A queue with a count: Approvals 3

    Settings: Text, Count, Style (outline or filled), Icon, Scale, Size, Width, Color (filled style only)

  • Link ButtonPaidClassic

    Forgot password, View all, legal links

    Settings: Text, URL, Size, Scale

  • Button GroupPaidClassic

    Connected segments in one outlined track, the active one tinted in the brand color. For a choice that changes a view or a filter: List, Board, Calendar. Three sizes and a scale. Light and dark.

    Settings: See the Settings tab

  • Split ButtonPaidClassic, Modern

    Save with Save and new and Save as draft behind a chevron

    Settings: Main action, Menu rows (label and icon, up to 5), Scale, Size, Width, Color

  • Action BarPaidClassic, Modern

    The Cancel and Save bar along the bottom of an edit screen

    Settings: Parts (hint, Cancel, Save disabled until valid), Primary, Cancel and Hint texts, Scale

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

To copy a variant into Power Apps Studio, follow Getting Started.

After you paste

Every button has a comment in its OnSelect that says where your action goes, except the Back Button, which already runs Back(). On a plain button that is the button itself; on a button with an icon it is the transparent button inside the container, named like the button with the btn prefix. Names use your prefix settings. The Danger Button line below sets a placeholder, not a PowerLibs name: use the variable that opens your dialog. Each PowerLibs modal names its own in the Modals guide.

// Primary Button, OnSelect
SubmitForm(frmEdit)

// Danger Button: ask first, the modal deletes.
// showDeleteConfirm stands for the variable that opens your modal
UpdateContext({ showDeleteConfirm: true })

Loading Button keeps its state in varLoadingButtonBusy. The tap sets it true, the button is disabled and shows the ring, and the demo timer sets it false after a few seconds. In your app the Patch ends it, and you delete the timer:

UpdateContext({ varLoadingButtonBusy: true });
Patch(Orders, Defaults(Orders), { Title: txtTitle.Text });
UpdateContext({ varLoadingButtonBusy: false })

Split Button opens its menu with varShowSplitMenu; each row has its own OnSelect and closes the menu. Action Bar pins itself to the bottom edge with Y = Parent.Height - 72 and follows the screen width.

Good to know

  • Width is a number worked out from the text when the YAML is generated. Set a width in Settings to fix it, or edit Width in Studio after changing the text. Scale resizes the whole button, text included, from 50 to 200 percent.
  • Two copies of the same button on one screen get the same control names; Studio renames the second copy with a suffix, which is fine. Only the Loading Button and the Split Button carry a variable; rename it on a second copy.
  • Outline Button has two styles. Brand, the default, puts the label in your brand color (or the Color you pick), the border at half strength of it and a light tint of it on hover. Neutral is a grey border with a dark label, for a quiet Cancel, and ignores Color.
  • Outlined buttons follow the preview theme: the neutral ones take border, text and hover tint from it, and the Outline Button's Brand style mixes its border with the theme's card color. Filled and ghost buttons are the same in both themes.
  • The Badge Button's count and the Split Button's rows are demo values; put CountRows into the pill and your actions into the rows.
  • Every button except the Link Button offers Classic and Modern YAML with the same size and text. The Link Button is a label, which is the same control in both sets. In Modern YAML the Outline Button's Brand style is a container with a label and a transparent button on top, because the modern Button has no dependable color properties; Neutral stays a real modern Button.

Library: Buttons. Related guides: Speed Dial for a floating action button, and Modals for the dialog a button usually opens.

Button Components for Power Apps | PowerLibs