Flexible Star Rating Control For Vue.js – vue-stars

Description:

vue-stars is a flexible VueJS input control for ratings (stars, etc.).

Usage:

<vue-stars
    :value="5"
    :max="7"
    char="✵"/>

Props.

max: { type: Number, required: false, default: 5 },
value: { type: Number, required: false, default: 0 },
name: { type: String, required: false, default: "rating" },
char: { type: String, required: false, default: "★" },
inactiveChar: { type: String, required: false, default: null },
readonly: { type: Boolean, required: false, default: false },
activeColor: { type: String, required: false, default: null },
inactiveColor: { type: String, required: false, default: null },
shadowColor: { type: String, required: false, default: null },
hoverColor: { type: String, required: false, default: null },

Preview:

vue-stars

Changelog:

v1.2.2 (09/05/2020)

  • Bugfix

Download Details:

Author: richardtallent

Live Demo: https://www.tallent.us/vue-stars/

Download Link: https://github.com/richardtallent/vue-stars/archive/master.zip

Official Website: https://github.com/richardtallent/vue-stars

Install & Download:

# NPM
$ npm install vue-stars --save

You Might Be Interested In:

Tags:

Add Comment