kitbash Sign in Connect agent
Components

Service canvas

Numbered tabs switch a big white service panel with a two-tone title, a browser frame holding a picture, and a toggle that opens the deliverable chips.

Part of the style

Cloud Sky Artboard

7 parts that belong together, with their tokens, type and rules.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #1c0d06;
  --night: #0f0300;
  --paper: #fffefc;
  --paper-soft: #fffefc;
  --paper-glass: rgba(255, 254, 252, 0.55);
  --sky-mid: #f2d3bd;
  --cloud: rgba(255, 254, 252, 0.85);
  --flame-soft: #fffefc;
  --flame: #a37860;
  --select: #a27359;
  --ink-mute: #887d77;
  --ink-soft: #271f1a;
  --night-line: #0e0603;
  --sky-low: #978981;
  --sky-top: #9f7b66;
  --live: #a37860;
  --note: #a27359;
}
</style>

<section class="services">
  <header class="services__head">
    <p class="services__scribble">what we make</p>
    <div class="services__tabs" role="tablist" aria-label="Services">
      <button class="services__tab is-active" role="tab" aria-selected="true" aria-controls="services-panel-1" id="services-tab-1"><span>01</span> Interface</button>
      <button class="services__tab" role="tab" aria-selected="false" aria-controls="services-panel-2" id="services-tab-2" tabindex="-1"><span>02</span> Websites</button>
      <button class="services__tab" role="tab" aria-selected="false" aria-controls="services-panel-3" id="services-tab-3" tabindex="-1"><span>03</span> Identity</button>
    </div>
  </header>

  <div class="services__board">
    <article class="services__panel" id="services-panel-1" role="tabpanel" aria-labelledby="services-tab-1">
      <p class="services__layer"><span class="services__layer-box"></span>01 interface</p>
      <div class="services__top">
        <div class="services__copy">
          <span class="services__num">01</span>
          <h3 class="services__title">Interface design <span class="services__hot">sketch to pixel.</span></h3>
          <p class="services__lede">Apps and dashboards, from a napkin wireframe to a file your developers thank you for.</p>
        </div>
        <figure class="services__browser">
          <span class="services__chrome"><i></i><i></i><i></i><b>ebbcharter.co</b></span>
          <img class="services__img" src="assets/sailboats.jpg" alt="An ink drawing of two sailing boats heeling on a choppy sea" width="843" height="605">
        </figure>
      </div>
      <button class="services__toggle" aria-expanded="false">See process + deliverables <span class="services__chev" aria-hidden="true"></span></button>
      <div class="services__more" hidden>
        <p class="services__more-text"><span class="services__label">the work</span>We turn a fuzzy idea into screens people enjoy using, test them on real hands, then hand over a tidy file.</p>
        <ul class="services__chips"><li>Web apps</li><li>Dashboards</li><li>Prototypes</li><li>Design systems</li><li>User flows</li><li>Handoff</li></ul>
      </div>
    </article>

    <article class="services__panel" id="services-panel-2" role="tabpanel" aria-labelledby="services-tab-2" hidden>
      <p class="services__layer"><span class="services__layer-box"></span>02 websites</p>
      <div class="services__top">
        <div class="services__copy">
          <span class="services__num">02</span>
          <h3 class="services__title">Websites <span class="services__hot">built to load fast.</span></h3>
          <p class="services__lede">Hand-built, quick, and easy for you to edit on a Sunday night without calling us.</p>
        </div>
        <figure class="services__browser">
          <span class="services__chrome"><i></i><i></i><i></i><b>spokeandsprocket.shop</b></span>
          <img class="services__img" src="assets/bicycle.jpg" alt="A green and cream poster with cyclists racing along the top" width="601" height="800">
        </figure>
      </div>
      <button class="services__toggle" aria-expanded="false">See process + deliverables <span class="services__chev" aria-hidden="true"></span></button>
      <div class="services__more" hidden>
        <p class="services__more-text"><span class="services__label">the work</span>Marketing sites and shops with motion that earns its keep, a CMS you understand and nothing that breaks on a phone.</p>
        <ul class="services__chips"><li>Marketing sites</li><li>Shops</li><li>CMS setup</li><li>Motion</li><li>Speed passes</li><li>Hosting</li></ul>
      </div>
    </article>

    <article class="services__panel" id="services-panel-3" role="tabpanel" aria-labelledby="services-tab-3" hidden>
      <p class="services__layer"><span class="services__layer-box"></span>03 identity</p>
      <div class="services__top">
        <div class="services__copy">
          <span class="services__num">03</span>
          <h3 class="services__title">Identity <span class="services__hot">marks, decks, voice.</span></h3>
          <p class="services__lede">A logo is the start. We draw the whole kit: type, colour, posters and the way you talk.</p>
        </div>
        <figure class="services__browser">
          <span class="services__chrome"><i></i><i></i><i></i><b>pierday.events</b></span>
          <img class="services__img" src="assets/regatta.jpg" alt="An etching of a crowded harbour regatta with flags strung between masts" width="1000" height="668">
        </figure>
      </div>
      <button class="services__toggle" aria-expanded="false">See process + deliverables <span class="services__chev" aria-hidden="true"></span></button>
      <div class="services__more" hidden>
        <p class="services__more-text"><span class="services__label">the work</span>Strategy that fits on a page, a mark that holds up at favicon size, and guidelines a new hire reads in ten minutes.</p>
        <ul class="services__chips"><li>Logo</li><li>Type and colour</li><li>Pitch decks</li><li>Posters</li><li>Guidelines</li><li>Tone of voice</li></ul>
      </div>
    </article>
  </div>
