ProgressCircle
Display circular progress for an operation.
Import
import { ProgressCircle } from 'rsuite';Examples
Basic
A basic circular progress bar.
Status
Use the status prop to indicate different states: 'active', 'success', or 'fail'.
Color
Customize the progress bar color with the strokeColor prop.
Size
Adjust the thickness of the progress bar using the strokeWidth prop.
Gap
Customize the gap degree and position of the circular progress bar using the gapDegree and gapPosition props.
Stroke Linecap
Control the end shape of the progress bar with the strokeLinecap prop. Options include 'round', 'square', and 'butt'.
Hide Info
Hide the percentage display in the center using the showInfo prop.
Custom Info Content
Use the renderInfo prop to customize the content displayed in the progress info area. This allows for more complex and informative displays beyond the default percentage.
Multiple Sections
Use the sections prop to create a progress circle with multiple colored segments. Each section can have its own percentage and color.