@Mateus_Ferreira it works fine in a code sandbox, but if you run it in an embedded app in the admin you will be able to replicate what I’m seeing. The code I shared you can paste into the react-router template “additional page” to try it. Or try it in any app.
It’s different because the rendering is fundamentally different in the two contexts. In code sandbox it renders using s- components. But in the admin it renders outside of the iFrame, presumably using app-bridge-js, and uses different components. So you have to replicate it in the appropriate context, not in the code sandbox.
@Anthony_Frehner and @Mateus_Ferreira It appears that with some updates to the web components, buttons with an icon set do not render at all in the page header (when viewed embedded in the admin). E.g. now this code does not show any buttons at all.
Hey folks! We found the issue and have a fix but rolling out it is a bit slow. Can you exclude the icons for the next little bit as you build? We’ll post here once the fix is fully deployed.