
Motion objects · 485 KB
Liquid reveal
A small pill stretches into a soft panel, with content arriving just behind the surface.
Customize, download & embed ↗FREE RIVE DOWNLOAD · MOTION OBJECTS
A tactile Rive card stack with a weighted flick and a soft landing. Edit the message, value, colors and fonts, then download the file or embed it on your website.
Live Rive preview. Motion follows your reduced-motion preference.
Use sq-motion preset flying-cards. Set loop to false for application control, update content through attributes or update(), and call replay() when an event arrives.
<script type="module" src="https://thesidequest.studio/elements/motion.js?v=20261116-motion"></script>
<sq-motion preset="flying-cards" 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.
| Property | Meaning |
|---|---|
State machine / view model | Motion |
label, title, detail, buttonLabel | Editable strings |
value, delta, target | Finite numbers; host owns actual data |
prefix, suffix, precision | Number formatting; precision 0–2 |
series | 2–64 comma-separated numbers |
cursor | -1 live; 0–1 chart position |
fontChoice | 0 Sans, 1 Lora, 2 Space Mono |
fontSize | 40–112 artboard units |
accent, surface, ink | ARGB colors |
open | Liquid reveal state; reversible |
action | Increment to throw a card |
loop | Preview repeat; false for application control |
playing | false freezes animated time |
reducedMotion | Readable final state without decorative motion |
Increment action to throw the front card and seat it back into the stack. Your application controls its text and value. Loop previews repeat the gesture without inventing events.
The website component supplies a real keyboard-operable button and a readable text alternative. Reduced motion keeps the card and its content still.