2.9.7






Star Rating

Default

0

3

1.5

5

Close
<%= pb_rails("star_rating") %>

<br>

<%= pb_rails("star_rating", props: { rating: 3 }) %>

<br>

<%= pb_rails("star_rating", props: { rating: 1.5 }) %>

<br>

<%= pb_rails("star_rating", props: { rating: 5 }) %>
Hide Rating Value

3.5

Close
<%= pb_rails("star_rating", props: { rating: 3.5, hide_rating: true }) %>
Available Props
id
data
classname
aria
children
hide_rating
rating