TitleBar
Before you start, see Install.
TitleBar renders ui-title-bar, with title set as an attribute. In a Modal it sets the modal's header and footer. Its children are <button> and <a> elements; the ui-title-bar types allow variant="primary" or variant="breadcrumb", tone="critical", and <section label="..."> groups. For the page title bar, Shopify now documents s-page, which is SPage.