1.0.4 • Published 2 years ago

vue-3-simple-progress-bar v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Vue 3 Simple Progress Bar

This is a light-weight simple progress bar with minimal variations. Designed for Vue 3.

Attributes

NameTypeDefault ValueDescription
colorString#17a2b8Ex: red, #ddddd, rgb(255, 120, 45)
heightNumber16Converts to pixel(px)
current-valueNumber20Range is 0-100
animationBooleantrueTo animate, strip must be true
stripBooleantrue

Note : The progress bar takes parent container width.

Install

npm install vue-3-simple-progress-bar

Usage

<template>
    <div style="width:40%">
        <progress-bar></progress-bar>
    </div>
    <div style="width:40%; margin-top:20px">
        <progress-bar current-value="50" height="5" color="#3eb750" :strip="true" :animation="false"></progress-bar>
    </div>
</template>

<script setup>
import ProgressBar from "vue-3-simple-progress-bar";
</script>
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago