<div class="usa-overlay"></div>
<header class="usa-header usa-header--basic" role="banner">
    <div class="usa-nav-container">
        <div class="usa-navbar">
            <div class="usa-logo" id="basic-logo">
                <em class="usa-logo__text"><a href="/" title="Home" aria-label="Home">Project title</a></em>
            </div>
            <button class="usa-menu-btn">Menu</button>
        </div>
        <nav role="navigation" class="usa-nav">
            <button class="usa-nav__close"><img src="../../dist/img/close.svg" alt="close"></button>
            <ul class="usa-nav__primary usa-accordion">
                <li class="usa-nav__primary-item">
                    <button class="usa-accordion__button usa-nav__link  usa-current" aria-expanded="false" aria-controls="basic-nav-section-one"><span>Current section</span></button>
                    <ul id="basic-nav-section-one" class="usa-nav__submenu">
                        <li class="usa-nav__submenu-item">
                            <a href="#">Navigation link</a>
                        </li>
                        <li class="usa-nav__submenu-item">
                            <a href="#">Navigation link</a>
                        </li>
                        <li class="usa-nav__submenu-item">
                            <a href="#">Navigation link</a>
                        </li>
                    </ul>
                </li>
                <li class="usa-nav__primary-item">
                    <button class="usa-accordion__button usa-nav__link" aria-expanded="false" aria-controls="basic-nav-section-two"><span>Section</span></button>
                    <ul id="basic-nav-section-two" class="usa-nav__submenu">
                        <li class="usa-nav__submenu-item">
                            <a href="#">Navigation link</a>
                        </li>
                        <li class="usa-nav__submenu-item">
                            <a href="#">Navigation link</a>
                        </li>
                        <li class="usa-nav__submenu-item">
                            <a href="#">Navigation link</a>
                        </li>
                    </ul>
                </li>
                <li class="usa-nav__primary-item">
                    <a class="usa-nav__link" href="javascript:void(0)"><span>Simple link</span></a>
                </li>
            </ul>
            <form class="usa-search usa-search--small ">
                <div role="search">
                    <label class="usa-sr-only" for="basic-search-field-small">Search small</label>
                    <input class="usa-input" id="basic-search-field-small" type="search" name="search">
                    <button class="usa-button" type="submit"><span class="usa-sr-only">Search</span></button>
                </div>
            </form>
        </nav>
    </div>
</header>

There are no notes for this item.

<div class="usa-overlay"></div>
<header class="usa-header usa-header--basic{% if header.primary.mega %} usa-header--megamenu{% endif %}" role="banner">
  <div class="usa-nav-container">
    {% render '@site-title', {header: header}, true -%}
    <nav role="navigation" class="usa-nav">
      {% render '@nav-primary', {nav: header.primary}, true -%}
    </nav>
  </div>
</header>
package:
  name: uswds
  version: 2.0.3
uswds:
  path: ../../dist
header:
  primary:
    search: true
    id_prefix: basic-