Patterns

2.6.15

Header

 Anchor  

Application Header

<header class="o-header-app layout-sidebar flex">
  <div class="bg-blue text-base-white">
    <svg class="o-header-app__icon icon icon-logo-nyco-secondary">
      <use xlink:href="#icon-logo-nyco-secondary"></use>
    </svg>
  </div>
  <div class="color-dark-background"></div>
</header>

The Application Header can be used as a Header replacement for progressive web applications.

 Anchor  

Product Header

NewProduct

byNYC Opportunity

My Project

<header class="o-header-app tablet:layout-sidebar tablet:flex">
  <div class="color-dark-background text-base-white flex flex-col items-start py-2 tablet:p-5">
    <h1 class="h3 m-0">NewProduct</h1>
    <p class="small flex items-end">by<span class="sr-only">NYC Opportunity</span>
      <svg class="o-header-nyco-secondary__icon mis-1">
        <use xlink:href="#icon-logo-nyco-secondary"></use>
      </svg>
    </p>
  </div>
  <div class="color-primary-background justify-between py-2">
    <h2 class="mb-0">My Project</h2>
    <div>
      <button class="btn mx-1" title="Action">
        <svg class="icon-ui tablet:mie-1">
          <use xlink:href="#feather-trash-2"></use>
        </svg>
        <span class="hidden tablet:inline">Action</span>
      </button>
      <button class="btn btn-secondary mx-1" title="New Action">
        <svg class="icon-ui tablet:mie-1">
          <use xlink:href="#feather-plus-square"></use>
        </svg>
        <span class="hidden tablet:inline">New Action</span>
      </button>
    </div>
  </div>
</header>

The Product Application Header is an alternative header that provides a lockup for a product name with the NYC Opportunity logo.