I’m stuck with a weird issue in Webflow.
I’ve got an SVG icon inside an Embed block that consists of multiple <circle> elements. Webflow adds an attribute staggered-icon to the wrapper, and when I click the parent element, the animation triggers:
all circles go from fill="var(--grey-light)" to fill="var(--brand)"
the effect runs with a nice staggered delay.
This works perfectly as long as the elements are <circle>.
But as soon as I swap <circle> for <rect> (to make squares instead of dots), the animation completely stops applying. It looks like Webflow’s interaction engine is targeting the <circle> tag specifically, not just “children of this embed.”
I don’t see any way to edit this in the Interactions panel — it’s invisible there, but still runs on click.
Any Webflow folks run into this? What’s the right workaround here?
That staggered-icon effect is hard-coded to <circle> elements , it won’t pick up <rect>. Easiest workaround is to wrap your squares in <circle> placeholders (invisible stroke/fill) or duplicate the behavior with a custom GSAP stagger targeting <rect>.
It seems your site has a site-wide code inside the closing body tag - you can find this in the Site settings → Custom code → Scroll down to the Footer code section.
There you should be able to find a script as follows: