HEADERS / FREE HTML + ASTRO

Ledger editorial masthead

A large editorial wordmark with a ruled section-navigation row. Includes a responsive mobile disclosure.

Try the design

Open demo ↗

Preview links stay in the example. Copy the source to use your own destinations. Form previews never send information.

Copy the source

<header class="fct-ledger-editorial-header e-masthead" data-snippet="ledger-editorial-header">
  <div class="c-service">
    <div class="c-inner">
      <span>Independent stories. A wider view.</span><a href="help.html">Help & information</a
      ><a href="contact.html">Contact</a>
    </div>
  </div>
  <div class="c-header-main c-inner">
    <a class="c-brand" href="index.html" aria-label="Ledger home">Ledger</a
    ><button
      class="c-menu-button"
      type="button"
      aria-expanded="false"
      aria-controls="fct-ledger-editorial-header-nav"
    >
      Menu <span aria-hidden="true">+</span>
    </button>
    <nav id="fct-ledger-editorial-header-nav" aria-label="Primary">
      <details class="c-shop">
        <summary>Browse <span aria-hidden="true">⌄</span></summary>
        <div class="c-mega">
          <div class="c-mega-inner">
            <div>
              <h2>Browse</h2>
              <ul>
                <li><a href="news.html">News</a></li>
                <li><a href="culture.html">Culture</a></li>
                <li><a href="ideas.html">Ideas</a></li>
                <li><a href="the-weekend.html">The weekend</a></li>
              </ul>
            </div>
            <div>
              <h2>Helpful information</h2>
              <ul>
                <li><a href="our-approach.html">Our approach</a></li>
                <li><a href="useful-resources.html">Useful resources</a></li>
                <li><a href="news-notes.html">News & notes</a></li>
                <li><a href="contact.html">Contact</a></li>
              </ul>
            </div>
            <div class="e-menu-note">
              <p>Ledger</p>
              <span>Independent stories. A wider view.</span
              ><a class="c-link" href="about.html">About us <span aria-hidden="true">↗</span></a>
            </div>
          </div>
        </div>
      </details>
      <a href="culture.html">Culture</a><a href="ideas.html">Ideas</a
      ><a href="the-weekend.html">The weekend</a
      ><a class="c-bag" href="contact.html">Get in touch</a>
    </nav>
  </div>
</header>

Where this design fits

The masthead composition separates primary browsing from utility links. The expandable group uses native details; the mobile button adds Escape and focus-return behavior. Adapt the sample destinations to your own content hierarchy.

  • Primary and utility navigation
  • Native grouped-link disclosure
  • Mobile keyboard and no-JavaScript support

The real-site reference

Monocle subscriptions ↗

The reference informs editorial hierarchy, publication identity and subscription choices. This example uses original branding, copy, styling and code; it does not reproduce the reference product or its assets. Reference inspected 2 November 2026. This example has its own branding, content and code; it is not affiliated with the reference product.

What is included

The HTML ZIP includes a standalone demo, reusable markup, scoped CSS, its small JavaScript runtime, a license and setup notes. The Astro ZIP includes Snippet.astro. It can be imported into an existing Astro page or layout.

Set the right destinations

Example navigation, policy and contact links must point to your actual pages. Update visible business details and telephone/email links together. Remove sections that your website does not need.

Add it to an HTML website

  1. Copy snippet.html into the relevant page section.
  2. Load snippet.css after your existing site stylesheet. The class prefix identifies this design.
  3. Load snippet.js once with defer. Keep the included keyboard behavior when adapting interactions.
  4. Replace example content and check mobile widths, zoom, links and keyboard focus in your actual website.

Use it in Astro

Copy Snippet.astro into src/components/, import it into your page or shared layout, and insert the component where the section belongs. Keep each generated prefix unique if you duplicate a component on one page.

Keep the section maintainable

Start with the variables at the top of the CSS for background, text and accent colors. Preserve semantic labels and focus styles. Existing site selectors can still affect imported markup, so test the combined result. Read the complete setup notes.

GOOD DESIGN, OCCASIONALLY.

Your next idea
could start here.

New templates, useful guides, and updates from us.
A little inspiration for whatever you’re building.