kitbash Sign in Connect agent
Components

Rates

Two rate models side by side as label pairs with dotted lists and a price line, then a list of black document links with fading underlines.

Part of the style

Faded Label Index

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #305932;
  --ink: #edf9ec;
  --ink-deep: #fefffe;
  --ink-faded: #648564;
  --tile: #eefaed;
  --tile-ink: #305932;
  --flood: #59725a;
}
</style>

<section class="pricing" aria-labelledby="pricing-title">
  <div class="pricing__intro">
    <p class="pricing__label">Rates</p>
    <h2 class="pricing__head" id="pricing-title">Two ways to pay</h2>
  </div>

  <div class="pricing__reading">
    <p class="pricing__text">Pieces are quoted after the first look, never before. Most owners choose a single repair; collections and institutions tend to keep us on a standing visit.</p>

    <div class="pricing__plans">
      <div class="pricing__plan">
        <p class="pricing__label">Rates</p>
        <h3 class="pricing__head">Single repair</h3>
        <p class="pricing__price">From $180 a piece</p>
        <ul class="pricing__dots">
          <li>Written diagnosis on the day</li>
          <li>Fixed quote before work starts</li>
          <li>Ten days on the test stand</li>
          <li>One year of free adjustments</li>
        </ul>
      </div>
      <div class="pricing__plan">
        <p class="pricing__label">Rates</p>
        <h3 class="pricing__head">Standing visit</h3>
        <p class="pricing__price">$95 an hour, booked monthly</p>
        <ul class="pricing__dots">
          <li>Winding and setting on site</li>
          <li>Seasonal change of the hour</li>
          <li>Small repairs on the spot</li>
          <li>A logbook kept for every clock</li>
        </ul>
      </div>
    </div>

    <p class="pricing__label">Rates</p>
    <h3 class="pricing__head">Bench Notes</h3>
    <p class="pricing__text">Short write-ups of the repairs that taught us something.</p>
    <ol class="pricing__notes">
      <li><a class="pricing__note" href="#">Bench Notes IV: the clock that ran backwards</a></li>
      <li><a class="pricing__note" href="#">Bench Notes III: a fusee chain, link by link</a></li>
      <li><a class="pricing__note" href="#">Bench Notes II: oil, and how little of it</a></li>
      <li><a class="pricing__note" href="#">Bench Notes I: why we never use a quartz insert</a></li>
    </ol>
  </div>
</section>

<style>
  .pricing {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-m) var(--gap);
    align-items: start;
    padding: var(--space-l) var(--edge) var(--section-space);
  }
  .pricing p,
  .pricing h2,
  .pricing h3,
  .pricing ul,
  .pricing ol {
    margin: 0;
    padding: 0;
    font: inherit;
    list-style: none;
  }
  .pricing__intro {
    grid-column: 2;
  }
  .pricing__reading {
    grid-column: 3 / 5;
    max-width: 40em;
  }
  .pricing__label,
  .pricing__text {
    color: var(--ink-faded);
  }
  .pricing__head,
  .pricing__price {
    color: var(--ink);
  }
  .pricing .pricing__head + .pricing__text,
  .pricing .pricing__text + .pricing__notes,
  .pricing .pricing__price + .pricing__dots {
    margin-top: var(--space-s);
  }
  .pricing__plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m) var(--gap);
    margin: var(--space-l) 0;
  }
  .pricing__dots li {
    position: relative;
    padding-left: var(--space-s);
    color: var(--ink-faded);
  }
  .pricing__dots li::before {
    content: "·";
    position: absolute;
    left: 0;
  }
  .pricing__note {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: var(--line);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--time) var(--ease-snap);
  }
  .pricing__note:hover,
  .pricing__note:focus-visible {
    text-decoration-color: var(--ink);
    outline: none;
  }

  @media (max-width: 1100px) {
    .pricing {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .pricing__intro {
      grid-column: 1;
    }
    .pricing__reading {
      grid-column: 2 / 4;
    }
  }

  @media (max-width: 760px) {
    .pricing {
      grid-template-columns: minmax(0, 1fr);
      padding-top: var(--space-m);
      font-size: var(--text-phone);
      line-height: var(--leading-phone);
    }
    .pricing__intro,
    .pricing__reading {
      grid-column: 1;
    }
  }

  @media (max-width: 480px) {
    .pricing__plans {
      grid-template-columns: minmax(0, 1fr);
    }
  }
</style>

Similar components

Pricing file

Pricing file

Price and date picker

Price and date picker

Three-step tiers

Three-step tiers

Three plans, middle one white

Three plans, middle one white

One plan pricing

One plan pricing

Two plans

Two plans

Colour temperature passes

Colour temperature passes

Formats and sample

Formats and sample