sveltekit-svg icon indicating copy to clipboard operation
sveltekit-svg copied to clipboard

SvelteKit plugin that makes it possible to import SVG files as Svelte components, inline SVG code or urls

Results 3 sveltekit-svg issues
Sort by recently updated
recently updated
newest added

I'm trying to use svelte-svg in components of a library output with `svelte-kit package`. Locally (and with Storybook) i can get everything working fine; but when I try to import...

enhancement

Hey there! I have a scenario where I need to import an SVG file as a URL (rather than as a Svelte component), but I still want it to go...

enhancement

```js import BaseSvg from "./map2.svg?component"; let base; $effect(() => { console.log(base); // --> {} }); ``` I'm trying to use the getBBox() to get the dimension of mounted component, but...