
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 anime-inspired Rive charge meter with up to ten levels, editable text, vector flames, and a max-power burst. Bind it to a 0–100 value.
Live Rive preview. Motion follows your reduced-motion preference.
The code below copies your preview settings. Drive it from your app by assigning element.value. Set element.levels and element.levelLabels to change the stages at runtime. In Rive, bind these properties on the Element view model.
<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="overdrive-meter" value="28"></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 charge supplied by the app or native pointer input |
levels | 1–10 segments, default 3 |
level | Read-only output from 0 to levels. Thresholds are floor(100 × step ÷ levels). |
levelLabels | One label per line, starting with level 0. Blank lines use the generated labels. |
levelText | Read-only output with the current label. |
igniteText, overclockText, maxText | Impact text for the three heat phases. Send an empty string to hide a callout. |
overclockBurstText, maxBurstText | Short-lived impact text as the charge climbs. |
disabled | Disable native pointer input |
reducedMotion | Show a static fill and level without flames, lightning, or bursts |
The gold fill follows charge. Choose the number of levels and name each one. Fire and lightning build with the charge, with a shock ring at 100%. Press Charge or scrub to try your settings.
The default embed exposes an accessible meter with a label, percentage, and current level. The optional demo adds a keyboard-operated slider and Charge button. Reduced motion keeps the fill and level visible and removes the animated effects.