Skip navigation
You wouldn’t import an SVG…
0:00 / 0:23

You wouldn’t import an SVG…

Astro

@astrodotbuild100K followers

Visit on X
638 likesDownloadOriginal post

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)

  • Michael Stramel's profile picture

    @stramel89

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

    3 likes

  • Anish Badri's profile picture

    @anish_badri

    Nice to have it built in instead of installing svgr.

    1 like

  • Gavin Thomas's profile picture

    @trickydisco78

    I want cached external svgs and then lookup via svg use

    1 like

  • Carlos Quesada's profile picture

    @cquesada_es

    Finally!

    1 like

  • IMVN's profile picture

    @Inkioonki

    No more server restarts 💖⭐

    1 like

  • Tyler @ Kojo Design's profile picture

    @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

  • Boko Čolse's profile picture

    @struhy_xd

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

    1 like

  • Surjith S M ✪'s profile picture

    @surjithctly

    This is huge 🙌

    1 like

  • Michael Andreuzza's profile picture

    @Mike_Andreuzza

    nice!