Skip to Content
Reference<RatingLaurelsBadge>
Image of the RatingLaurelsBadge component showing a star rating badge
<RatingLaurelsBadge rating={4.9} caption="worldwide rating" showStars={true} />

Properties

PropertyValueDescription
ratingnumber

Rating value displayed inside the badge.

captionstring

Optional caption shown below the rating.

showStarsboolean

Shows star rating above the value. Defaults to true.