Skip to main content
Component-page

Donut ring (SVG) for Power Apps canvas apps

A ring for one value from 0 to 100, drawn as SVG in an Image control. It covers progress and share without a chart control.

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

PropertyTypeNotes
PercentNumber0 to 100
CenterTextTextEmpty shows the rounded percent
CaptionTextSmall line below the center text
BarColor, TrackColorTextHex colors, because SVG cannot read a Color value
ThicknessNumberPercent of the diameter, 2 to 30

Download

donut-ring.zip holds the component, a demo screen, the property list and the MIT license. The same files one by one:

Setup

  1. Open your canvas app (or component library) in Power Apps Studio.
  2. Create a component named DonutRing and paste the content of DonutRing.pa.yaml from the download above.
  3. Insert an instance on a screen and set its input properties, using the demo screen as a guide.
  4. Resize the instance with its Width and Height.

Known limits

  • One value per ring. For several segments use more rings or a chart control.
  • Colors must be hex text.

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.

All components

Microsoft and the Power Platform product names (for example Power Apps, Power Automate, Copilot Studio) are trademarks of the Microsoft group of companies. This is an independent website. It is not operated, sponsored or endorsed by Microsoft.