Public Header
The sticky header of public pages: the brand, the links, the language and theme preferences and the actions; below 768px they fold behind a burger.
A block from @tectra-ng/blocks — it comes with tectra-ng, or alone: npm install @tectra-ng/blocks.
Basic
Links go in txPublicHeaderNav, buttons in txPublicHeaderActions; the language and theme preferences sit between them. Scroll the frame: the header stays on top and the page shows through its glass.
Ship reports your team reads
Scroll this frame: the header stays on top and the content shows through its glass.
Responsive
responsive="container" makes the header follow its own width instead of the window — here the device frame. Below 768px a burger opens a panel with the links, the preferences as labelled rows and full-width buttons; it closes on a link, on Escape and when the header grows wide again.
Open the menu on the phone: the links, the preferences and the buttons move into a panel.
Without preferences
[preferences]="false" hides the language and theme preferences; without logo the brand is just the name.
Design tokens
dt changes the tokens of one header: here taller, on the ground colour, with larger dark links.