dhm-star-rating

Angular widget for providing a rating using stars. ## Why another star rating widget for Angular? Because the ones I found inevitably had a flaw that really bugged me. ## Features

Usage no npm install needed!

<script type="module">
  import dhmStarRating from 'https://cdn.skypack.dev/dhm-star-rating';
</script>

README

dhm-star-rating

Angular widget for providing a rating using stars.

Why another star rating widget for Angular?

Because the ones I found inevitably had a flaw that really bugged me.

Features

  • Complete control of colors: selected, non-selected, highlight.
  • No external dependencies other than Angular (v11).
  • High quality SVG's for stars
  • Efficient. Uses one SVG definition for each star.
  • Is created as an inline element (span) to provide the greatest flexibility.
  • Support for half stars.
  • Readonly mode.
  • Unset mode. (Rating is zero.)
  • Sizing control.

Documentation