Navigation überspringen
You wouldn’t import an SVG…
0:00 / 0:23

You wouldn’t import an SVG…

Astro

@astrodotbuild100.455 Follower

Auf X besuchen

39.296 Aufrufe

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 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Michael Stramel

    @stramel89

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

    3 Likes

  • Profilbild von Anish Badri

    @anish_badri

    Nice to have it built in instead of installing svgr.

    1 Like

  • Profilbild von Gavin Thomas

    @trickydisco78

    I want cached external svgs and then lookup via svg use

    1 Like

  • Profilbild von Carlos Quesada

    @cquesada_es

    Finally!

    1 Like

  • Profilbild von IMVN

    @Inkioonki

    No more server restarts 💖⭐

    1 Like

  • Profilbild von Tyler @ Kojo Design

    @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

  • Profilbild von Boko Čolse

    @struhy_xd

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

    1 Like

  • Profilbild von Surjith S M ✪

    @surjithctly

    This is huge 🙌

    1 Like

  • Profilbild von Michael Andreuzza

    @Mike_Andreuzza

    nice!