Does anyone know if it’s currently possible or on the roadmap to support adding icons inside the button element of the ui-title-bar component? I’m wanting add an icon similar to how title bar buttons appear throughout the Shopify admin:
From what I’ve seen in the docs and through testing, it looks like the button children can only be a string and doesn’t support passing in HTML or Polaris components. Just wondering if there’s an existing workaround or if support for this is planned?
Hey @Joshua_Lucas - thanks for reaching out. Right now, we don’t support adding icons inside the button element for the ui-title-bar component, but I did want to touch base with you here to let you know I reached out to the product team on this and they do agree that it would make sense to enable this. Can’t guarantee a turnaround time or if this will be implemented, but we’ve logged it as a feature request on our end. Thanks again for flagging this.
Hey @Natalia_Hashimoto (and all) thanks for following up. This still hasn’t been implemented yet, but I’ve shared that you reached out on this internally. I still can’t guarantee a turnaround time, but wanted to follow up here to let you know it’s still something that we have on our radar.