Rating Widget Generator
Create customizable star ratings, hearts, and emoji feedback widgets
Settings
Preview
3
Click to rate
<div class="rating-widget rating-row">
<div class="rating-icons" role="radiogroup" aria-label="Rating">
<button class="rating-icon" data-value="1 aria-label="1 star">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"/></svg>
</button>
<button class="rating-icon" data-value="2 aria-label="2 stars">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"/></svg>
</button>
<button class="rating-icon" data-value="3 aria-label="3 stars">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"/></svg>
</button>
<button class="rating-icon" data-value="4 aria-label="4 stars">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"/></svg>
</button>
<button class="rating-icon" data-value="5 aria-label="5 stars">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"/></svg>
</button>
</div>
<div class="rating-info"><span class="rating-value">0</span></div>
</div>