◇
Progress
2 partsAnatomy
Import the parts and compose them. Each part forwards attributes to its underlying element.
vue
import {
ProgressRoot,
ProgressIndicator,
} from '@robonen/primitives/progress';
<ProgressRoot>
<ProgressIndicator />
</ProgressRoot>API Reference
ProgressRoot
Root| Prop | Type | Description |
|---|---|---|
modelValue? | number | null | Current value. `null` denotes an indeterminate progress bar. |
max? | number | Maximum value. |
getValueLabel? | (value: number, max: number) => string | Accessible label (use when no external label is provided). |
ProgressIndicator
IndicatorNo props or events — renders its element and forwards attributes.