Skip to content

Header

ReleasedShipped in 0.2.0StorybookFigma canvas 57:1643Source
  • Use type web at the top of every page of the guest website, with the current section as the first, darker link.
  • Use type app at the top of each app screen below the status bar: back on the left, the screen name in the centre, one text action on the right when the screen has one, such as “Save” or “Mark read”.
  • Use type backoffice above the content of each back office page, next to the Sidebar, with the page name and search.
  • Keep the app title short (one or two words) so it stays centred and never truncates.
  • Turn ShowAvatar off for signed-out guests on web; the Book now button stays.
  • Hide the back chevron (ShowBack off) only on the top-level tabs of the app, such as Explore or Trips.

Property names. Item 5 is copied from Figma as written, with Figma’s spelling of the properties. The code spells it showAvatar.

Property names. Item 6 is copied from Figma as written, with Figma’s spelling of the properties. The code spells it showBack.

  • More than once on a page, or inside a card or a modal.
    The Figma page names no alternative.
  • To hold page actions such as “Export” or “Add rate”: put them in the page content, under the title.
    The Figma page names no alternative.
  • With more than three nav links on web: move the rest into the Help page or the footer.
    The Figma page names no alternative.

No alternative named. All 3 items above have an empty instead in Header.intent.json. From the release review, under “Warnings (not blocking)”, as written:

Check 2: all three dont_use_when entries have an empty instead: (1) “More than once on a page, or inside a card or a modal.”; (2) “To hold page actions such as “Export” or “Add rate”: put them in the page content, under the title.“; (3) “With more than three nav links on web: move the rest into the Help page or the footer.” The frame names no alternative component (entries 2 and 3 name a place, not a component).

From the Figma documentation page (usage node 208:670), as written. These items aren’t carried into Header.intent.json, which has no field for them.

  • Keep the app title short (one or two words) so it stays centred and never truncates.
  • Turn ShowAvatar off for signed-out guests on web; the Book now button stays.
  • Hide the back chevron (ShowBack off) only on the top-level tabs of the app, such as Explore or Trips.
Property Value What it is for
type web at the top of every page of the guest website, with the current section as the first, darker link.
type app at the top of each app screen below the status bar: back on the left, the screen name in the centre, one text action on the right when the screen has one, such as “Save” or “Mark read”.
type backoffice above the content of each back office page, next to the Sidebar, with the page name and search.

From Versioning (VERSIONING.md at b9ffb76):

0.3.0 adds six components on top of 0.2.1: Calendar, Card, Form, Modal, SideBar and Table. It contains twenty-three components, each exported from the package root with its props type: Avatar, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Checkbox, Chip, Dropdown, File, Form, Header, Image, Link, Logo, Modal, ProgressBar, RadioCard, SearchBar, SideBar, Stepper, Table, Toggle. Textfield is exported from the package root as well, with TextfieldProps and TextfieldState, and is public like the others (see decisions.md, 2026-10-07, Textfield). It commits you to their props, prop values and defaults, their hz- class names, the tokens in tokens.css and the three entry points (., ./styles.css, ./tokens.css). Everything in 0.3.0 beyond 0.2.1 is an addition: nothing from 0.2.1 was changed, removed or renamed. A change that breaks any of these on 0.x bumps the version to 0.4.0.

Two things about this release are worth knowing:

  • Form, Modal and Table each passed release review with their literal sizes covered by a ruling in decisions.md (Card, SideBar and Calendar have their own), because no size tokens exist for them. Those literals are accepted until the designer adds matching tokens, so a later change to use tokens at the same rendered sizes would be a patch, not a breaking change.
  • Dark theme is not verified for Table, and its warning tag has low contrast. The Table docs page says so. Neither is a breaking-change risk, but a fix that changes a token’s value is a patch and is listed in the changelog.