RingProgress
Give user feedback for status of the task with circle diagram
Import
Source
Docs
Package
Usage
Set sections
prop to an array of:
value
– number between 0 and 100 – amount of space filled by segmentcolor
– segment color from theme or any other css color value
Application data usage
Colors
In previous example colors from theme.colors
were used, but any other css colors can be used instead:
Size, thickness & rounded caps
Use size
, thickness
& roundCaps
props to configure RingProgress, size and thickness values are in px:
Customize label
You can add any React node as label, e.g. Text component with some additional styles or ThemeIcon:
40%