SIDEQUEST ELEMENTSby SideQuest Studio ↗

FREE RIVE DOWNLOAD · UI CONTROLS

Star rating

A five-star Rive rating input whose stars spring into place one by one. Choosing all five stars adds a larger burst.

Live Rive preview. Motion follows your reduced-motion preference.

Customize

Add it to a website

Set sq-element type to rating, provide a label, and start value at 0 or an existing rating. Handle change to save the selected value or include it in your form flow.

<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="rating" value="5"></sq-element>

Connect public properties through the view model, or use the web component’s attributes and methods. The integration guides explain embedding, dynamic text, accessibility, and self-hosting.

Rive data contract
PropertyMeaning
State machine / view modelElement
value0 through maximum
reducedMotiontrue / false
labelEditable label
actionIncrement to replay an effect
maximumNumber of stars, 1–10; default 5

How it behaves

Element.value selects a rating from 0 to 5, with 0 representing an empty state. Selected stars animate into place, and a value of 5 triggers the extra burst. The web component reports a user's selection without submitting or storing a review itself.

Good places to use it

  • Product feedback
  • Experience ratings
  • Review forms

Keyboard and reduced motion

The web component exposes a radiogroup with five named star choices, selected state, and Arrow, Home, and End key controls. Give the group a label that names what is being rated; reduced motion keeps the chosen stars visible without their spring effects.