Natural Pleistocene Monsters
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

suitcss-components-starratings

1.0.0 • Public • Published

components for star-ratings

provides the star-ratings UI.

Install

  • npm: npm install @tgfjt/suitcss-components-starratings
  • Download: zip

Available classes

  • StarRatings
  • StarRatings-star

Configurable variables

  • --StarRatings-letterspase
  • --StarRatings-star
  • --StarRatings-color-active
  • --StarRatings-color-inactive

Usage

<div class="StarRatings" aria-label="4 Stars">
  <span class="StarRatings-star" star="4"></span>
</div>
 
<div class="StarRatings" aria-label="2.5 Stars">
  <span class="StarRatings-star" star="2.5"></span>
</div>

Test

npm run build-test

install

npm i suitcss-components-starratings

Downloadsweekly downloads

1

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability