kitbash Sign in Connect agent
Components

Statement with pills

A heavy four-line statement in off-white with a row of hairline discipline pills beneath it.

Part of the style

Lights-Out Pill Index

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #f15b29;
  --paper-raised: #ec5928;
  --tile: #e25627;
  --veil: rgba(241, 91, 41, 0.76);
  --ink: #1d0c0b;
  --ink-soft: rgba(33, 13, 13, 0.58);
  --line: rgba(33, 13, 13, 0.14);
  --line-strong: rgba(33, 13, 13, 0.32);
  --pill-fill: rgba(33, 13, 13, 0.1);
  --day-paper: #210d0d;
  --day-ink: #f15b29;
  --glow-a: #d15c4c;
  --glow-b: #a95a4e;
}
</style>

<section class="statement">
  <p class="statement__label">ABOUT / 00 / POSITION</p>
  <h2 class="statement__text">Plain on the surface. Careful underneath. Enough of a system to repeat itself. Enough slack to surprise.</h2>
  <ul class="statement__tags" aria-label="Disciplines">
    <li><a class="statement__tag" href="#">Identity</a></li>
    <li><a class="statement__tag" href="#">Art Direction</a></li>
    <li><a class="statement__tag" href="#">Interface</a></li>
    <li><a class="statement__tag" href="#">Type Systems</a></li>
    <li><a class="statement__tag" href="#">Motion</a></li>
  </ul>
</section>

<style>
  .statement {
    padding: var(--section-space) var(--edge);
  }
  .statement__label {
    margin: 0 0 var(--space-l);
    color: var(--ink-soft);
    font-size: var(--text-xs);
    line-height: 1;
    letter-spacing: var(--track-caps);
  }
  .statement__text {
    max-width: 18.5em;
    margin: 0 0 var(--space-l);
    font-family: var(--font-display);
    font-size: var(--display-l);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.012em;
  }
  .statement__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-s);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .statement__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 21px;
    color: var(--ink);
    font-size: var(--text-s);
    text-decoration: none;
  }
  .statement__tag::before {
    content: "";
    position: absolute;
    inset: calc((var(--tap) - var(--pill-h)) / 2) 0;
    z-index: -1;
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-pill);
    transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease);
  }
  .statement__tag:hover::before,
  .statement__tag:focus-visible::before {
    border-color: var(--line-strong);
    background-color: var(--pill-fill);
  }
  .statement__tag:focus-visible {
    outline: none;
  }
  .statement__tags li {
    position: relative;
    z-index: 0;
  }
</style>

Similar components

Letter and footer

Letter and footer

Red flood studio

Red flood studio

Serif statement and lists

Serif statement and lists

Italic-emphasis statement

Italic-emphasis statement

Condensed black statement

Condensed black statement

Wiped statement

Wiped statement

Project chapter

Project chapter

Studio statement

Studio statement