Base

<!doctype html>
<html lang="en">
<!-- generated by uswds@2.1.0 -->

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>USWDS Fractal example document</title>
    <link rel="stylesheet" href="../../dist/css/uswds.min.css">

</head>

<body>
    <a class="usa-skipnav" href="#main-content">Skip to main content</a>

    <div class="usa-banner">
        <div class="usa-accordion">
            <header class="usa-banner__header">
                <div class="usa-banner__inner">
                    <div class="grid-col-auto">
                        <img class="usa-banner__header-flag" src="../../dist/img/us_flag_small.png" alt="U.S. flag">
                    </div>
                    <div class="grid-col-fill tablet:grid-col-auto">
                        <p class="usa-banner__header-text">An official website of the United States government</p>
                        <p class="usa-banner__header-action" aria-hidden="true">Here’s how you know</p>
                    </div>
                    <button class="usa-accordion__button usa-banner__button" aria-expanded="false" aria-controls="gov-banner">
          <span class="usa-banner__button-text">Here’s how you know</span>
        </button>
                </div>
            </header>
            <div class="usa-banner__content usa-accordion__content" id="gov-banner">
                <div class="grid-row grid-gap-lg">
                    <div class="usa-banner__guidance tablet:grid-col-6">
                        <img class="usa-banner__icon usa-media-block__img" src="../../dist/img/icon-dot-gov.svg" alt="Dot gov">
                        <div class="usa-media-block__body">
                            <p>
                                <strong>The .gov means it’s official.</strong>
                                <br> Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.
                            </p>
                        </div>
                    </div>
                    <div class="usa-banner__guidance tablet:grid-col-6">
                        <img class="usa-banner__icon usa-media-block__img" src="../../dist/img/icon-https.svg" alt="Https">
                        <div class="usa-media-block__body">
                            <p>
                                <strong>The site is secure.</strong>
                                <br> The <strong>https://</strong> ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="usa-overlay"></div>
    <header class="usa-header usa-header--basic usa-header--megamenu" role="banner">
        <div class="usa-nav-container">
            <div class="usa-navbar">
                <div class="usa-logo" id="basic-mega-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-mega-nav-section-one"><span>Current section</span></button>
                        <div id="basic-mega-nav-section-one" class="usa-nav__submenu usa-megamenu">
                            <div class="grid-row grid-gap-4">
                                <div class="desktop:grid-col-3">
                                    <ul class="usa-nav__submenu-list">
                                        <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>
                                </div>
                                <div class="desktop:grid-col-3">
                                    <ul class="usa-nav__submenu-list">
                                        <li class="usa-nav__submenu-item">
                                            <a href="#">Navigation link</a>
                                        </li>
                                        <li class="usa-nav__submenu-item">
                                            <a href="#">A very long navigation link that goes onto two lines</a>
                                        </li>
                                        <li class="usa-nav__submenu-item">
                                            <a href="#">Navigation link</a>
                                        </li>
                                    </ul>
                                </div>
                                <div class="desktop:grid-col-3">
                                    <ul class="usa-nav__submenu-list">
                                        <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>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li class="usa-nav__primary-item">
                        <button class="usa-accordion__button usa-nav__link" aria-expanded="false" aria-controls="basic-mega-nav-section-two"><span>Section</span></button>
                        <div id="basic-mega-nav-section-two" class="usa-nav__submenu usa-megamenu">
                            <div class="grid-row grid-gap-4">
                                <div class="desktop:grid-col-3">
                                    <ul class="usa-nav__submenu-list">
                                        <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>
                                </div>
                                <div class="desktop:grid-col-3">
                                    <ul class="usa-nav__submenu-list">
                                        <li class="usa-nav__submenu-item">
                                            <a href="#">Navigation link</a>
                                        </li>
                                        <li class="usa-nav__submenu-item">
                                            <a href="#">A very long navigation link that goes onto two lines</a>
                                        </li>
                                        <li class="usa-nav__submenu-item">
                                            <a href="#">Navigation link</a>
                                        </li>
                                    </ul>
                                </div>
                                <div class="desktop:grid-col-3">
                                    <ul class="usa-nav__submenu-list">
                                        <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>
                                </div>
                            </div>
                        </div>
                    </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-mega-search-field-small">Search small</label>
                        <input class="usa-input" id="basic-mega-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>

    <main id="main-content">
    </main>

    <footer class="usa-footer" role="contentinfo">
        <div class="grid-container usa-footer__return-to-top">
            <a href="#">Return to top</a>
        </div>
        <div class="usa-footer__primary-section">
            <nav class="usa-footer__nav">
                <ul class="grid-row grid-gap">
                    <li class="mobile-lg:grid-col-4 desktop:grid-col-2 usa-footer__primary-content">
                        <a class="usa-footer__primary-link" href="javascript:void(0);">Primary link</a>
                    </li>
                    <li class="mobile-lg:grid-col-4 desktop:grid-col-2 usa-footer__primary-content">
                        <a class="usa-footer__primary-link" href="javascript:void(0);">Primary link</a>
                    </li>
                    <li class="mobile-lg:grid-col-4 desktop:grid-col-2 usa-footer__primary-content">
                        <a class="usa-footer__primary-link" href="javascript:void(0);">Primary link</a>
                    </li>
                    <li class="mobile-lg:grid-col-4 desktop:grid-col-2 usa-footer__primary-content">
                        <a class="usa-footer__primary-link" href="javascript:void(0);">Primary link</a>
                    </li>
                    <li class="mobile-lg:grid-col-4 desktop:grid-col-2 usa-footer__primary-content">
                        <a class="usa-footer__primary-link" href="javascript:void(0);">Primary link</a>
                    </li>
                </ul>
            </nav>
        </div>

        <div class="usa-footer__secondary-section">
            <div class="grid-container">
                <div class="grid-row grid-gap">
                    <div class="usa-footer__logo grid-row mobile-lg:grid-col-6 mobile-lg:grid-gap-2">
                        <div class="mobile-lg:grid-col-auto">
                            <img class="usa-footer__logo-img" src="../../dist/img/logo-img.png" alt="">
                        </div>
                        <div class="mobile-lg:grid-col-auto">
                            <h3 class="usa-footer__logo-heading">Name of Agency</h3>
                        </div>
                    </div>
                    <div class="usa-footer__contact-links mobile-lg:grid-col-6">
                        <div class="usa-footer__social-links grid-row grid-gap-1">
                            <div class="grid-col-auto">
                                <a class="usa-social-link usa-social-link--facebook" href="javascript:void(0);">
                <span>Facebook</span>
              </a>
                            </div>
                            <div class="grid-col-auto">
                                <a class="usa-social-link usa-social-link--twitter" href="javascript:void(0);">
                <span>Twitter</span>
              </a>
                            </div>
                            <div class="grid-col-auto">
                                <a class="usa-social-link usa-social-link--youtube" href="javascript:void(0);">
                <span>YouTube</span>
              </a>
                            </div>
                            <div class="grid-col-auto">
                                <a class="usa-social-link usa-social-link--rss" href="javascript:void(0);">
                <span>RSS</span>
              </a>
                            </div>
                        </div>
                        <h3 class="usa-footer__contact-heading">Agency Contact Center</h3>
                        <address class="usa-footer__address">
            <div class="usa-footer__contact-info grid-row grid-gap">
              <div class="grid-col-auto">
                <a href="tel:1-800-555-5555">(800) CALL-GOVT</a>
              </div>
              <div class="grid-col-auto">
                <a href="mailto:info@agency.gov">info@agency.gov</a>
              </div>
            </div>
          </address>
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <script src="../../dist/js/uswds.min.js"></script>
</body>

</html>

There are no notes for this item.

<!doctype html>
<html lang="{{ lang | default('en') }}">
  <!-- generated by {{ package.name }}@{{ package.version }} -->
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{{ meta.title | default('USWDS Fractal example document') }}</title>
    <link rel="stylesheet" href="{{ uswds.path }}/css/uswds.min.css">
    {% block styles %}{% endblock %}
  </head>
  <body>
    {% block skipnav -%}
      <a class="usa-skipnav" href="#main-content">Skip to main content</a>
    {% endblock %}

    {% block banner -%}
      {% render '@banner' %}
    {% endblock %}

    {% block header -%}
      {% render '@header--basic-mega', {header: header}, true %}
    {% endblock %}

    {% block body -%}
      <main id="main-content">
      </main>
    {% endblock %}

    {% block footer -%}
      {% render '@footer' %}
    {% endblock %}
    <script src="{{ uswds.path }}/js/uswds.min.js"></script>
  </body>
</html>
package:
  name: uswds
  version: 2.1.0
uswds:
  path: ../../dist