SIDEQUEST ELEMENTSby SideQuest Studio ↗

FREE RIVE DOWNLOAD · UI CONTROLS

Secondary button

A compact Rive button animation with a light press, a quick rebound, and three small accent wedges. It suits supporting actions that need a little feedback.

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

Customize

Add it to a website

Use sq-element with type set to secondary-button. Listen for sq-action and connect the application action yourself; call done() only when that action succeeds.

<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="secondary-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
labelText label
reducedMotiontrue / false
labelEditable label
actionIncrement to replay an effect

How it behaves

The button compresses on press and springs back with a restrained wedge accent on activation. Drive pressed, label, disabled, and action through the Element view model; done is a separate application-controlled success state.

Good places to use it

  • Secondary actions
  • Dialog controls
  • Small form buttons

Keyboard and reduced motion

The web component supplies a real button with keyboard activation and a meaningful accessible label. It follows system reduced motion and retains the control's essential state without the rebound effects.