Progress
Shows how far a task has progressed, as a share of the whole; slides a segment while that is unknown.
Parts
| Part | File | Does |
|---|---|---|
| Progress | Progress.vue | Shows how far a task has progressed, as a share of the whole. |
Styling
All of Progress’s styles live in progress.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @vueuse/core
- reka-ui
API reference
Shows how far a task has progressed, as a share of the whole.
Props 7
| Prop | Type | Default | |
|---|---|---|---|
| asChild | boolean | false | |
| |||
| as | AsTag | Component | — | |
| |||
| max | number | 100 | |
| |||
| getValueLabel | ((value: number | null | undefined, max: number) => string | undefined) | — | |
| |||
| getValueText | ((value: number | null | undefined, max: number) => string | undefined) | — | |
| |||
| modelValue | number | null | 0 | |
| |||
| class | ClassValue | — | |
| |||
Data attributes 3
| Data attribute | Values | |
|---|---|---|
| data-max | — | |
| ||
| data-state | 'indeterminate' | 'loading' | 'complete' | |
| ||
| data-value | — | |
| ||