Allow Component properties to be used in custom code Embeds

Allow Component properties to be used in custom code Embeds

For a performant site it's much more beneficial to use SVG code for icons rather than image files.

Currently, we can't create a performance friendly Component that contains an overridable icon.

The ability to add Components fields Custom Code Embed would make this use case possible.

  • Tim Daff
  • Feb 14 2023
  • Stof Hofer commented
    19 Feb 22:40

    Guys this is missing so sorely, and seems a rather low effort low hanging fruit. Please implement!

  • Pascal Krebs commented
    08 Feb 10:06

    A possible workaround would be to use the rich-text element and put in an embed there. Then you can add a property to the rich-text and edit the embed from there.

  • Guest commented
    September 07, 2023 11:24

    The SVG part had me confused at first, but yeah this is an obvious blind spot ...

    We can use CMS properties inside custom embeds, so why not from components?

    Please add this so that we can have less nasty workarounds when working with code in Webflow.