Pear

PProgress

PProgress is a small native progress helper for known progress and "still working" loading states.

Determinate
65%
vue
<p-progress :value="uploadProgress" />
<small>{{ uploadProgress }}%</small>
Custom max
7 of 10
vue
<p-progress :value="taskProgress" :max="10" />
<small>{{ taskProgress }} of 10</small>
Indeterminate
Waiting for a response...
vue
<p-progress indeterminate />
Tooltips
Upload is 65% complete
vue
<p-progress
  :value="uploadProgress"
  tooltip="Upload is 65% complete"
  tooltip-placement="top"
/>
API

Props

NameTypeDefaultDescription
valuenumber-Current progress value. Omitted when indeterminate is true.
maxnumber100Maximum progress value.
indeterminatebooleanfalseRenders an indeterminate progress indicator.
tooltipstring-Optional Pico tooltip content.
tooltipPlacementPTooltipPlacement-Optional Pico tooltip placement.