SIDEQUEST ELEMENTSby SideQuest Studio ↗

FREE RIVE DOWNLOAD · UI CONTROLS

Impact button

An animated Rive button with a deep squash, a held impact, and rolling smoke. Use it to give a primary action a playful sense of weight.

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

Customize

Add it to a website

Set sq-element type to button and provide a label. Handle sq-action to run your operation, then call done() after success; use button-type=submit when connecting it to a form.

<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="button"></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.

Rive data contract
PropertyMeaning
State machine / view modelElement
doneCall done() after success
reducedMotiontrue / false
labelEditable label
actionIncrement to replay an effect

How it behaves

Pressing the button compresses its shape; activation releases the impact and particle accents. The Element view model exposes pressed, disabled, label, and action, while done adds a separate success check. Your application decides when an operation has succeeded.

Good places to use it

  • Primary calls to action
  • Form submissions
  • Confirmation controls

Keyboard and reduced motion

Use the included web component for its real button, keyboard activation, accessible label, and disabled state. System reduced motion removes the impact effects while retaining the button state; keep its label clear enough to explain the action.