Rating Star

2.2/5 2.5/5 2.8/5

0.1 刻みの星評価が作れるライブラリ

Example

0.1 刻み

2/5
2.1/5
2.2/5
2.3/5
2.4/5
2.5/5
2.6/5
2.7/5
2.8/5
2.9/5
3/5

長さの調節

10/11
9/10
8/9
7/8
6/7
5/6
4/5
3/4
2/3
1/2
0/1

Feature

Getting Started

View on GitHub View on npm

CDN

🚧

npm install

npm i @pss-aileen/rating-star

Initialize

<div class="rs">2/5</div>
<span class="rs">2/5</span>
<script>
  const ratingStar = new RatingStar();
  ratingStar.init();
</script>