
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
A Rive toast notification with a streaking entrance, a dusty landing, and a shrinking exit. Use a short message to acknowledge a completed action.
Live Rive preview. Motion follows your reduced-motion preference.
Use sq-element type toast with a short label, then call show() after the relevant event; its default duration is 2600 milliseconds. Call it after a real successful save when the message confirms a save.
<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="toast" active></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 |
active | true / false; component show() |
reducedMotion | true / false |
label | Editable label |
action | Increment to replay an effect |
Setting Element.active shows the toast and clearing it starts the exit. The web component's show(ms) method displays the label, announces it through a polite status region, and hides the toast after the chosen duration. The message reflects the state your application supplies.
The web component includes a polite live status region so the message does not depend on seeing the canvas. Reduced motion shows and hides the toast without the smear effects; keep essential instructions available elsewhere after a timed toast disappears.