SIDEQUEST ELEMENTSby SideQuest Studio ↗

FREE RIVE DOWNLOAD · MOTION OBJECTS

Living metric

A Rive metric card with a counting value, morphing chart and explorable history. Bind your own numeric data, customize the design, and download or embed it.

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

Customize

Add it to a website

Use sq-motion preset living-metric and provide value, delta, target and series. Call update({value: 2400, series: [10, 20, 30]}) when your public data changes. Set cursor to -1 to return to the live value.

<script type="module" src="https://thesidequest.studio/elements/motion.js?v=20261116-motion"></script>
<sq-motion preset="living-metric" loop="true"></sq-motion>

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 modelMotion
label, title, detail, buttonLabelEditable strings
value, delta, targetFinite numbers; host owns actual data
prefix, suffix, precisionNumber formatting; precision 0–2
series2–64 comma-separated numbers
cursor-1 live; 0–1 chart position
fontChoice0 Sans, 1 Lora, 2 Space Mono
fontSize40–112 artboard units
accent, surface, inkARGB colors
openLiquid reveal state; reversible
actionIncrement to throw a card
loopPreview repeat; false for application control
playingfalse freezes animated time
reducedMotionReadable final state without decorative motion

How it behaves

The displayed number settles to the latest supplied value while the chart morphs to supplied CSV samples. Cursor values from 0 to 1 reveal interpolated historical values. The loop demonstrates cursor movement without changing your input data.

Good places to use it

  • Revenue and activity summaries
  • Progress dashboards
  • Learning and fitness statistics

Keyboard and reduced motion

The component supplies a keyboard-operable range input for exploring the graph and a readable data summary. Reduced motion applies number and chart updates immediately.