unslopkit

Components / Navigation

Shop switcher menu

A header button that opens a menu for moving between locations of one business. Picking a shop ticks it and renames the button, with account links and sign out under the list.

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-account-switcher">
<div class="app">
  <header class="bar">
    <details class="sw" open>
      <summary>
        <span class="av" aria-hidden="true">CK</span>
        <span class="who"><span class="org">Crumb and Kettle</span><span class="loc"><span class="l1">Canal Street</span><span class="l2">Market Hall</span><span class="l3">Station kiosk</span><span class="l4">Wholesale</span></span></span>
        <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="M8 9l4-4 4 4M8 15l4 4 4-4"/></svg>
      </summary>
      <div class="menu">
        <fieldset>
          <legend>Switch shop</legend>
          <label class="opt"><input class="r1" type="radio" name="ukc-navigation-account-switcher-shop" checked><span class="ini" aria-hidden="true">CS</span><span class="txt"><span class="t">Canal Street</span><span class="m">Open now · 14 orders to bake</span></span><span class="tick"><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="M5 12.5l4.5 4.5L19 7.5"/></svg></span></label>
          <label class="opt"><input class="r2" type="radio" name="ukc-navigation-account-switcher-shop"><span class="ini" aria-hidden="true">MH</span><span class="txt"><span class="t">Market Hall</span><span class="m">Closed Mondays</span></span><span class="tick"><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="M5 12.5l4.5 4.5L19 7.5"/></svg></span></label>
          <label class="opt"><input class="r3" type="radio" name="ukc-navigation-account-switcher-shop"><span class="ini" aria-hidden="true">SK</span><span class="txt"><span class="t">Station kiosk</span><span class="m">Opens 6:30 tomorrow</span></span><span class="tick"><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="M5 12.5l4.5 4.5L19 7.5"/></svg></span></label>
          <label class="opt"><input class="r4" type="radio" name="ukc-navigation-account-switcher-shop"><span class="ini" aria-hidden="true">WS</span><span class="txt"><span class="t">Wholesale</span><span class="m due"><svg width="12" height="12" 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> 3 invoices unpaid</span></span><span class="tick"><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="M5 12.5l4.5 4.5L19 7.5"/></svg></span></label>
        </fieldset>
        <ul class="acts">
          <li><a href="#"><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 5v14M5 12h14"/></svg> Add a shop</a></li>
          <li><a href="#"><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"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1"/></svg> Shop settings</a></li>
          <li><a href="#"><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"><circle cx="12" cy="8" r="4"/><path d="M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6"/></svg> Your profile</a></li>
        </ul>
        <p class="out"><span>ines@crumbandkettle.example</span><a href="#">Sign out</a></p>
      </div>
    </details>
    <nav class="tabs" aria-label="Shop pages"><a href="#" aria-current="page">Orders</a><a href="#">Bake plan</a><a href="#">Stock</a></nav>
  </header>
  <div class="page">
    <h2>Today's orders</h2>
    <ul>
      <li><span class="tm">06:30</span><span>40 morning buns, Hollis Cafe</span></li>
      <li><span class="tm">09:00</span><span>2 seeded rye, collection</span></li>
      <li><span class="tm">11:15</span><span>Lemon drizzle, whole, for Okoro</span></li>
    </ul>
  </div>
</div>
</div>

More navigation

All 26
  • 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

  • Service header

  • Underline tabs with counts