Progress Bar
# FxProgress Progress Bar
Displays operation progress to inform users of current status and expectations.
# Attributes
| Parameter | Description | Type | Optional Values | Default |
|---|---|---|---|---|
| percentage | Percentage (required) | number | 0-100 | 0 |
| type | Progress bar type | string | line/circle/dashboard | line |
| stroke-width | Progress bar width (px) | number | — | 6 |
| text-inside | Display text inside progress bar (only when type=line) | boolean | — | false |
| status | Current progress state | string | success/exception/warning | — |
| color | Progress bar background color (overrides status color) | string/function/array | — | '' |
| width | Canvas width for circular progress (only when type is circle or dashboard) | number | — | 126 |
| show-text | Whether to display progress text | boolean | — | true |
# Linear Progress Bar
Copy
# Inside Percentage Display
Displays percentage inside the progress bar, suitable for scenarios like file uploads.
Copy
# Custom Color
Customize progress bar color using the color property, which accepts color strings, functions, or arrays.
Copy
# Circular Progress Bar
Set type to "circle" for circular progress bars. Use width to adjust its size.
Copy
# Dashboard Progress Bar
Copy