rive-react
rive-react copied to clipboard
React runtime for Rive
# Add new `useStateMachineInputs` Hook for fetching multiple stateMachine inputs from a rive file ## Description This pull request introduces a new hook, `useStateMachineInputs`, designed to easily get multiple inputs...
The rive animation is loading fine in my local.I cannot see the image in my test environment for some reason.I tried configuring the mime type on IIS server and through...
Why? ```tsx import { useRive } from '@rive-app/react-canvas' function MyComponent() { const { rive } = useRive({ onLoad: () => { console.log(rive) // null }, // ... }) return (...
Let's say there's no network connection while loading `rive.wasm`, how do I able to know there's an error loading wasm? ```typescript window.onerror = () => { // won't catch wasm...
I exported a .riv file with shadows, but they don’t appear when rendered in my project. They are visible in the Rive editor but not in the exported file.
For example: given a dynamic array of items in JavaScript, I would want to somehow convert that into a bullet point list inside Rive where the text and amount of...
I'm trying to load the attached file by passing an artobard to the `new Rive` call just like this: ```ts const rive = new Rive({ artboard: "iPhone 16 - 2"...
Hi folks, We've noticed an issue. When the rive element edges are visible to the parent element, we get some line artifacts. It was the same on top/bottom and left/right...