nav.technical-hairline-bar · Technical hairline bar

A nav pattern from Technical Hairline, drawn alone below with this design's tokens and sample copy. Used in this design on: every page, as the nav. Give the section root data-pattern="nav.technical-hairline-bar". A guide only: DESIGN.md and tokens.json are the source of truth.

Rule
Wordmark left, plain links from column 4, a text link and a small dark pill CTA right; a full-width 1 px hairline closes the bar edge to edge.
Slots
siteName, pages, cta2, cta
Grid areas
logo 1-3 · links 4-8 · actions 9-12 (12-column grid, 1-based inclusive spans)
Tokens
bg #FAFAF8 · text #2E2E2B · heading #0B0B0A · accent #111110 · accent2 #7A7A7A · Geist / Geist · radius 12px · space unit 4px (full list in design/tokens.json)
Section
full-bleed · vertical padding step 0

Pattern notes

  • Wordmark left (columns 1–3), plain links from column 4 at weight 400, a text link and a small dark pill CTA right-aligned in 9–12. A full-width 1 px hairline closes the bar edge to edge. Sticky with the page colour behind it. Phone: wordmark, pill CTA and a menu toggle only.
Northfold
Start a project
Layout tree (as in design/layout.json)
{
  "pattern": "nav.technical-hairline-bar",
  "kind": "nav",
  "grid": {
    "logo": "1-3",
    "links": "4-8",
    "actions": "9-12"
  },
  "slots": [
    "siteName",
    "pages",
    "cta2",
    "cta"
  ],
  "bleed": true,
  "tree": {
    "el": "box",
    "children": [
      {
        "el": "grid",
        "gap": 4,
        "pad": [
          4,
          0
        ],
        "align": "center",
        "children": [
          {
            "el": "logo",
            "span": "1-3",
            "alignSelf": "center",
            "slot": "siteName",
            "style": "wordmark"
          },
          {
            "el": "nav-links",
            "span": "4-8",
            "mobile": "hide",
            "alignSelf": "center",
            "slot": "pages",
            "dir": "row",
            "style": "plain"
          },
          {
            "el": "box",
            "span": "9-12",
            "dir": "row",
            "gap": 5,
            "align": "center",
            "justify": "end",
            "children": [
              {
                "el": "button",
                "mobile": "hide",
                "slot": "cta2",
                "variant": "link"
              },
              {
                "el": "button",
                "slot": "cta",
                "variant": "primary",
                "size": "sm"
              }
            ]
          }
        ]
      },
      {
        "el": "divider"
      }
    ]
  }
}
Component example: reference/nav.technical-hairline-bar.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>nav.technical-hairline-bar — Technical Hairline</title>
<link rel="stylesheet" href="base.css">
<style>
  header { position: sticky; top: 0; background: var(--bg); z-index: 10; }
  .bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: center; height: 64px; }
  .logo { grid-column: 1 / 4; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; color: var(--heading); text-decoration: none; }
  nav { grid-column: 5 / 10; display: flex; gap: 28px; } nav a { color: var(--text); text-decoration: none; font-size: 15px; }
  nav a:hover { color: var(--heading); }
  .right { grid-column: 10 / 13; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
  .right .plain { color: var(--heading); text-decoration: none; font-weight: 500; font-size: 15px; }
  @media (max-width: 640px) { nav, .right .plain { display: none; } .logo { grid-column: 1 / 7; } .right { grid-column: 7 / 13; } }
</style>
</head>
<body>
<header>
  <div class="wrap bar">
    <a class="logo" href="/">fieldline</a>
    <nav aria-label="Main"><a href="#data">Data</a><a href="#sell">Sell data</a><a href="#partners">Partners</a><a href="#trust">Trust</a><a href="#docs">Docs</a></nav>
    <div class="right"><a class="plain" href="#labs">For labs</a><a class="btn btn-sm" href="#talk">Talk to us</a></div>
  </div>
  <hr class="rule">
</header>
</body>
</html>

Other patterns in this design

Whole design · Spec bundle (JSON) · On the style page