Status pill for Power Apps canvas apps
A rounded label for statuses with five tones: success, warning, error, info and neutral. Status colors live in one place instead of one copy per screen.
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 |
|---|---|---|
Label | Text | Text in the pill |
Tone | Text | success, warning, error, info or neutral |
Download
status-pill.zip holds the component, a demo screen, the property list and the MIT license. The same files one by one:
StatusPill.pa.yaml, the component definitionDemoStatusPill.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 StatusPill and paste the content of StatusPill.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
- Components cannot be placed inside a gallery.
- Colors are fixed per tone. Edit the two Switch formulas in the YAML to change them.
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.