Skip to content
All 183 components, $149 onceSee plans

Badge Components for Power Apps

A badge is a small read-only label that tells the user the state of a record: Open, Overdue, Draft. The Badge family has four text badges that share the same styles and colours and differ only in the style, colour and text they start with, plus people components (User Avatar, User Chip and Avatar Group) that show the signed-in user's photo, initials or name live. Reach for a text badge inside a gallery row or next to a form field, and for an avatar in an app header or an "assigned to" column.

Pick a variant

  • Simple BadgePaid

    Label with a tinted background and soft corners, starting as New in your brand colour

    Settings: Text, Style (Soft, Outlined, Pill or Outlined pill), Color (Brand, Gray, Green, Amber, Red, Blue, Purple or Pink), Own color

  • Border BadgePaid

    Label with a tinted background, soft corners and a matching border, starting as In review in amber

    Settings: Text, Style (Soft, Outlined, Pill or Outlined pill), Color (Brand, Gray, Green, Amber, Red, Blue, Purple or Pink), Own color

  • Pills BadgePaid

    Pill with a tinted background and fully rounded ends, starting as Active in green

    Settings: Text, Style (Soft, Outlined, Pill or Outlined pill), Color (Brand, Gray, Green, Amber, Red, Blue, Purple or Pink), Own color

  • Outlined Pills BadgePaid

    Pill with a thin border and no fill for a quieter label, starting as Draft in gray

    Settings: Text, Style (Soft, Outlined, Pill or Outlined pill), Color (Brand, Gray, Green, Amber, Red, Blue, Purple or Pink), Own color

  • User AvatarPaid

    Profile photo of the signed-in user with initials as the fallback, and an optional presence dot

    Settings: Microsoft account, Profile photo (when Microsoft account is on), Name (when it is off), Style, Shape, Size, Colour, Presence dot, Status

  • User ChipPaid

    Avatar and name in one pill for app headers and assigned-to rows

    Settings: Microsoft account, Name, Style, Colour, Presence dot, Status

  • Avatar GroupPaid

    Overlapping stack of initials for assignee and shared-with lists

    Settings: Lead with the signed-in user, Names, Max circles before +N, Size

Paid means any paid plan (which plan do I need?). Open the category in the library: Badge.

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

After you paste

The text badges are self-contained. Each pastes as one Classic button with the text, style and colour from its settings: btnBadge (Simple Badge), btnBorderBadge, btnPillBadge or btnOutlinedPillBadge. Nothing else needs wiring. To show real data, drop the badge into a gallery row and change four properties.

Text property of btnBadge, reading the status column of the row:

ThisItem.Status

Width property of btnBadge. The pasted Width is a fixed number worked out from the text you typed in Settings, so a longer status would be cut off. This is the same estimate as a formula (use 22 instead of 18 on the two pill styles):

Len(Self.Text) * 6.2 + 18

Color property of btnBadge. Color, Fill and BorderColor are fixed RGBA values, so the background does not follow the text colour on its own. These are the green, red and gray text colours the badges use in the light theme:

Switch(ThisItem.Status, "Open", RGBA(21, 128, 61, 1), "Blocked", RGBA(185, 28, 28, 1), RGBA(55, 65, 81, 1))

Fill property of btnBadge, with the matching backgrounds (leave Fill alone on Outlined Pills Badge, which has none, and switch BorderColor the same way on the two outlined styles):

Switch(ThisItem.Status, "Open", RGBA(220, 252, 231, 1), "Blocked", RGBA(254, 226, 226, 1), RGBA(243, 244, 246, 1))

User Avatar, User Chip and Avatar Group read User().FullName, and User Avatar also lays the photo from User().Image (imgUserAvatarPhoto) over the initials. To show another person, for example the assignee of a gallery row, switch Profile photo off before you copy, then replace the Text property of lblUserAvatarInitials (lblUserChipInitials on the chip) with the same initials formula applied to your column:

With({ n: ThisItem.AssignedTo.DisplayName }, Upper(Left(n, 1) & Mid(n, Find(" ", n & " ") + 1, 1)))

On the chip, also point the Text of lblUserChipName and the Len() in the Width of conUserChip at the same column.

Good to know

  • Every Badge component needs a paid plan; none is free. Editing the settings needs any paid plan except the old Components subscription. None of them offers Modern YAML and none has notes beyond the paste hint.
  • All four text badges paste with DisplayMode set to View, so they ignore clicks and hover. To make one clickable, set DisplayMode to DisplayMode.Edit and add an OnSelect; its hover and pressed colours equal the normal ones, so it will not change under the mouse.
  • The four text badges come from one builder. Style in Settings turns any of them into any of the four looks, and the control keeps the name of the component you copied. Color offers Brand, which follows your brand colour, seven fixed status colours, and Own color, which mixes the text, background and border shades from the colour you pick.
  • With Microsoft account switched on, the avatar and the chip use User().FullName, and the avatar User().Image for the photo, no connector needed. The first circle of Avatar Group reads User().FullName too while Lead with the signed-in user is on. Switched off, the Name you type is pasted as literal text, and the extra Names in Avatar Group are always literal initials ("AA", "JB"). The presence dot is a fixed colour from the Status setting; to make it live, point the Fill of conUserAvatarPresence (conUserChipPresence on the chip) at your own status field.
  • The light and dark toggle next to Copy YAML changes the YAML of every Badge component. The text badges write the shades for the theme you copied with as fixed values, so copy again after you switch the theme.

Library: Badge. Related guides: Gallery for the rows badges usually sit in, and Cards.

Badge Components for Power Apps | PowerLibs