Components
BaseProgressSummary
A figure, a caption and a percentage over a progress bar.
components/ui/BaseProgressSummary.vue
View in the demo
Example
18of 24 tasks75%
72 GBof 100 GB72%
By default it draws a progress bar from percent. Put another bar in the default slot when the progress has parts, like the storage of the file manager with a BaseSegmentBar. The tasks sidebar uses the default bar for the week.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
valuerequired | string | number | — | The main figure, already formatted. |
caption | string | — | The text after the figure, such as “of 24 tasks”. |
percent | number | — | The percentage shown on the right and used by the default bar. |
color | string | "primary" | The colour of the default bar. |
label | string | — | The aria-label of the default bar. |
Slots
Name | Slot props | Description |
|---|---|---|
#default | — | Replaces the default progress bar. |