Title
A layout component for page or section headings with an optional description and action.
When to use
Section titled “When to use”Use Title when its layout fits your page: a heading with an optional description and action, arranged by the component. It saves you building and maintaining the same structure yourself.
Title is optional. A page or section heading built from a heading element, typography classes and spacing utilities is also a valid way to use the design system, for example when the heading and description need to stack in a way Title does not offer. Don’t reproduce Title’s layout locally, though. If a local heading looks like Title, use Title.
Choosing a title
Section titled “Choosing a title”Use title-page for a page heading and title-section for a section heading. Match the slotted heading element to the document outline: page titles normally use h1, while section titles use the appropriate lower level.
Description and action
Section titled “Description and action”Add supporting copy through the description slot and an optional link or button through the action slot. The title can be placed directly in a page layout or another slot-based layout without extra alignment wrappers.