In Astro 5.7, every SVG is an Astro component! Import it, use it in your page and it will be inlined in the HTML. You can even pass it any SVG props.
Learn more: https://astro.build/blog/astro-570/#svg-components
In Astro 5.7, every SVG is an Astro component! Import it, use it in your page and it will be inlined in the HTML. You can even pass it any SVG props.
Learn more: https://astro.build/blog/astro-570/#svg-components
If you have a fediverse account, you can quote this note from your own instance. Search https://m.webtoo.ls/users/astro/statuses/114349241791423199 on your instance and quote it. (Note that quoting is not supported in Mastodon.)