Header
The opening of an inner page: its one H1, a lede and what to do next, at a third of a hero's height. Nine headers, from a centered title to a search field, a brand band, a photo banner and a document header.
Installation#
Built from#
Every header is a SectionHeader at its display size with the heading set to level={1}, so the band owns the page's single H1 and every section under it keeps its H2. The eyebrow is the dot Badge (tracked small caps on the photo banner, where a badge would sit on the picture as a sticker), the actions are Buttons, the search field is InputRoot beside a detached submit, and the document header adds a Breadcrumb. Each takes its copy as props, so one header can open a pricing, careers or legal page without a fork.
Responsive#
The split headers put their actions beside the title from lg up and stack them under the lede below it, where the buttons go full width. The photo header drops its picture under the copy, and the photo strip steps its height down with the frame instead of keeping an aspect ratio, so a phone still gets a picture rather than a sliver. The photo banner does the same with a floor height, and grows past it when a long title needs the room.