SIDEQUEST ELEMENTSby SideQuest Studio ↗

FREE RIVE DOWNLOAD · UI CONTROLS

Slide tabs

A three-tab Rive selector with a raised active tab that stretches, travels, and lands with a puff. The included labels are Home, Profile, and Settings.

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

Customize

Add it to a website

Set sq-element type to tabs, give the tab list a label, and set value to 0, 1, or 2. Use change events to show the matching host content and establish the tab-to-panel relationships.

<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="tabs"></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
valueZero-based selected tab index
reducedMotiontrue / false
labelEditable label
actionIncrement to replay an effect
optionsTwo to five labels separated by newlines

How it behaves

Changing Element.value between 0 and 2 moves the active tab with a spring and a landing accent. The web component tracks selection for Home, Profile, and Settings. Your application supplies the associated panels or navigation behavior.

Good places to use it

  • Three-section interfaces
  • Profile panels
  • Settings groups

Keyboard and reduced motion

The web component supplies tablist and tab roles, aria-selected, a single selected tab stop, and Arrow, Home, and End key handling. Connect each tab to its actual content panel in the host application; reduced motion selects the tab without the travel effects.