
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 speech bubble that springs out with puffs and a click accent. It suits a small help control containing a brief hint.
Live Rive preview. Motion follows your reduced-motion preference.
Set sq-element type to tooltip and supply the short hint as label. The included integration positions the bubble around its own help button; adapt the host layout when connecting it to another target.
<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="tooltip" 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 |
reducedMotion | true / false |
label | Editable label |
action | Increment to replay an effect |
The web component shows the bubble on pointer hover or keyboard focus and hides it on leave or blur. Clicking toggles Element.active, and Escape dismisses the hint. The label supplies the bubble's message.
The included help button describes itself through a tooltip linked with aria-describedby and supports focus and Escape. Reduced motion makes the bubble appear directly; place required instructions in persistent page text rather than relying on a temporary hint.