Skip to content

Five star rating element with material design style.

License

Notifications You must be signed in to change notification settings

radi-cho/star-rating

Repository files navigation

star-rating Published on webcomponents.org

Five star rating element with material design style.

<star-rating rating="2.5"></star-rating>
<star-rating rating="3" read-only></star-rating>
<star-rating rating="4.7" votes="51" details read-only></star-rating>

Installation

$ bower install radi-cho/star-rating --save

Import

<link rel="import" href="../bower_components/star-rating/star-rating.html">

Credits

acordeonl/star-rating - Original star-rating component;

covas/star-rating - Support for custom colors and read-only mode;

greenyouse/star-rating - Material Design styling and functionality;

radi-cho/star-rating - Responsive stars, optimized sizing and observers;