kitbash Sign in Connect agent
Components

Dock teaser

A painted-landscape tile with a frosted dock of drawn app icons that magnify on hover, beside a heading, two lines and a grey pill.

Part of the style

Painted Sky Desktop

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #fff3ea;
  --ink-deep: #fffbf8;
  --ink-soft: #d9ab89;
  --ink-mute: #7e9cd9;
  --paper: #193d95;
  --paper-soft: #1d4197;
  --pill-grey: #4c6eb5;
  --glass: rgba(255, 230, 212, 0.33);
  --glass-light: rgba(25, 61, 149, 0.42);
  --on-glass: #193d95;
  --glass-hover: rgba(25, 61, 149, 0.14);
  --hairline: rgba(255, 251, 248, 0.1);
  --window-dark: #3c291b;
  --window-dark-ink: #204394;
  --sky: #836147;
  --sky-light: #816957;
  --dot-min: #60678e;
  --dot-zoom: #3e64b9;
  --dot-close: #836147;
  --alert: #86644b;
}
</style>

<section class="dock">
  <div class="dock__tile">
    <img class="dock__picture" src="assets/seine-sand.jpg" alt="A painted river with small boats under a pale blue sky" width="800" height="571" />
    <div class="dock__shelf" aria-hidden="true">
      <span class="dock__icon dock__icon--notes">
        <svg viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="var(--paper)" /><rect y="0" width="64" height="16" rx="14" fill="var(--dot-min)" /><rect y="8" width="64" height="8" fill="var(--dot-min)" /><path d="M14 28h36M14 37h36M14 46h24" stroke="var(--pill-grey)" stroke-width="2.5" stroke-linecap="round" /></svg>
      </span>
      <span class="dock__icon dock__icon--clock">
        <svg viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="var(--ink-deep)" /><circle cx="32" cy="32" r="21" fill="var(--paper)" /><path d="M32 17v15l9 7" stroke="var(--ink-deep)" stroke-width="3" stroke-linecap="round" fill="none" /><circle cx="32" cy="32" r="2.5" fill="var(--dot-close)" /></svg>
      </span>
      <span class="dock__icon dock__icon--app">
        <svg viewBox="0 0 64 64"><defs><linearGradient id="dock-sky" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="var(--sky-light)" /><stop offset="1" stop-color="var(--sky)" /></linearGradient></defs><rect width="64" height="64" rx="14" fill="url(#dock-sky)" /><path d="M12 41c6.5-7 13-7 19.5 0s13 7 21-2" fill="none" stroke="var(--paper)" stroke-width="5" stroke-linecap="round" /><circle cx="44" cy="20" r="6" fill="var(--paper)" /></svg>
      </span>
      <span class="dock__icon dock__icon--leaf">
        <svg viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="var(--dot-zoom)" /><path d="M18 46C18 28 30 18 48 16c0 20-10 30-28 30z" fill="var(--paper)" opacity="0.92" /><path d="M20 44 38 28" stroke="var(--dot-zoom)" stroke-width="2.5" stroke-linecap="round" /></svg>
      </span>
    </div>
  </div>
  <div class="dock__copy">
    <h2 class="dock__title">Coming soon to your dock</h2>
    <p class="dock__text">We are sanding the last rough edges. Lull will be ready to download before the leaves turn.</p>
    <span class="dock__pill" aria-disabled="true">Not yet</span>
  </div>
</section>

<style>
  .dock {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    max-width: calc(var(--cards-max) + 2 * var(--edge));
    margin: 0 auto;
    padding: var(--section-space) var(--edge);
  }
  .dock__tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-l);
    overflow: hidden;
    isolation: isolate;
  }
  .dock__picture {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--paint);
  }
  .dock__shelf {
    display: flex;
    align-items: flex-end;
    gap: clamp(8px, 1.6vw, 14px);
    padding: clamp(10px, 2vw, 16px) clamp(12px, 2.4vw, 20px);
    border: var(--rule) solid var(--glass-light);
    border-radius: calc(var(--radius-l) + 6px);
    background: var(--glass-light);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
  }
  .dock__icon {
    display: block;
    width: clamp(46px, 7vw, 64px);
    aspect-ratio: 1;
    border-radius: var(--radius-icon);
    box-shadow: var(--shadow-icon);
    transform-origin: 50% 100%;
    transition: transform var(--quick) var(--ease-out);
  }
  .dock__icon svg {
    width: 100%;
    height: 100%;
  }
  .dock__icon:hover {
    transform: translateY(-10px) scale(1.12);
  }
  .dock__icon:hover + .dock__icon,
  .dock__icon:has(+ .dock__icon:hover) {
    transform: translateY(-5px) scale(1.06);
  }
  .dock__icon--app {
    animation: dock-bounce 1.4s var(--ease-out) 600ms 2 both;
  }
  .dock__title {
    margin: 0 0 var(--space-m);
    color: var(--ink-deep);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: var(--track-tight);
  }
  .dock__text {
    max-width: 36ch;
    margin: 0 0 var(--space-l);
    color: var(--ink-soft);
    font-size: var(--text-m);
    line-height: 1.6;
  }
  .dock__pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: var(--pill-grey);
    color: var(--on-glass);
    font-size: var(--text-s);
    font-weight: 500;
    cursor: default;
  }

  @keyframes dock-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-14px); }
    60% { transform: translateY(0); }
  }

  @media (max-width: 640px) {
    .dock {
      grid-template-columns: 1fr;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .dock__icon--app { animation: none; }
  }
</style>

Similar components

Cut-out shape feature

Cut-out shape feature

Floating card feature

Floating card feature

Collection banner

Collection banner

Two-way choice

Two-way choice

Closing ask and footer

Closing ask and footer

Closing call and horizon

Closing call and horizon

Catchphrase and tickets

Catchphrase and tickets

Signup card

Signup card