Skip to main content
A
2d ago

Free account - Local file query

Hi,

I am currently using a free rive account and I wish to show a proof of concept to my managers on a file I've been working on.

I was wondering if the only way to display a rive file in an index html is through a community published rive file. Or I could manually upload it to my github repository and call it through the src:"src/myfile.riv".

And I could send a link to my git page for them to view this.

Apologies if this has been asked before or this is common knowledge.

Thanks in advance!

Ayushman Sen

1 reply
1d ago

Yes, you can reference a .riv file in your local repository. You could also use this codesandbox template. Just drag and drop your .riv where the clear_the_car.riv and change the src on line 48 of index.mjs.

Good luck!