@bprogress/vue

Utility to create your own NProgress bar like with Vue
9,835 739
Install
npm install @bprogress/vue
Latest Version:1.1.5
Vue:3
License:MIT
Last Updated:May 5, 2025
Links: GitHub  ·  npm
Maintainer: skyleen

BProgress for Vue

Create your own progress bar with Vue

Import

import { ProgressProvider } from '@bprogress/vue';

The @bprogress/vue package is a utility that lets you easily manage a progress bar, while remaining flexible with regard to the router you're using. It doesn't automatically start the progress bar when browsing, so you'll have to manage this logic yourself, unless you're using one of the integrations below.

Vue Frameworks Integrations

  • Soon...

Usage

<ProgressProvider>...</ProgressProvider>

Example

<script setup lang="ts">
import App from './App.vue';
import { ProgressProvider } from '@bprogress/vue';
</script>

<template>
  <ProgressProvider>
    <App />
  </ProgressProvider>
</template>
import { createApp } from 'vue';
import Root from './Root.vue';

createApp(Root).mount('#app');
<script setup lang="ts">
import { useProgress } from '@bprogress/vue';

const { start, stop, pause, resume } = useProgress();
</script>

<template>
  <button @click="start()">Start</button>
  <button @click="stop()">Stop</button>
  <button @click="pause">Pause</button>
  <button @click="resume">Resume</button>
</template>

More information on documentation

Go to the documentation to learn more about BProgress.

Issues

If you encounter any problems, do not hesitate to open an issue or make a PR here.

LICENSE

MIT

Related Packages

vue3-circle-progress

A circular progressbar component for Vue 3, built with SVG and extensively custo...

393,857 41
vue2-progress-bar

A linear progress bar component for Vue.js. Uses SVG and javascript to animate a...

1,934 1
vue-nprogress

Slim progress bars is based on nprogress for Ajax'y applications

137,328 181
@ctechhindi/vue3-progress-bar

A infinite progress bar for vue 3

876 1

Version History

Version Released Vue License
1.1.5 >=3.0.0 MIT
1.1.4 >=3.0.0 MIT
1.1.3 >=3.0.0 MIT
1.1.2 >=3.0.0 MIT
1.1.1 >=3.0.0 MIT