
UI controls · 486 KB
Impact button
Squash, a held impact frame, rolling smoke, and a big finish.
Customize, download & embed ↗FREE RIVE DOWNLOAD · UI CONTROLS
An animated Rive range slider with a springing thumb and a cloud trail. A persistent percentage makes the selected amount easy to read.
Live Rive preview. Motion follows your reduced-motion preference.
Use sq-element type slider and set its value from 0 to 100. Supply a label that names the quantity, then connect change events to the value your application controls.
<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="slider" value="35"></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.
| Property | Meaning |
|---|---|
State machine / view model | Element |
value | 0–100 |
reducedMotion | true / false |
label | Editable label |
action | Increment to replay an effect |
suffix | Units after the displayed value; default % |
The thumb follows value from 0 to 100, with spring motion and clouds responding to its travel. The percentage label stays visible during movement. Set value directly or use the web component's range input to update it.
The web component overlays a native range input with a label and standard keyboard adjustment. Reduced motion updates the thumb and percentage directly without the spring and particle trail.