
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 text input with little animated dust puffs that follow typing. The website integration keeps text entry in a real HTML field and uses Rive for the surrounding feedback.
Live Rive preview. Motion follows your reduced-motion preference.
Use sq-element type input with a label and name. Read the entered text from the change event's text field; connect search, validation, or submission logic in your application.
<script type="module" src="https://thesidequest.studio/elements/elements.js?v=20261128-library-rigging"></script>
<sq-element type="input"></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 |
value | Read the host text input |
reducedMotion | true / false |
label | Editable label |
action | Increment to replay an effect |
placeholder | Placeholder for an empty label |
externalText | Set true when an HTML field draws the text |
Typing triggers small puffs near the caret, and focus changes the input's active appearance. In the web component, the host text field owns the entered text and supplies the form value while the Rive animation follows its activity. The Element view model exposes active, disabled, label, and action.
The native HTML text input retains keyboard editing, selection, and a label. Reduced motion removes the dust effects while keeping the field usable; include a meaningful label and any necessary instructions in the surrounding form.