</section>

<style>
  .services {
    padding: var(--section-space) var(--edge);
  }
  .services__head {
    display: grid;
    justify-items: center;
    gap: var(--space-m);
    margin-bottom: clamp(24px, 3vw, 40px);
  }
  .services__scribble {
    margin: 0;
    font: 500 clamp(1.4rem, 2.4vw, 1.9rem) / 1 var(--font-hand);
    color: var(--flame);
    rotate: -3deg;
  }
  .services__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 5px;
    border-radius: var(--pill);
    background: var(--paper);
    box-shadow: var(--shadow-card);
  }
  .services__tab {
    min-height: var(--tap);
    padding: 0 18px;
    border: 0;
    border-radius: var(--pill);
    background: none;
    color: var(--ink);
    font: 500 var(--text-s) / 1 var(--font-body);
    cursor: pointer;
    transition: background var(--lift) var(--ease-snap), color var(--lift) var(--ease-snap);
  }
  .services__tab span { font-family: var(--font-mono); font-size: var(--mono-s); color: var(--flame); margin-right: 4px; }
  .services__tab.is-active { background: var(--ink); color: var(--paper); }
  .services__tab:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 2px; }

  .services__board {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
  }
  .services__layer {
    position: absolute;
    bottom: 100%;
    left: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font: 700 var(--mono-s) / 1 var(--font-mono);
    color: var(--flame);
  }
  .services__layer-box { width: 9px; height: 9px; border: var(--line-strong) solid var(--flame); border-radius: var(--radius-s); }
  .services__panel {
    position: relative;
    margin-top: 22px;
    padding: clamp(20px, 3.2vw, 44px);
    border-radius: var(--radius-l);
    background: var(--paper);
    box-shadow: var(--shadow-card);
    animation: services-in var(--slow) var(--ease);
  }
  @keyframes services-in {
    from { opacity: 0; translate: 24px 0; }
  }
  .services__top {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(20px, 4vw, 56px);
    padding-bottom: var(--space-l);
    border-bottom: var(--line) solid var(--paper-soft);
  }
  .services__num {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: var(--space-m);
    border-radius: var(--radius-m);
    background: var(--paper-soft);
    box-shadow: inset 0 -2px 0 rgb(20 32 43 / 0.06);
    font: 700 1.3rem / 1 var(--font-display);
    color: var(--ink-mute);
  }
  .services__title {
    margin: 0 0 var(--space-m);
    font: 800 var(--display-m) / 1.02 var(--font-display);
    letter-spacing: -0.045em;
  }
  .services__hot { display: block; color: var(--flame); }
  .services__lede { max-width: 26em; margin: 0; color: var(--ink-soft); }
  .services__browser {
    margin: 0;
    border-radius: var(--radius-window);
    overflow: hidden;
    background: var(--paper-soft);
    box-shadow: 0 24px 50px -24px rgb(20 50 80 / 0.5), 0 0 0 var(--line) rgb(20 32 43 / 0.08);
  }
  .services__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
  }
  .services__chrome i { width: 9px; height: 9px; border-radius: var(--pill); background: var(--flame); }
  .services__chrome i:nth-child(2) { background: var(--note); }
  .services__chrome i:nth-child(3) { background: var(--live); }
  .services__chrome b {
    flex: 1;
    margin-left: var(--space-s);
    padding: 3px 12px;
    border-radius: var(--pill);
    background: var(--paper);
    font: 400 var(--mono-xs) / 1.4 var(--font-mono);
    color: var(--ink-mute);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .services__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
  }

  .services__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-m);
    min-height: 50px;
    margin-top: var(--space-l);
    padding: 0 10px 0 18px;
    border: var(--line) solid var(--flame);
    border-radius: var(--radius-m);
    background: var(--paper);
    box-shadow: 0 10px 22px -14px rgb(240 83 28 / 0.6);
    font: 700 var(--mono-s) / 1 var(--font-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    transition: translate var(--lift) var(--ease-pop);
  }
  .services__toggle:hover { translate: 0 -2px; }
  .services__toggle:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 3px; }
  .services__chev {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: var(--pill);
    background: var(--flame);
    transition: rotate var(--lift) var(--ease-snap);
  }
  .services__chev::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: 3px;
    border: solid var(--paper);
    border-width: 2px 0 0 2px;
    rotate: 45deg;
  }
  .services__toggle[aria-expanded="false"] .services__chev { rotate: 180deg; }
  .services__more {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
    margin-top: var(--space-l);
    animation: services-in var(--slow) var(--ease);
  }
  .services__more[hidden] { display: none; }
  .services__label {
    display: block;
    margin-bottom: var(--space-s);
    font: 400 var(--mono-s) / 1 var(--font-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .services__more-text { margin: 0; color: var(--ink-soft); }
  .services__chips {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .services__chips li {
    padding: 9px 14px;
    border: var(--line) solid rgb(20 32 43 / 0.1);
    border-radius: var(--radius-m);
    background: var(--paper-soft);
    font-size: var(--text-s);
    color: var(--ink-soft);
  }

  @media (max-width: 760px) {
    .services__top,
    .services__more { grid-template-columns: 1fr; }
    .services__browser { order: -1; }
    .services__toggle { width: 100%; justify-content: space-between; letter-spacing: 0.08em; }
  }
  @media (prefers-reduced-motion: reduce) {
    .services__panel, .services__more { animation: none; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.services')) {
    const tabs = [...root.querySelectorAll('.services__tab')];
    const panels = [...root.querySelectorAll('.services__panel')];
    const show = (index, focus) => {
      tabs.forEach((tab, i) => {
        const on = i === index;
        tab.classList.toggle('is-active', on);
        tab.setAttribute('aria-selected', on);
        tab.tabIndex = on ? 0 : -1;
        panels[i].hidden = !on;
      });
      if (focus) tabs[index].focus();
    };
    tabs.forEach((tab, i) => {
      tab.addEventListener('click', () => show(i));
      tab.addEventListener('keydown', (event) => {
        if (event.key === 'ArrowRight') show((i + 1) % tabs.length, true);
        if (event.key === 'ArrowLeft') show((i - 1 + tabs.length) % tabs.length, true);
      });
    });
    root.querySelectorAll('.services__toggle').forEach((toggle) => {
      const more = toggle.nextElementSibling;
      toggle.addEventListener('click', () => {
        const open = toggle.getAttribute('aria-expanded') !== 'true';
        toggle.setAttribute('aria-expanded', open);
        more.hidden = !open;
      });
    });
  }
})();
</script>

Similar components

Triage queue window

Triage queue window

Jewel card deck

Jewel card deck

Colour specimen

Colour specimen

Swatch service tiles

Swatch service tiles

Three-step panel

Three-step panel

Project panes

Project panes

App tiles

App tiles

Hairline feature grid

Hairline feature grid