kitbash Sign in Connect agent
Components

Green ways to start

A deep green band: headline and portrait on the left, three ruled ways to start with tag chips, a field and buttons.

Part of the style

Swatch Tile Console

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #18291d;
  --paper: #fefefe;
  --mist: #f1f1f0;
  --graphite: #455349;
  --smoke: #616d64;
  --ink-soft: #878379;
  --ink-faint: #bebbb5;
  --line: #e2e1de;
  --line-on-field: rgba(254, 254, 254, 0.28);
  --scrim: rgba(24, 41, 29, 0.62);
  --scrim-soft: rgba(24, 41, 29, 0.22);
  --swatch-blue: #769a78;
  --swatch-violet: #769d78;
  --field: #6a9783;
  --field-deep: #5c8170;
  --swatch-lime: #769a78;
  --swatch-red: #6a9783;
}
</style>

<section class="start">
  <div class="start__side">
    <h2 class="start__title">Start however suits you.</h2>
    <figure class="start__person">
      <img class="start__portrait" src="assets/old-sailor.jpg" alt="Etched portrait of a bearded sailor with a pipe" width="160" height="160" />
      <figcaption class="start__caption">
        <span class="start__who">Aurelio Brandt, yard master</span>
        <span class="start__bio">He surveys every hull himself and writes most of the work lists, so you talk to the person holding the tools.</span>
      </figcaption>
    </figure>
  </div>

  <ol class="start__ways">
    <li class="start__way">
      <div class="start__head">
        <h3 class="start__name">Send your hull number</h3>
        <span class="start__chip">About 30 seconds</span>
      </div>
      <div class="start__body">
        <p class="start__text">What we would fix first, from the last survey.</p>
        <form class="start__form" action="#" onsubmit="return false">
          <label class="start__label" for="start-hull">Hull number</label>
          <input class="start__input" id="start-hull" type="text" placeholder="Paste your hull number" autocomplete="off" />
          <button class="start__button" type="submit">
            <span>Check my boat</span>
            <svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
          </button>
        </form>
        <p class="start__fine">Your hull number is only used to find the survey record. <a class="start__inline" href="#">Privacy</a></p>
      </div>
    </li>
    <li class="start__way">
      <div class="start__head">
        <h3 class="start__name">Walk the yard</h3>
        <span class="start__chip">Two clicks</span>
      </div>
      <div class="start__body">
        <p class="start__text">Twenty minutes on the slipway, then a short written list of what we would do first, whether or not we work together.</p>
        <a class="start__button start__button--solo" href="#">
          <span>Pick a time</span>
          <svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
        </a>
      </div>
    </li>
    <li class="start__way">
      <div class="start__head">
        <h3 class="start__name">Write one line</h3>
        <span class="start__chip">About a minute</span>
      </div>
      <div class="start__body">
        <p class="start__text">An answer from Aurelio within two working hours, Monday to Saturday, 7:00 to 17:00.</p>
      </div>
    </li>
  </ol>
</section>

<style>
  .start {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--space-xl) var(--space-l);
    padding: clamp(64px, 8vw, 120px) var(--edge);
    background: var(--field);
    color: var(--paper);
  }
  .start__title {
    max-width: 8em;
    margin: 0 0 var(--space-xl);
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 400;
    line-height: 1;
    letter-spacing: var(--track-display);
  }
  .start__person {
    margin: 0;
  }
  .start__portrait {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: 50% 35%;
    filter: grayscale(1) contrast(1.15);
  }
  .start__caption {
    display: grid;
    gap: var(--space-s);
    max-width: 22em;
    margin-top: var(--space-l);
  }
  .start__who {
    font-size: var(--text-s);
  }
  .start__bio {
    font-size: var(--text-m);
    line-height: 1.3;
  }

  .start__ways {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .start__way {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: var(--space-m) var(--space-l);
    padding: var(--space-xl) 0;
    border-bottom: var(--rule) solid var(--line-on-field);
  }
  .start__way:first-child {
    padding-top: 0;
  }
  .start__way:last-child {
    border-bottom: 0;
  }
  .start__name {
    margin: 0 0 var(--space-s);
    font-size: var(--text-l);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: var(--track-sub);
  }
  .start__chip {
    display: inline-block;
    padding: 3px var(--space-xs);
    border-radius: 2px;
    background: var(--field-deep);
    font-size: var(--text-xs);
  }
  .start__text {
    max-width: 30em;
    margin: 0 0 var(--space-m);
    font-size: var(--text-m);
    line-height: 1.32;
  }
  .start__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-s);
  }
  .start__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .start__input {
    min-width: 0;
    min-height: var(--control);
    padding: 0 14px;
    border: var(--rule) solid var(--line-on-field);
    border-radius: var(--radius);
    background: transparent;
    color: var(--paper);
    font: inherit;
    transition: border-color var(--quick) var(--ease);
  }
  .start__input::placeholder {
    color: var(--paper);
    opacity: 0.75;
  }
  .start__input:focus-visible {
    border-color: var(--paper);
    outline: 0;
  }
  .start__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    min-height: var(--control);
    padding: 0 15px;
    border: 0;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: var(--text-s);
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .start__button:hover,
  .start__button:focus-visible {
    background: var(--ink);
    color: var(--paper);
  }
  .start__fine {
    margin: var(--space-s) 0 0;
    font-size: var(--text-xs);
    opacity: 0.9;
  }
  .start__inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: -14px 0;
    color: inherit;
  }

  @media (max-width: 960px) {
    .start {
      grid-template-columns: 1fr;
    }
    .start__person {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: var(--space-m);
      align-items: start;
    }
    .start__portrait {
      width: 96px;
      height: 96px;
    }
    .start__caption {
      margin-top: 0;
    }
  }
  @media (max-width: 640px) {
    .start__way {
      grid-template-columns: 1fr;
    }
    .start__form {
      grid-template-columns: 1fr;
    }
  }
</style>

Similar components

Big call and footer

Big call and footer

Black closer

Black closer

Sticker follow line

Sticker follow line

Drifting wall call

Drifting wall call

Floating card feature

Floating card feature

Diagnosis ask

Diagnosis ask

Visit strip

Visit strip

Two-way choice

Two-way choice