Support an SVG-specific Element, as an alternative to the Image element

Currently SVGs can only be added through the Image element, or the Embed element. Both of these approaches have issues, which an SVG-specific element could solve neatly.

SVG via Embed element problems;

  • Embeds are not permitted within links, making menus difficult
  • Embeds cannot be previewed in the designer 

SVG via Image element problems;

  • The SVG cannot be affected by CSS when it is referenced through an <img> tag
  • The currentColor feature of SVGs does not function 
  • Creates a large number of HTTP requests for icon-rich designs 

SOLUTION

An SVG Element which...

  1. Works similarly to the Image element in terms of canvas placement and config options
  2. Can be associated with any SVG element in assets
  3. Adds Embed as an option, which will import the SVG content on build
  4. Support additional SVG element options, such as path-id, aria-hidden, focusable, and viewbox 

WHY THIS WOULD BE AWESOME

  1. It would allow SVG's to be used with currentColor, since embedding would be allowed
  2. It would avoid the need for Embeds (which cannot be used in links) 
  3. It would efficiently use embedded / inline data, rather than doing multiple HTTP requests
  4. It would support SVG-specific attributes such as aria-hidden, focusable, and viewbox 
  5. Allow SVG libraries, with path-id referencing
  • Michael Wells
  • Oct 26 2018
  • Reviewed
  • Raja digital Edc commented
    28 Sep 02:12am

    blue, and yellow, while the highest paying symbols are fully themed and include cups, rings, immortals, and crowns. One of the first things you Rajaslot notice when


  • Kambojaedc Digi commented
    28 Sep 01:08am

    explained below, which makes playing with it even more fun. The Sweet Bonanza feature includes free spins, so players can get some spins slot kamboja


  • Pde Admin commented
    25 Apr 06:44pm

    This is table stakes for any modern business site. I look forward to this being done soon.

  • Connor Hansen commented
    30 Nov, 2022 07:49pm

    2022 and this is still not available??? Webflow?????????

  • Esben Engsted commented
    15 Sep, 2022 08:57am

    This would be great, have had the above problems stated with SVG's recently.
    Getting the currentColor feature to work would be a nice little fix at least.

  • Dark Hawk commented
    18 Jul, 2022 06:54am

    Thank you. I will try your methods to increase my knowledge.

  • Guest commented
    16 Jun, 2022 01:59pm

    เทคนิคเล่น Pg ดูได้ที่ Pantip แต่ไม่ใช่แค่ที่ pantip เท่านั้น google ยังมีสูตรการเล่นมากมายที่ช่วยทำให้คุณสนุกกับการเล่น pgslot ของเรามากยิ่งขึ้นกับเว็บของเราที่กำลังมาแรงสุดๆจนหยุดไม่อยู่ในตอนนี้

  • Cookies & MILK commented
    18 May, 2022 01:11pm

    Another example of WF droping the ball on simple features.

  • INAGREAT commented
    7 Apr, 2022 10:39pm

    I really can't believe this still isn't done! What the HELL Webflow. This comment was created all the way back in 2018 and it's now 2022. This is one of the most fundamental features that should have been available from the beginning. All websites need SVGs at some point for many elements like custom icons and buttons... There are other web builders that provide this and Webflow still doesn't. It's Unbelievable how you guys completely ignore this community of paying customers! 🤬

  • Guest commented
    21 Feb, 2022 04:59am

    Thank you for sharing your valuable solution, it's work properly.


    https://www.myloweslife.mobi/

  • Thanh Miller commented
    10 Feb, 2022 06:44am

    Thanks for the update. I'll be sure to keep an eye on this thread.

    indigocard

  • Guest commented
    7 Feb, 2022 09:12am

    Thank you for sharing your valuable solution, it's work properly.

  • Ladarius Lang commented
    1 Feb, 2022 06:28am

    Did you have a fix on this issue? MyGiftCardSite Challenging a relative issue yet no response from anyone and couldn't see this point taking a gander at in google.

  • Jacob Williams commented
    8 Jan, 2022 09:35pm

    This would be amazing. WE NEED THIS!

  • Nils commented
    2 Jan, 2022 10:08pm

    PLEASE!

  • Winona Homenick commented
    25 Nov, 2021 07:49am

    Embed an SVG via an <img> element, you just need to reference it in the src attribute as you'd expect. You will need a height or a width attribute

  • Swift Storm commented
    23 Jul, 2021 11:21am

    CSS is supposed to make these tasks faster, but nope, not in webflow, because webflow restrictions. so dumb.

  • Mike Escoffery commented
    25 Mar, 2021 05:09pm

    Please THIS!!!


    There are way too many workaround trying to get SVGs to work as they normally do in a browser without being tied down by webflow. 

    Bottom line - It's currently faster to create 100 Svgs in all different colours that it is to use the embeds and workarounds to get icon links to work.

    CSS is supposed to make these tasks faster, but nope, not in webflow, because webflow restrictions. so dumb.

  • Tansen BEL commented
    11 Dec, 2020 02:42pm

    It would save so much time !

  • Glenn Eastland commented
    11 Sep, 2020 09:47am

    Would be useful. If the SVG is a single colour you can use Opactity and Filters but it's not a great substitute.

  • Load older comments
  • +1111