Job board

Top navigation

The top navigation is the site header on every page: the wordmark or the way home, the main menu, the theme toggle and the "Post a job" action. Breakpoint (md, sm) picks the layout, Home picks the home treatment or the interior one, and Scroll (Start, Scrolling) reflects whether the page has been scrolled.

Design
Finished
Level
Draft
Audit
2 open findingsat the audit of
Last changed

Preview

Top navigation, default variant as designedTop navigation, default variant as designed
Default variant as designed, light modedark modeOpen in Figma

Usage

Do

  • Choose Breakpoint first, then Home, and leave Scroll to code
  • Fill the Main menu slot with Navigation button and mark the current page with its Selected
  • Use Home=True on the home page only

Don't

  • Use for controls that act on the page rather than navigate
  • Set Scroll by hand in a static design
  • Pair it with anything but Bottom navigation at the foot of the same page

Behaviour

  • Home=True shows the wordmark as Title text; Home=False replaces it with a "Home" Button leading back
  • Scroll=Scrolling is the treatment once the page has scrolled, set by code from the scroll position
  • Breakpoint=sm collapses everything but the title and a "Menu" Button; the menu itself is not part of this component
  • Side menu and Side buttons show or hide the right-hand groups on md; Secondary CTA adds a second Button beside "Post a job", off by default

Composition

  • Contains Button on every variant — "Post a job" on md, "Menu" on sm, "Home" on Home=False
  • The Main menu slot takes Navigation button instances, one per destination, on md
  • Contains Toggle, the theme switch, on md
  • Contains house and menu icons

Dependencies in Figma

Built fromButton — brings SpinnerButtonNavigation buttonNavigation buttonToggle — brings Toggle - buttonToggleTop navigationTop navigation

Built from

Level checks

Draft · next level blocked by Errors open

The ladder's checks for Top navigation
CheckLevelResult
AuditedReadyPasses
No errors openReady1 error open
Has a descriptionReadyPasses
Usage and Don't writtenReadyChecked at the next audit
Every layer namedReadyPasses
In codeReadyPasses
No warnings openStableNot yet
Code gen notes writtenStableChecked at the next audit
Auto layout throughoutStableChecked at the next audit
Matches the designStablePasses

Anatomy

123
Every option switched on: what the component can contain, not how it is usually used
#PartShownComponent
1TitleAlways–
2Navigation button × 4AlwaysNavigation button
3Side menuBy Side menu–

Properties

Top navigation: each property, its type, values and default
PropertyTypeValuesDefault
BreakpointVariant
mdsm
md
HomeVariant
TrueFalse
True
ScrollVariant
StartScrolling
Start
Title textTextany textTitle
Main menu slotSlotany contentNone
Side menuBooleantrue, falsetrue
Side buttonsBooleantrue, falsetrue
Secondary CTABooleantrue, falsefalse

Implementation

What code builds differently from the drawing, and why
FigmaCodeWhy
The component, Toggle, Container, inside strokeborder with box-sizing: border-box and padding less the stroke, or box-shadow: inset 0 0 0 <width>Figma's inside stroke takes no space; a border does.
Container, Auto gapjustify-content: space-betweenFigma's Auto gap is a distribution, not a gap.
Breakpoint: md, smMedia or container queriesOne component responds to its width; the variants are the widths drawn.
Container, set to fill its parent, but capped at 1440pxCap the grid track or the containerOpen with the designer, who may instead: say in the description that the cap belongs to the container, not this layer — otherwise the build puts the limit in the wrong place and the layer stops stretching.

Changes on 23 Nov
ChangeTypeFigma filesCodeDetails
Navigation button: fillRestyledMinorMinor
Navigation button#2: fillRestyledMinorMinor
Navigation button#3: fillRestyledMinorMinor
Navigation button#4: fillRestyledMinorMinor
Container: fillRestyledMinorMinor

Changes on 5 Nov
ChangeTypeFigma filesCodeDetails
Slot settingsNot gradedNot gradedNot graded

