a ligthweight progress skill bar for vue
npm install --save-dev vue-skill-bar
import Vue from 'vue'
import { SkillBar } from 'vue-skill-bar'
Vue.component('skill-bar', SkillBar)
or
<template>
<div id="app">
<skill-bar barSize="small" skill="CSS" level="90" />
</div>
</template>
<script>
import { SkillBar } from 'vue-skill-bar'
export default {
components: {
'skill-bar': SkillBar
},
data: function() {
return {
...
}
}
}
</script>
<skill-bar barSize="large" skill="CSS" level="80" />
<skill-bar barSize="large" barColor="#0e7a0d" skill="CSS" level="80" />
Props | Type | Values | default |
---|---|---|---|
skill | String | text to display | |
level | Number | 0 - 100 | 0 |
maxLevel | Number | 100 | 100 |
barSize | Number | String | small, medium, large |
barColor | String | Color | #2196f3 |
bgColor | String | Color | #eee |
fontColor | String | Color | #f1f1f1 |
Author: isanbitoy
Live Demo: https://isanbitoy.github.io/vue-skill-bar/
GitHub: https://github.com/isanbitoy/vue-skill-bar
#vuejs #javascript #vue #vue-js