Skip to content

Progressbar

Progress loading bar.

Usage

Simple Usage

preview
vue
<template>
  <p-progressbar value="15" />
  <p-progressbar value="25" />
  <p-progressbar value="50" />
  <p-progressbar value="75" />
  <p-progressbar value="100" />
</template>

With Input Range

preview
vue
<template>
  <p-input-range v-model="value" />
  <p-progressbar :value="value" />
</template>

<script lang="ts" setup>
const value = ref(50)
</script>

Success State

preview
vue
<template>
  <p-progressbar success />
</template>

Error State

preview
vue
<template>
  <p-progressbar error />
</template>

Indeterminate Mode

preview
vue
<template>
  <p-progressbar indeterminate />
</template>

API

Props

PropsTypeDefaultDescription
minNumber0Lowest progress value
maxNumber100Highest progress value
valueNumber-Progress value
indeterminateBooleanfalseEnable indterminate mode

Slots

NameDescription
There no slots here

Events

NameArgumentsDescription
There no props here

Released under the MIT License.