All Projects → EvodiaAut → vue-progressbar-component

EvodiaAut / vue-progressbar-component

Licence: MIT license
[CSS GPU Animation] Simple progressbar for vuejs

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to vue-progressbar-component

React Nprogress
⌛️ A React primitive for building slim progress bars.
Stars: ✭ 173 (+1230.77%)
Mutual labels:  progressbar
Floatingmusicmenu
一款可用于音乐播放器的悬浮菜单按钮(A floating music menu)
Stars: ✭ 247 (+1800%)
Mutual labels:  progressbar
ProgressBar
Beautiful progress bar for android
Stars: ✭ 62 (+376.92%)
Mutual labels:  progressbar
Downloader Cli
A simple downloader written in Python with an awesome customizable progressbar.
Stars: ✭ 186 (+1330.77%)
Mutual labels:  progressbar
Mkmagneticprogress
A circular progress bar for iOS written in Swift
Stars: ✭ 214 (+1546.15%)
Mutual labels:  progressbar
shell-progressbar
Make a progress bar GUI on terminal platform (Shell script)
Stars: ✭ 39 (+200%)
Mutual labels:  progressbar
React Spinners Kit
A collection of loading spinners with React.js
Stars: ✭ 158 (+1115.38%)
Mutual labels:  progressbar
Write-ProgressEx
Write-ProgressEx is a powershell advanced function that extends the Write-Progress cmdlet.
Stars: ✭ 28 (+115.38%)
Mutual labels:  progressbar
React Sweet Progress
A way to quickly add a progress bar to react app 🌈
Stars: ✭ 239 (+1738.46%)
Mutual labels:  progressbar
vue-virtualised
Blazing fast scrolling and updating for any amount of list and hierarchical data.
Stars: ✭ 18 (+38.46%)
Mutual labels:  vue-component
Circularprogressbar
Circular ProgressBar is a custom control for WinForm with animation.
Stars: ✭ 191 (+1369.23%)
Mutual labels:  progressbar
Chartprogressbar Android
Draw a chart with progress bar style
Stars: ✭ 213 (+1538.46%)
Mutual labels:  progressbar
Examples wxWidgets
Shows how to use wxWidgets controls only by programming code (c++17).
Stars: ✭ 116 (+792.31%)
Mutual labels:  progressbar
Alive Progress
A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
Stars: ✭ 2,940 (+22515.38%)
Mutual labels:  progressbar
vue-json-tree
Vue component that renders JSON data in a collapsible tree structure.
Stars: ✭ 48 (+269.23%)
Mutual labels:  vue-component
Linearprogressbar
Simple progress bar for iOS
Stars: ✭ 166 (+1176.92%)
Mutual labels:  progressbar
MatlabProgressBar
This MATLAB class provides a smart progress bar like tqdm in the command window and is optimized for progress information in simple iterations or large frameworks with full support of parallel parfor loops provided by the MATLAB Parallel Computing Toolbox.
Stars: ✭ 44 (+238.46%)
Mutual labels:  progressbar
vuejs-countdown-timer
⏱ Vue 2 event countdown and timer component
Stars: ✭ 47 (+261.54%)
Mutual labels:  vue-component
vue-list-picker
Just a simple list picker component made with Vue.js (works with Vue 2 & 3)
Stars: ✭ 14 (+7.69%)
Mutual labels:  vue-component
vue-splide
The Splide component for Vue.
Stars: ✭ 257 (+1876.92%)
Mutual labels:  vue-component

vue-progressbar-component

[CSS GPU Animation] Simple progressbar for vuejs

npm license npm

Demo

Demo here

Install

npm install vue-progressbar-component or yarn add vue-progressbar-component

Usage

The most common use case is to register the component globally.

// in your main.js or similar file
import Vue from 'vue'
import ProgressBar from 'vue-progressbar-component'

Vue.component('progress-bar', ProgressBar)

Alternatively you can do this to register the components:

// HelloWorld.vue
import ProgressBar from 'vue-progressbar-component'

export default {
  name: 'HelloWorld',
  components: {
    ProgressBar
  }
}

On your page you can now use html like this:

<!-- simple progress bar -->
<progress-bar
  :value="77"
/>

<!-- add class (color) -->
<progress-bar
  :value="88"
  bar-class="bg-success"
/>

<!-- change start origin from right -->
<progress-bar
  :value="95"
  origin="right"
/>

<!-- change scaleX to scaleY and origin bottom -->
<progress-bar
  :value="88"
  scale="Y"
  origin="bottom"
/>

CSS

// example or use it
@import "./node_modules/vue-progressbar-component/src/scss/progressbar";

Do you like my theme but not the colors or paddings, ...?

// overwrite variables
$progressbar-height: 2rem;
$progressbar-background: gray;
// find more variables in /src/scss/_progressbar-variables.scss

@import "./node_modules/vue-progressbar-component/src/scss/progressbar";

Props

Prop Type Required Default Description
value Number false 0 Progress bar width
barClass String false '' Bar class
origin String false left Set origin
scale String false X Set scaleX or scaleY

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].