Playground
Drop a .loom / .riv / .json scene file, drive its playback, and grab the integration snippet for your stack.
Drop a Loom file here
.loom · .riv · .json
import { useRive } from '@rive-app/react-canvas';
export function character() {
const { RiveComponent } = useRive({
src: 'character.riv',
animations: ['Idle Loop'],
autoplay: true,
});
return <RiveComponent className="w-full h-full" />;
}