Changes on 4 Nov
ChangeTypeFigma filesCodeDetails
Layer LabelAddedMinorPatch
Title: text styleRestyledMinorMinor
Label: text styleRestyledMinorMinor
Nav: width · 4 variantsRestyledMinorMinor
Nav: position · 4 variantsRestyledMinorMinor
Main menu slot: widthRestyledMinorMinor
Navigation button: widthRestyledMinorMinor
Navigation button: overridesRestyledMinorMinor
Navigation button#2: widthRestyledMinorMinor
Navigation button#2: positionRestyledMinorMinor
Navigation button#2: overridesRestyledMinorMinor
Navigation button#3: widthRestyledMinorMinor
Navigation button#3: positionRestyledMinorMinor
Navigation button#3: overridesRestyledMinorMinor
Navigation button#4: widthRestyledMinorMinor
Navigation button#4: positionRestyledMinorMinor
Navigation button#4: overridesRestyledMinorMinor
Side menu: width · 2 variantsRestyledMinorMinor
Side menu: positionRestyledMinorMinor
Buttons: width · 2 variantsRestyledMinorMinor
Button: width · 2 variantsRestyledMinorMinor
Container: width · 2 variantsRestyledMinorMinor
Content: width · 2 variantsRestyledMinorMinor
Content: heightRestyledMinorMinor
Content: positionRestyledMinorMinor
Label: width · 2 variantsRestyledMinorMinor
Label: heightRestyledMinorMinor
Label: line heightRestyledMinorMinor
Label: letter spacingRestyledMinorMinor
Label: position · 2 variantsRestyledMinorMinor
Title: widthRestyledMinorMinor
Title: heightRestyledMinorMinor
Title: positionRestyledMinorMinor
Button#2: widthRestyledMinorMinor
Button#2: positionRestyledMinorMinor

Changes on 1 Nov
ChangeTypeFigma filesCodeDetails
Tokens renamed (4 bindings)RestyledMinorMinor
Label: sizingRestyledMinorMinor
Label: text sizingRestyledMinorMinor
Property linksNot gradedNot gradedNot graded

Changes on 13 Oct
ChangeTypeFigma filesCodeDetails
Layer IconRemovedBreakingMinor
Layer LabelRemovedBreakingMinor
Layer ContentRenamedPatchMinor
Layer ContentAddedMinorPatch
Layer LabelAddedMinorPatch
Layer IconAddedMinorPatch
Button: overridesRestyledMinorMinor
Button: width · 2 variantsRestyledMinorMinor
Nav: widthRestyledMinorMinor
Nav: positionRestyledMinorMinor
Side menu: widthRestyledMinorMinor
Buttons: widthRestyledMinorMinor

Changes on 3 Oct
ChangeTypeFigma filesCodeDetails
Main menu slot: typeRestyledMinorMinor

Changes on 27 Sept
ChangeTypeFigma filesCodeDetails
DescriptionDocsPatchPatch
Title: line heightRestyledMinorMinor
Slot settingsNot gradedNot gradedNot graded

Changes on 23 Sept
ChangeTypeFigma filesCodeDetails
DescriptionDocsPatchPatch
Title: line heightRestyledMinorMinor
Slot settingsNot gradedNot gradedNot graded

Changes on 19 Sept
ChangeTypeFigma filesCodeDetails
DescriptionDocsPatchPatch

Changes on 6 Sept
ChangeTypeFigma filesCodeDetails
Tokens renamed (3 bindings)RestyledMinorMinor

Changes on 1 Sept
ChangeTypeFigma filesCodeDetails
Tokens renamed (4 bindings)RestyledMinorMinor
Label: sizingRestyledMinorMinor
Label: heightRestyledMinorMinor
Label: positionRestyledMinorMinor
Label: line heightRestyledMinorMinor
Toggle: strokeRestyledMinorMinor
Top navigation: strokeRestyledMinorMinor
Content: strokeRestyledMinorMinor

Changes on 25 Aug
ChangeTypeFigma filesCodeDetails
Button: propsRestyledMinorMinor
Nested component renamed (8 layers)Not gradedNot gradedNot graded

Changes on 24 Aug
ChangeTypeFigma filesCodeDetails
Property BreakpointAddedMinorMinor
VariantsNot gradedNot gradedNot graded

Changes on 22 Aug
ChangeTypeFigma filesCodeDetails
Layer Nav bar - itemRenamedPatchMinor
Layer Nav bar - item#2RenamedPatchMinor
Layer Nav bar - item#3RenamedPatchMinor
Layer Nav bar - item#4RenamedPatchMinor
Container: widthRestyledMinorMinor
Content: fillRestyledMinorMinor
Navigation button: fillRestyledMinorMinor
Navigation button#2: fillRestyledMinorMinor
Navigation button#3: fillRestyledMinorMinor
Navigation button#4: fillRestyledMinorMinor
NameRenamedPatchMinor
PageDocsPatchPatch
Property renamedRenamedPatchBreaking
Property PositionRemovedBreakingBreaking
Property ScrollRemovedBreakingBreaking
A variant option removed: Scroll=TrueRemovedBreakingBreaking
A variant option added: Scroll=StartAddedMinorMinor
A variant option added: Scroll=ScrollingAddedMinorMinor
VariantsNot gradedNot gradedNot graded