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
Size, thickness & rounded caps
Use size
, thickness
& roundCaps
props to configure RingProgress, size and thickness values:
Size
Thickness
Sections tooltips
Add tooltip
property to section to display floating Tooltip when user hovers over it:
Hover sections to see tooltips
Root color
Use rootColor
property to change the root color:
Sections props
You can add any additional props to sections:
Hovered section: none
Customize label
You can add any React node as label, e.g. Text component with some additional styles or ThemeIcon:
40%
Filled segment transition
By default, transitions are disabled, to enable them, set transitionDuration
prop
to a number of milliseconds:
30%