Rating
A visual cue for displaying ratings.
Use Rating to show ratings on profiles, projects, etc.
Rating
Use the rating property to provide the rating value. It will fill the appropriate number of stars with color. Rating values are rounded to decide the number of stars to be filled. For example, 4.2 will fill 4 stars, whereas 4.5 will fill 5 stars.
Size
Use the size property to size the ratings.
Color
Use the color property to color the stars.
Rating Label
Use the showRating property to display rating value beside the stars. This property is only effective for the small and medium size.
Grading
Use the grading property to add textual description to the rating number when showRating is applied. At present, we only show grading with the text rating.
Number of Reviews
Use the reviewsCount property to show number of reviews beside the stars. This property is only effective for the small and medium size.
Collapse To Single Star
Use the collapseBelow property to show only a single rating star below a given size. This is useful for smaller sizes.