You wouldn’t import an SVG…
Astro
Visit on X@astrodotbuild100K followers
39,296 views
You wouldn’t import an SVG…
or wait, maybe you would 👀
Import SVGs as components with size and fill props. Now experimental in 5.0.
9 Comments
Comments from the original post on X (Twitter)

@stramel89
I'm looking for any and all feedback on this feature! Please feel free to reply, dm, or post
3 likes

@anish_badri
Nice to have it built in instead of installing svgr.
1 like

@trickydisco78
I want cached external svgs and then lookup via svg use
1 like

@cquesada_es
Finally!
1 like

@Inkioonki
No more server restarts 💖⭐
1 like

@TylerNickerson
I heard murmurs about an Iconify integration to go along with this.. Any news? Or is that effectively what astro-icon will become? 🥺
1 like

@struhy_xd
Finally ✊ I've been renaming svgs to .astro and adding a style tag for too long
1 like

@surjithctly
This is huge 🙌
1 like

@Mike_Andreuzza
nice!
