Skip to main content

TitleBar Component

The Title Bar API allows you to populate a standardized title bar with button actions and navigation breadcrumbs.

The TitleBar component is available for use in your app. It configures the Title Bar in the Shopify admin.

The children of the title bar.

string

The title of the title bar. Can also be set via document.title.

Examples
import {TitleBar} from '@shopify/app-bridge-react';

export function MyApp() {
return (
<TitleBar title="Products">
<button variant="primary">Primary action</button>
<button>Secondary action</button>
</TitleBar>
);
}

Preview

Was this page helpful?