BootstrapVue Static Star Rating Component

Sep 27, 2020

Customize <b-form-rating>

  • static/readonly
  • remove border
  • inline
  • CSS might need to be adjusted further
<template>  <div>    <b-form-rating v-model="rateStar" readonly no-border size="sm" inline color="orange" class="star-rating">  </div></template><script>export default {  data() {    return {      rateStar: 3    }  }}</script><style>.star-rating {  padding: 0;  font-size: inherit;  height: inherit;  vertical-align: middle;}</style>

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.