TitleBar missing similar props to Page

It’s mentioned on the <Page> component (Page — Shopify Polaris) that we should use <TitleBar> (TitleBar) for the title now. But moving over to this means we lose other props like titleMetadata.

For example on the Inventory page it has this button next to the title. But we can’t even pass a react node in the title prop of <TitleBar> as it only accepts a string.

Please can we start getting the same functionality that Shopify has in their admin and stop restricting us in our apps? Especially when certain whens are getting deprecated.

1 Like

Hey @Luke :waving_hand:

Thanks for reporting. I’m taking a look in to this for you and will follow up once I know more.

1 Like

Hey Kyle!

Wondering if you had any updates here yet?

Hey @Luke,

We’re working on improving the ui-title-bar types and available options. I don’t have a specific timeline to give you but stay tuned here.

We did also release the new s-page web component - check it out: Page.

1 Like

Hey Charlie, thanks for the update. A bit of a shame there is no timelime that can be shared, especially when Shopify have rolled this out internally for the admin.

We’d love to be able to match our apps to the admin.