unslopkit

Components / Navigation

Mega menu

A header whose menus open with details, no script. The open one drops a full panel with route links, a next sailing card and a service notice. On a narrow screen it folds into a stacked menu.

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-navigation-mega-menu">
<div class="mm">
  <header class="bar">
    <a class="mark" href="#"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 9c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2M2 16c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2"/></svg> Northsound Ferries</a>
    <nav class="main" aria-label="Ferry site">
      <details class="drop" name="ukc-navigation-mega-menu-drop" open>
        <summary>Routes and times <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></summary>
        <div class="panel">
          <div class="cols">
            <section class="col">
              <h3>Island routes</h3>
              <ul>
                <li><a href="#"><span class="t">Harrow Point to Skellan</span><span class="m">35 min · 9 sailings a day</span></a></li>
                <li><a href="#"><span class="t">Harrow Point to Inner Tarn</span><span class="m">1 hr 10 · cars and foot</span></a></li>
                <li><a href="#"><span class="t">Skellan to Outer Holm <span class="tag">Summer only</span></span><span class="m">2 hr 05 · foot passengers</span></a></li>
              </ul>
            </section>
            <section class="col">
              <h3>Plan a crossing</h3>
              <ul>
                <li><a href="#"><span class="t">Today's timetable</span></a></li>
                <li><a href="#"><span class="t">Vehicle deck space</span></a></li>
                <li><a href="#"><span class="t">Tide and weather holds</span></a></li>
                <li><a href="#"><span class="t">Step-free boarding</span></a></li>
              </ul>
            </section>
            <a class="nextup" href="#"><span class="k">Next sailing</span><span class="big">14:20</span><span class="t">Harrow Point to Skellan</span><span class="m">Boarding closes 14:05 · 6 car spaces left</span><span class="go">See today's sailings <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></a>
          </div>
          <p class="notice"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg><span><strong>Cancelled:</strong> Outer Holm sailings on Saturday 28 November, high winds.</span><a href="#">Rebook</a></p>
        </div>
      </details>
      <details class="drop" name="ukc-navigation-mega-menu-drop">
        <summary>Fares <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></summary>
        <div class="panel small">
          <ul class="col">
            <li><a href="#"><span class="t">Foot passengers</span><span class="m">From 6.40 each way</span></a></li>
            <li><a href="#"><span class="t">Cars and vans</span><span class="m">Priced by length</span></a></li>
            <li><a href="#"><span class="t">Island resident card</span><span class="m">Half fare, all year</span></a></li>
          </ul>
        </div>
      </details>
      <a class="lnk" href="#">Service updates <span class="cnt">2</span></a>
      <a class="lnk" href="#">On board</a>
    </nav>
    <a class="book" href="#">Book a crossing</a>
  </header>
  <div class="page">
    <p class="kick">Winter timetable</p>
    <h2>Fewer sailings after 6pm until 28 February</h2>
    <p>Check the last boat home before you travel. Vehicle bookings close one hour before departure.</p>
  </div>
</div>
</div>

More navigation

All 26
  • Sidebar with nested sections

  • Shop switcher menu

  • Issue 31Winter 2026Subscribe

    The Understory

    A quarterly on woods, hedges and the people who keep them

    Quiet masthead

  • Contents with leaders

  • Tram line map

  • Lift button panel