R

Progress

2 parts

Anatomy

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
PropTypeDescription
modelValue?number | nullCurrent value. `null` denotes an indeterminate progress bar.
max?numberMaximum value.
getValueLabel?(value: number, max: number) => stringAccessible label (use when no external label is provided).

ProgressIndicator

Indicator

No props or events — renders its element and forwards attributes.