Files to copy
The page is loaded from /spark-badge.html on your own domain, so that file has to be
somewhere the app serves static files from: public/ in Vite and Next, static/ in
SvelteKit.
cp node_modules/@designcodeio/threeui/lib-dist/assets/spark-badge.html public/
Without it the component renders an empty box.
Size
The component is 100% of its parent's width and height and has no size of its own, so a parent with no height renders nothing. A box at a 16 to 9 ratio suits it.
Props
No visual options on this one.
sourceUrl sets where the runtime files are loaded from, for serving them at a path of
your own.
className passes through to the root element.