Layout blueprint

Luminous prompt sheet

A luminous mobile prompt bottom sheet that rises over a dimmed dark portfolio with theme-specific radial lighting (violet Trading, amber Alerts, cyan Connect X), a spring-popped hero mascot, radially bursting satellite badges, and blur-to-sharp staggered typography.

Inspired by Akshit Verma (@AkshitVrma) on X ↗

Playground

Playhead 0ms / 680ms

Build it

Choose a target and adapt the source to your interface.

1166 lines
index.html
<div class="yps-stage">
  <div class="yps-phone">
    <div class="yps-status" aria-hidden="true">
      <span>9:41</span><span class="yps-island"></span
      ><span class="yps-status-icons"
        ><svg viewBox="0 0 16 11" aria-hidden="true">
          <rect x="0" y="7" width="2.4" height="4" rx=".8" />
          <rect x="4" y="5" width="2.4" height="6" rx=".8" />
          <rect x="8" y="3" width="2.4" height="8" rx=".8" />
          <rect x="12" y="1" width="2.4" height="10" rx=".8" /></svg
        ><svg viewBox="0 0 20 11" aria-hidden="true">
          <rect
            x="1"
            y="1.5"
            width="15"
            height="8"
            rx="2.2"
            fill="none"
            stroke="currentColor"
            stroke-width="1.3"
          />
          <rect x="3" y="3.5" width="10.5" height="4" rx="1" />
          <rect x="17.2" y="4" width="1.6" height="3" rx=".7" /></svg
      ></span>
    </div>
    <div class="yps-portfolio">
      <div class="yps-user">
        <span class="yps-user-badge" aria-hidden="true"></span
        ><span>Sapnap’s</span>
      </div>
      <div class="yps-balance-row">
        <div>
          <div class="yps-balance">$0.00</div>
          <div class="yps-gain">+$0.00 (0%) <span>24h</span></div>
        </div>
        <div class="yps-head-actions">
          <button
            class="yps-circle-btn yps-circle-add"
            type="button"
            aria-label="Open active prompt sheet"
          >
            +</button
          ><span class="yps-circle-btn yps-circle-more" aria-hidden="true"
            >•••</span
          >
        </div>
      </div>
      <div class="yps-tabs" aria-hidden="true">
        <span class="is-tab-active">Tokens</span><span>Perps</span
        ><span>Predict</span>
      </div>
      <div class="yps-list" aria-hidden="true">
        <div class="yps-row">
          <div class="yps-row-left">
            <span
              class="yps-coin"
              style="background: #e8f0d8; color: #2b3e1a"
              aria-hidden="true"
              >CA</span
            >
            <div>
              <div class="yps-sym">CATE</div>
              <div class="yps-mc">$65.34M MC</div>
            </div>
          </div>
          <div class="yps-row-right">
            <div class="yps-price">$0.00647</div>
            <div class="yps-delta is-up">▲ 45.23%</div>
          </div>
        </div>
        <div class="yps-row">
          <div class="yps-row-left">
            <span
              class="yps-coin"
              style="background: #22c55e; color: #052e16"
              aria-hidden="true"
              >PO</span
            >
            <div>
              <div class="yps-sym">PONS</div>
              <div class="yps-mc">$65.34M MC</div>
            </div>
          </div>
          <div class="yps-row-right">
            <div class="yps-price">$0.00647</div>
            <div class="yps-delta is-down">▼ 45.23%</div>
          </div>
        </div>
        <div class="yps-row">
          <div class="yps-row-left">
            <span
              class="yps-coin"
              style="background: #7c3aed; color: #f5f3ff"
              aria-hidden="true"
              >FI</span
            >
            <div>
              <div class="yps-sym">FINT</div>
              <div class="yps-mc">$72.85M MC</div>
            </div>
          </div>
          <div class="yps-row-right">
            <div class="yps-price">$0.00712</div>
            <div class="yps-delta is-up">▲ 50.10%</div>
          </div>
        </div>
        <div class="yps-row">
          <div class="yps-row-left">
            <span
              class="yps-coin"
              style="background: #2563eb; color: #eff6ff"
              aria-hidden="true"
              >TR</span
            >
            <div>
              <div class="yps-sym">TRAD</div>
              <div class="yps-mc">$80.12M MC</div>
            </div>
          </div>
          <div class="yps-row-right">
            <div class="yps-price">$0.00805</div>
            <div class="yps-delta is-down">▼ 53.76%</div>
          </div>
        </div>
        <div class="yps-row">
          <div class="yps-row-left">
            <span
              class="yps-coin"
              style="background: #ea580c; color: #fff7ed"
              aria-hidden="true"
              >FT</span
            >
            <div>
              <div class="yps-sym">FTR</div>
              <div class="yps-mc">$90.27M MC</div>
            </div>
          </div>
          <div class="yps-row-right">
            <div class="yps-price">$0.00924</div>
            <div class="yps-delta is-up">▲ 55.45%</div>
          </div>
        </div>
      </div>
    </div>
    <div class="yps-dock" aria-hidden="true">
      <span class="yps-dock-active"
        ><svg viewBox="0 0 16 16">
          <path d="M2.5 7.5 8 3l5.5 4.5v5.5h-4v-3.5h-3V13h-4Z" /></svg></span
      ><svg viewBox="0 0 16 16">
        <rect x="2.5" y="3.5" width="11" height="9" rx="2" />
        <path d="M5.5 7.5h5" /></svg
      ><svg viewBox="0 0 16 16">
        <path d="M4.5 6.5a3.5 3.5 0 0 0 7 0" />
        <circle cx="8" cy="11.5" r="1" /></svg
      ><svg viewBox="0 0 16 16"><circle cx="8" cy="8" r="5" /></svg
      ><svg viewBox="0 0 16 16">
        <circle cx="7.2" cy="7.2" r="4.2" />
        <path d="m10.5 10.5 3 3" />
      </svg>
    </div>
    <div class="yps-switcher" role="group" aria-label="Prompt sheet themes">
      <button
        class="yps-pill"
        type="button"
        data-sheet="trading"
        aria-pressed="true"
      >
        <span class="yps-pill-dot" aria-hidden="true"></span>Trading</button
      ><button
        class="yps-pill"
        type="button"
        data-sheet="notifications"
        aria-pressed="false"
      >
        <span class="yps-pill-dot" aria-hidden="true"></span>Alerts</button
      ><button
        class="yps-pill"
        type="button"
        data-sheet="connect-x"
        aria-pressed="false"
      >
        <span class="yps-pill-dot" aria-hidden="true"></span>Connect X
      </button>
    </div>
    <div class="yps-scrim" data-open="true" aria-hidden="true"></div>
    <section
      class="yps-sheet"
      role="dialog"
      aria-label="Turn on trading"
      data-theme="trading"
      data-open="true"
    >
      <div class="yps-aura" aria-hidden="true"></div>
      <div class="yps-grabber" aria-hidden="true"></div>
      <button class="yps-close" type="button" aria-label="Dismiss prompt sheet">
        <svg viewBox="0 0 12 12" aria-hidden="true">
          <path d="M2.5 2.5l7 7M9.5 2.5l-7 7" />
        </svg>
      </button>
      <div class="yps-visual" aria-hidden="true">
        <span class="yps-sat-1 yps-sat"
          ><svg viewBox="0 0 28 28" aria-hidden="true">
            <circle
              cx="14"
              cy="14"
              r="11"
              fill="#f97316"
              stroke="#fed7aa"
              stroke-opacity=".55"
              stroke-width="1.2"
            />
            <text
              x="14"
              y="18.2"
              text-anchor="middle"
              fill="#fff"
              font-size="12"
              font-weight="700"
              font-family="system-ui"
            >
              ₿
            </text>
          </svg></span
        ><span class="yps-sat-2 yps-sat"
          ><svg viewBox="0 0 28 28" aria-hidden="true">
            <circle
              cx="14"
              cy="14"
              r="9.5"
              fill="#1e1b4b"
              stroke="#67e8f9"
              stroke-opacity=".65"
              stroke-width="1.2"
            />
            <path
              d="M9.5 11.2h9l-1.6 1.8h-9zM9.5 15h9l-1.6 1.8h-9z"
              fill="#67e8f9"
            /></svg></span
        ><span class="yps-sat-3 yps-sat"
          ><svg viewBox="0 0 28 28" aria-hidden="true">
            <circle
              cx="14"
              cy="14"
              r="10"
              fill="#eab308"
              stroke="#fef9c3"
              stroke-opacity=".6"
              stroke-width="1.2"
            />
            <path
              d="M14 8.5 15.6 12.4 19.5 14 15.6 15.6 14 19.5 12.4 15.6 8.5 14 12.4 12.4Z"
              fill="#fff"
            /></svg></span
        ><span class="yps-sat-4 yps-sat"
          ><svg viewBox="0 0 28 28" aria-hidden="true">
            <circle
              cx="14"
              cy="14"
              r="9"
              fill="#7c3aed"
              stroke="#e9d5ff"
              stroke-opacity=".6"
              stroke-width="1.2"
            />
            <path d="M14 8.8 18.2 14 14 19.2 9.8 14Z" fill="#f5d0fe" /></svg
        ></span>
        <div class="yps-hero">
          <svg viewBox="0 0 96 96" aria-hidden="true">
            <defs>
              <radialGradient id="yps-ped-glow" cx="50%" cy="50%" r="50%">
                <stop offset="0%" stop-color="#c084fc" stop-opacity=".85" />
                <stop offset="55%" stop-color="#7c3aed" stop-opacity=".35" />
                <stop offset="100%" stop-color="#7c3aed" stop-opacity="0" />
              </radialGradient>
              <linearGradient id="yps-ped-top" x1="0" y1="0" x2="0" y2="1">
                <stop offset="0%" stop-color="#6d28d9" />
                <stop offset="100%" stop-color="#2e1065" />
              </linearGradient>
              <radialGradient id="yps-m-purple" cx="38%" cy="28%" r="72%">
                <stop offset="0%" stop-color="#e879f9" />
                <stop offset="42%" stop-color="#9333ea" />
                <stop offset="100%" stop-color="#4c1d95" />
              </radialGradient>
            </defs>
            <ellipse
              cx="48"
              cy="79"
              rx="34"
              ry="11"
              fill="url(#yps-ped-glow)"
            />
            <ellipse
              cx="48"
              cy="77"
              rx="23"
              ry="8.5"
              fill="#220b49"
              stroke="#a855f7"
              stroke-opacity=".55"
              stroke-width="1"
            />
            <ellipse
              cx="48"
              cy="74.5"
              rx="21"
              ry="7.2"
              fill="url(#yps-ped-top)"
              stroke="#e9d5ff"
              stroke-opacity=".45"
              stroke-width="1"
            />
            <path
              d="M48 70.5v4.2M42.8 72.2a6.4 3.4 0 1 0 10.4 0"
              fill="none"
              stroke="#f5d0fe"
              stroke-width="2"
              stroke-linecap="round"
            />
            <path
              d="M35 62c-1 5-1.5 9-1 11.5 1.8.8 5.2.8 6.8-.4.4-2.5.4-6.2.6-9.5M54.6 63.6c.2 3.3.2 7 .6 9.5 1.6 1.2 5 1.2 6.8.4.5-2.5 0-6.5-1-11.5"
              fill="#6b21a8"
            />
            <ellipse cx="37.2" cy="73.2" rx="4.4" ry="2.2" fill="#f8fafc" />
            <ellipse cx="58.8" cy="73.2" rx="4.4" ry="2.2" fill="#f8fafc" />
            <path
              d="M29 44c-5-3-7-8-5-11 2-2.5 6-.5 9 4"
              fill="url(#yps-m-purple)"
            />
            <path
              d="M67 45c4 1 7 4 6 7-1 2.4-4.5 2-8-1"
              fill="url(#yps-m-purple)"
            />
            <path
              d="M48 16c3 0 5.5 5 6.8 9.2 3.6-4.2 8.2-5 9.2-2.6 1 2.4-.5 7.4-2.4 10.4 4.2-1 7.6.6 7.4 3.6-.3 3.4-4 6.6-6.2 8.4 1.8 4.4 2.2 10.2-.4 14.5-2.8 4.6-8.4 6.8-14.4 6.8s-11.6-2.2-14.4-6.8c-2.6-4.3-2.2-10.1-.4-14.5-2.2-1.8-5.9-5-6.2-8.4-.2-3 3.2-4.6 7.4-3.6-1.9-3-3.4-8-2.4-10.4 1-2.4 5.6-1.6 9.2 2.6C42.5 21 45 16 48 16Z"
              fill="url(#yps-m-purple)"
            />
            <ellipse cx="42.5" cy="46.5" rx="4.4" ry="5.2" fill="#fff" />
            <ellipse cx="53.5" cy="46.5" rx="4.4" ry="5.2" fill="#fff" />
            <circle cx="43.5" cy="47.4" r="2.1" fill="#1e1038" />
            <circle cx="52.5" cy="47.4" r="2.1" fill="#1e1038" />
            <path
              d="M37.5 42.4l9.2 2.6M58.5 42.4l-9.2 2.6"
              stroke="#6b21a8"
              stroke-width="2.6"
              stroke-linecap="round"
            />
          </svg>
        </div>
      </div>
      <h2 class="yps-title">Turn on trading</h2>
      <p class="yps-sub">One tap, then every trade fills instantly</p>
      <button class="yps-cta" type="button">Turn on trading</button>
    </section>
  </div>
</div>

<script>
  const stage = document.querySelector('.yps-stage');
  const scrim = stage.querySelector('.yps-scrim');
  const sheet = stage.querySelector('.yps-sheet');
  const aura = stage.querySelector('.yps-aura');
  const hero = stage.querySelector('.yps-hero');
  const sats = [...stage.querySelectorAll('.yps-sat')];
  const titleEl = stage.querySelector('.yps-title');
  const subEl = stage.querySelector('.yps-sub');
  const ctaBtn = stage.querySelector('.yps-cta');
  const closeBtn = stage.querySelector('.yps-close');
  const addBtn = stage.querySelector('.yps-circle-add');
  const pills = [...stage.querySelectorAll('.yps-pill')];
  const reduced = matchMedia('(prefers-reduced-motion:reduce)');
  const sheets = {
    trading: {
      title: 'Turn on trading',
      sub: 'One tap, then every trade fills instantly',
      cta: 'Turn on trading',
      done: 'Trading enabled ✓',
      hero: '<svg viewBox="0 0 96 96" aria-hidden="true"><defs><radialGradient id="yps-ped-glow" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="#c084fc" stop-opacity=".85"/><stop offset="55%" stop-color="#7c3aed" stop-opacity=".35"/><stop offset="100%" stop-color="#7c3aed" stop-opacity="0"/></radialGradient><linearGradient id="yps-ped-top" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#6d28d9"/><stop offset="100%" stop-color="#2e1065"/></linearGradient><radialGradient id="yps-m-purple" cx="38%" cy="28%" r="72%"><stop offset="0%" stop-color="#e879f9"/><stop offset="42%" stop-color="#9333ea"/><stop offset="100%" stop-color="#4c1d95"/></radialGradient></defs><ellipse cx="48" cy="79" rx="34" ry="11" fill="url(#yps-ped-glow)"/><ellipse cx="48" cy="77" rx="23" ry="8.5" fill="#220b49" stroke="#a855f7" stroke-opacity=".55" stroke-width="1"/><ellipse cx="48" cy="74.5" rx="21" ry="7.2" fill="url(#yps-ped-top)" stroke="#e9d5ff" stroke-opacity=".45" stroke-width="1"/><path d="M48 70.5v4.2M42.8 72.2a6.4 3.4 0 1 0 10.4 0" fill="none" stroke="#f5d0fe" stroke-width="2" stroke-linecap="round"/><path d="M35 62c-1 5-1.5 9-1 11.5 1.8.8 5.2.8 6.8-.4.4-2.5.4-6.2.6-9.5M54.6 63.6c.2 3.3.2 7 .6 9.5 1.6 1.2 5 1.2 6.8.4.5-2.5 0-6.5-1-11.5" fill="#6b21a8"/><ellipse cx="37.2" cy="73.2" rx="4.4" ry="2.2" fill="#f8fafc"/><ellipse cx="58.8" cy="73.2" rx="4.4" ry="2.2" fill="#f8fafc"/><path d="M29 44c-5-3-7-8-5-11 2-2.5 6-.5 9 4" fill="url(#yps-m-purple)"/><path d="M67 45c4 1 7 4 6 7-1 2.4-4.5 2-8-1" fill="url(#yps-m-purple)"/><path d="M48 16c3 0 5.5 5 6.8 9.2 3.6-4.2 8.2-5 9.2-2.6 1 2.4-.5 7.4-2.4 10.4 4.2-1 7.6.6 7.4 3.6-.3 3.4-4 6.6-6.2 8.4 1.8 4.4 2.2 10.2-.4 14.5-2.8 4.6-8.4 6.8-14.4 6.8s-11.6-2.2-14.4-6.8c-2.6-4.3-2.2-10.1-.4-14.5-2.2-1.8-5.9-5-6.2-8.4-.2-3 3.2-4.6 7.4-3.6-1.9-3-3.4-8-2.4-10.4 1-2.4 5.6-1.6 9.2 2.6C42.5 21 45 16 48 16Z" fill="url(#yps-m-purple)"/><ellipse cx="42.5" cy="46.5" rx="4.4" ry="5.2" fill="#fff"/><ellipse cx="53.5" cy="46.5" rx="4.4" ry="5.2" fill="#fff"/><circle cx="43.5" cy="47.4" r="2.1" fill="#1e1038"/><circle cx="52.5" cy="47.4" r="2.1" fill="#1e1038"/><path d="M37.5 42.4l9.2 2.6M58.5 42.4l-9.2 2.6" stroke="#6b21a8" stroke-width="2.6" stroke-linecap="round"/></svg>',
      sats: [
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="11" fill="#f97316" stroke="#fed7aa" stroke-opacity=".55" stroke-width="1.2"/><text x="14" y="18.2" text-anchor="middle" fill="#fff" font-size="12" font-weight="700" font-family="system-ui">₿</text></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="9.5" fill="#1e1b4b" stroke="#67e8f9" stroke-opacity=".65" stroke-width="1.2"/><path d="M9.5 11.2h9l-1.6 1.8h-9zM9.5 15h9l-1.6 1.8h-9z" fill="#67e8f9"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="10" fill="#eab308" stroke="#fef9c3" stroke-opacity=".6" stroke-width="1.2"/><path d="M14 8.5 15.6 12.4 19.5 14 15.6 15.6 14 19.5 12.4 15.6 8.5 14 12.4 12.4Z" fill="#fff"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="9" fill="#7c3aed" stroke="#e9d5ff" stroke-opacity=".6" stroke-width="1.2"/><path d="M14 8.8 18.2 14 14 19.2 9.8 14Z" fill="#f5d0fe"/></svg>',
      ],
    },
    notifications: {
      title: 'Turn on notifications',
      sub: 'Know when orders fill and prices move',
      cta: 'Turn on notifications',
      done: 'Alerts enabled ✓',
      hero: '<svg viewBox="0 0 96 96" aria-hidden="true"><defs><linearGradient id="yps-nt-bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="#f59e0b"/><stop offset="52%" stop-color="#b45309"/><stop offset="100%" stop-color="#451a03"/></linearGradient><radialGradient id="yps-m-blue" cx="38%" cy="28%" r="72%"><stop offset="0%" stop-color="#bae6fd"/><stop offset="44%" stop-color="#38bdf8"/><stop offset="100%" stop-color="#1d4ed8"/></radialGradient></defs><rect x="14" y="14" width="68" height="68" rx="18" fill="url(#yps-nt-bg)" stroke="rgba(255,255,255,.32)" stroke-width="1.2"/><rect x="15" y="15" width="66" height="28" rx="17" fill="#fff" fill-opacity=".12"/><path d="M48 24c2.8 0 4.6 4.4 5.8 8 3-3.4 6.8-3.8 7.5-1.6.7 2.1-.6 6.2-2.2 8.8 3.3-.6 5.9.8 5.6 3.3-.3 2.7-3 5.2-4.8 6.8 1.5 3.6 1.8 8.6-.4 12.2-2.4 3.9-6.6 5.5-11.5 5.5s-9.1-1.6-11.5-5.5c-2.2-3.6-1.9-8.6-.4-12.2-1.8-1.6-4.5-4.1-4.8-6.8-.3-2.5 2.3-3.9 5.6-3.3-1.6-2.6-2.9-6.7-2.2-8.8.7-2.2 4.5-1.8 7.5 1.6 1.2-3.6 3-8 5.8-8Z" fill="url(#yps-m-blue)"/><ellipse cx="43.2" cy="49.5" rx="4" ry="4.8" fill="#fff"/><ellipse cx="52.8" cy="49.5" rx="4" ry="4.8" fill="#fff"/><circle cx="44" cy="50.4" r="2" fill="#0f172a"/><circle cx="52" cy="50.4" r="2" fill="#0f172a"/><path d="M38.8 45.6l8.2 2M57.2 45.6l-8.2 2" stroke="#1e40af" stroke-width="2.2" stroke-linecap="round"/><g transform="translate(56 49) rotate(14)"><path d="M8 2a5 5 0 0 1 5 5v4l2 2.5H1L3 11V7a5 5 0 0 1 5-5Z" fill="#fde047" stroke="#92400e" stroke-width="1.2"/><circle cx="8" cy="15" r="2" fill="#f59e0b"/></g></svg>',
      sats: [
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="10" fill="#22c55e" stroke="#bbf7d0" stroke-opacity=".6" stroke-width="1.2"/><path d="M14 9a3.5 3.5 0 0 1 3.5 3.5V15l1.3 1.5H9.2L10.5 15v-2.5A3.5 3.5 0 0 1 14 9Z" fill="#fff"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="9.5" fill="#8b5cf6" stroke="#ddd6fe" stroke-opacity=".6" stroke-width="1.2"/><path d="M10.5 14.5 13 17l4.8-5.5" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="10" fill="#f97316" stroke="#ffedd5" stroke-opacity=".6" stroke-width="1.2"/><path d="M14.5 8.5c2 2.4 3.5 4.2 3.5 6.5a4 4 0 0 1-8 0c0-1.5.7-2.9 1.8-4 .2 1.2.9 1.8 1.6 1.8.4-1.6.5-3.1 1.1-4.3Z" fill="#fff"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="9" fill="#10b981" stroke="#a7f3d0" stroke-opacity=".6" stroke-width="1.2"/><path d="M9.8 16.5 13 13.3l2 2 3.6-4" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>',
      ],
    },
    'connect-x': {
      title: 'Connect your X',
      sub: 'Bring your handle, photo, and friends',
      cta: '𝕏  Connect X',
      done: 'X connected ✓',
      hero: '<svg viewBox="0 0 96 96" aria-hidden="true"><defs><linearGradient id="yps-xt-bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="#38bdf8"/><stop offset="52%" stop-color="#0284c7"/><stop offset="100%" stop-color="#0c4a6e"/></linearGradient><radialGradient id="yps-m-gold" cx="38%" cy="28%" r="72%"><stop offset="0%" stop-color="#fef08a"/><stop offset="46%" stop-color="#facc15"/><stop offset="100%" stop-color="#d97706"/></radialGradient></defs><rect x="14" y="14" width="68" height="68" rx="18" fill="url(#yps-xt-bg)" stroke="rgba(255,255,255,.32)" stroke-width="1.2"/><rect x="15" y="15" width="66" height="28" rx="17" fill="#fff" fill-opacity=".14"/><path d="M48 24c2.8 0 4.6 4.4 5.8 8 3-3.4 6.8-3.8 7.5-1.6.7 2.1-.6 6.2-2.2 8.8 3.3-.6 5.9.8 5.6 3.3-.3 2.7-3 5.2-4.8 6.8 1.5 3.6 1.8 8.6-.4 12.2-2.4 3.9-6.6 5.5-11.5 5.5s-9.1-1.6-11.5-5.5c-2.2-3.6-1.9-8.6-.4-12.2-1.8-1.6-4.5-4.1-4.8-6.8-.3-2.5 2.3-3.9 5.6-3.3-1.6-2.6-2.9-6.7-2.2-8.8.7-2.2 4.5-1.8 7.5 1.6 1.2-3.6 3-8 5.8-8Z" fill="url(#yps-m-gold)"/><ellipse cx="43.2" cy="49.5" rx="4" ry="4.8" fill="#fff"/><ellipse cx="52.8" cy="49.5" rx="4" ry="4.8" fill="#fff"/><circle cx="44" cy="50.4" r="2" fill="#1c1917"/><circle cx="52" cy="50.4" r="2" fill="#1c1917"/><path d="M38.8 45.8l8.2 1.8M57.2 45.8l-8.2 1.8" stroke="#b45309" stroke-width="2.2" stroke-linecap="round"/><rect x="25" y="48" width="13" height="19" rx="3.2" transform="rotate(-10 31 57)" fill="#0f172a" stroke="#94a3b8" stroke-width="1"/><path d="M29 55l5.5 6M34.5 55L29 61" stroke="#fff" stroke-width="1.4" stroke-linecap="round"/></svg>',
      sats: [
        '<svg viewBox="0 0 28 28" aria-hidden="true"><path d="M5 5h4.2l5.2 7.2L20.4 5H23l-7.2 8.4L23.6 23h-4.2l-5.6-7.7L7.3 23H4.7l7.6-8.9Z" fill="#7dd3fc" fill-opacity=".28"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="8.5" fill="rgba(56,189,248,.22)" stroke="#7dd3fc" stroke-opacity=".55" stroke-width="1.1"/><text x="14" y="17.5" text-anchor="middle" fill="#e0f2fe" font-size="10.5" font-weight="600" font-family="system-ui">@</text></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><path d="M7 7h3.6l4 5.6L19.4 7h2.1l-5.6 6.6L22 21h-3.6l-4.4-6-5 6H6.9l6-7Z" fill="#bae6fd" fill-opacity=".24"/></svg>',
        '<svg viewBox="0 0 28 28" aria-hidden="true"><circle cx="14" cy="14" r="8.5" fill="#0284c7" stroke="#bae6fd" stroke-opacity=".65" stroke-width="1.1"/><path d="M10.5 14.3 12.8 16.6 17.6 11.6" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>',
      ],
    },
  };
  const orbits = [
    { tx: -72, ty: -26, rot: -10, startRot: -26, delay: 190 },
    { tx: -56, ty: 18, rot: 8, startRot: 24, delay: 230 },
    { tx: 68, ty: -22, rot: 12, startRot: 28, delay: 270 },
    { tx: 58, ty: 18, rot: -8, startRot: -22, delay: 310 },
  ];
  const easeOut = 'cubic-bezier(.22,1,.36,1)';
  let activeId = 'trading',
    isOpen = true,
    anims = [];
  function clearAnims() {
    anims.forEach((a) => a.cancel());
    anims = [];
  }
  function track(el, frames, opts) {
    const a = el.animate(frames, { fill: 'both', ...opts });
    anims.push(a);
    return a;
  }
  function applyTheme(id) {
    const cfg = sheets[id];
    activeId = id;
    sheet.dataset.theme = id;
    sheet.setAttribute('aria-label', cfg.title);
    hero.innerHTML = cfg.hero;
    sats.forEach((sat, i) => {
      sat.innerHTML = cfg.sats[i];
    });
    titleEl.textContent = cfg.title;
    subEl.textContent = cfg.sub;
    ctaBtn.textContent = cfg.cta;
    pills.forEach((p) =>
      p.setAttribute('aria-pressed', String(p.dataset.sheet === id)),
    );
  }
  function openSheet(id) {
    clearAnims();
    applyTheme(id);
    isOpen = true;
    scrim.dataset.open = 'true';
    sheet.dataset.open = 'true';
    sheet.inert = false;
    sheet.setAttribute('aria-hidden', 'false');
    if (reduced.matches) return;
    track(scrim, [{ opacity: 0 }, { opacity: 1 }], {
      duration: 300,
      easing: easeOut,
    });
    track(
      sheet,
      [{ transform: 'translateY(104%)' }, { transform: 'translateY(0)' }],
      { duration: 380, easing: easeOut },
    );
    track(
      aura,
      [
        { opacity: 0, transform: 'scale(.86)' },
        { opacity: 1, transform: 'scale(1)' },
      ],
      { duration: 380, delay: 60, easing: easeOut },
    );
    track(
      hero,
      [
        {
          offset: 0,
          opacity: 0,
          transform: 'translateY(16px) scale(.72)',
          filter: 'blur(8px)',
          easing: easeOut,
        },
        {
          offset: 0.72,
          opacity: 1,
          transform: 'translateY(-3px) scale(1.04)',
          filter: 'blur(0px)',
          easing: 'ease-out',
        },
        {
          offset: 1,
          opacity: 1,
          transform: 'translateY(0) scale(1)',
          filter: 'blur(0px)',
        },
      ],
      { duration: 380, delay: 120 },
    );
    sats.forEach((sat, i) => {
      const o = orbits[i];
      track(
        sat,
        [
          {
            offset: 0,
            opacity: 0,
            transform:
              'translate(0px,8px) scale(.32) rotate(' + o.startRot + 'deg)',
            filter: 'blur(5px)',
            easing: easeOut,
          },
          {
            offset: 0.74,
            opacity: 1,
            transform:
              'translate(' +
              (o.tx * 1.06).toFixed(1) +
              'px,' +
              (o.ty * 1.06).toFixed(1) +
              'px) scale(1.07) rotate(' +
              o.rot +
              'deg)',
            filter: 'blur(0px)',
            easing: 'ease-out',
          },
          {
            offset: 1,
            opacity: 1,
            transform:
              'translate(' +
              o.tx +
              'px,' +
              o.ty +
              'px) scale(1) rotate(' +
              o.rot +
              'deg)',
            filter: 'blur(0px)',
          },
        ],
        { duration: 360, delay: o.delay },
      );
    });
    track(
      titleEl,
      [
        { opacity: 0, transform: 'translateY(10px)', filter: 'blur(8px)' },
        { opacity: 1, transform: 'translateY(0)', filter: 'blur(0px)' },
      ],
      { duration: 280, delay: 240, easing: easeOut },
    );
    track(
      subEl,
      [
        { opacity: 0, transform: 'translateY(8px)', filter: 'blur(7px)' },
        { opacity: 1, transform: 'translateY(0)', filter: 'blur(0px)' },
      ],
      { duration: 280, delay: 320, easing: easeOut },
    );
    track(
      ctaBtn,
      [
        {
          opacity: 0,
          transform: 'translateY(12px) scale(.96)',
          filter: 'blur(6px)',
        },
        {
          opacity: 1,
          transform: 'translateY(0) scale(1)',
          filter: 'blur(0px)',
        },
      ],
      { duration: 280, delay: 400, easing: easeOut },
    );
  }
  function closeSheet() {
    if (!isOpen) return;
    clearAnims();
    isOpen = false;
    sheet.inert = true;
    sheet.setAttribute('aria-hidden', 'true');
    const activePill =
      pills.find((p) => p.dataset.sheet === activeId) || addBtn;
    activePill.focus({ preventScroll: true });
    if (reduced.matches) {
      scrim.dataset.open = 'false';
      sheet.dataset.open = 'false';
      return;
    }
    const exitSheet = track(
      sheet,
      [{ transform: 'translateY(0)' }, { transform: 'translateY(106%)' }],
      { duration: 280, easing: 'cubic-bezier(.4,0,1,1)' },
    );
    track(scrim, [{ opacity: 1 }, { opacity: 0 }], {
      duration: 240,
      easing: 'ease-out',
    });
    exitSheet.finished
      .then(() => {
        if (!isOpen) {
          scrim.dataset.open = 'false';
          sheet.dataset.open = 'false';
          clearAnims();
        }
      })
      .catch(() => {});
  }
  pills.forEach((p) =>
    p.addEventListener('click', () => openSheet(p.dataset.sheet)),
  );
  addBtn.addEventListener('click', () => openSheet(activeId));
  closeBtn.addEventListener('click', closeSheet);
  scrim.addEventListener('click', closeSheet);
  ctaBtn.addEventListener('click', () => {
    ctaBtn.textContent = sheets[activeId].done;
    if (!reduced.matches)
      ctaBtn.animate(
        [
          { transform: 'scale(.97)' },
          { transform: 'scale(1.02)' },
          { transform: 'scale(1)' },
        ],
        { duration: 240, easing: easeOut },
      );
  });
  stage.addEventListener('keydown', (event) => {
    if (event.key === 'Escape' && isOpen) {
      event.preventDefault();
      closeSheet();
    }
  });
</script>

<style>
  .yps-stage {
    position: relative;
    width: 360px;
    max-width: 100%;
    height: 440px;
    display: grid;
    place-items: center;
    padding: 10px;
    font:
      13px/1.35 -apple-system,
      BlinkMacSystemFont,
      'SF Pro Display',
      'SF Pro Text',
      system-ui,
      sans-serif;
    color: #f5f4f8;
    user-select: none;
    -webkit-user-select: none;
  }
  .yps-phone {
    position: relative;
    width: 326px;
    height: 416px;
    border-radius: 36px;
    background: #09080f;
    box-shadow:
      0 0 0 1.5px rgba(255, 255, 255, 0.15),
      0 0 0 3px rgba(0, 0, 0, 0.38),
      0 24px 54px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    isolation: isolate;
  }
  .yps-status {
    position: relative;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px 4px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
  }
  .yps-island {
    width: 68px;
    height: 17px;
    border-radius: 999px;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  .yps-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .yps-status-icons svg {
    width: 13px;
    height: 10px;
    fill: currentColor;
  }
  .yps-portfolio {
    position: relative;
    z-index: 1;
    padding: 4px 16px 56px;
  }
  .yps-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
  }
  .yps-user-badge {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(
      circle at 38% 32%,
      #fef08a,
      #f59e0b 68%,
      #b45309
    );
    display: grid;
    place-items: center;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.32);
  }
  .yps-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
  }
  .yps-balance {
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    color: #fff;
  }
  .yps-gain {
    margin-top: 2px;
    font-size: 9.5px;
    font-weight: 500;
    color: #4ade80;
    letter-spacing: -0.005em;
  }
  .yps-gain span {
    color: #767387;
  }
  .yps-head-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .yps-circle-btn {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition:
      transform 140ms ease,
      background-color 140ms ease;
  }
  .yps-circle-btn:active {
    transform: scale(0.94);
  }
  .yps-circle-add {
    background: #f8f8fb;
    color: #0b0a11;
  }
  .yps-circle-more {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    letter-spacing: 1px;
  }
  .yps-tabs {
    display: flex;
    gap: 14px;
    margin-top: 40px;
    font-size: 11px;
    font-weight: 500;
    color: #6e6a80;
  }
  .yps-tabs .is-tab-active {
    color: #fff;
  }
  .yps-list {
    margin-top: 10px;
    display: grid;
    gap: 10px;
  }
  .yps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .yps-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .yps-coin {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .yps-sym {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
  }
  .yps-mc {
    font-size: 8.5px;
    color: #6c697d;
  }
  .yps-row-right {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
  .yps-price {
    font-size: 10.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
  }
  .yps-delta {
    font-size: 8.5px;
    font-weight: 500;
  }
  .yps-delta.is-up {
    color: #4ade80;
  }
  .yps-delta.is-down {
    color: #f87171;
  }
  .yps-dock {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 2;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 19, 28, 0.88);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.46);
  }
  .yps-dock-active {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
  }
  .yps-dock svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .yps-switcher {
    position: absolute;
    top: 108px;
    left: 16px;
    right: 16px;
    z-index: 6;
    display: flex;
    gap: 6px;
  }
  .yps-pill {
    flex: 1;
    height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(18, 16, 28, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.72);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition:
      border-color 160ms ease,
      color 160ms ease,
      background-color 160ms ease;
  }
  .yps-pill:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
  }
  .yps-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    flex: none;
  }
  .yps-pill[data-sheet='trading'] .yps-pill-dot {
    background: #a855f7;
  }
  .yps-pill[data-sheet='notifications'] .yps-pill-dot {
    background: #f59e0b;
  }
  .yps-pill[data-sheet='connect-x'] .yps-pill-dot {
    background: #38bdf8;
  }
  .yps-pill[aria-pressed='true'] {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
  }
  .yps-pill:focus-visible,
  .yps-close:focus-visible,
  .yps-cta:focus-visible,
  .yps-circle-btn:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 2px;
  }
  .yps-scrim {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: linear-gradient(
      180deg,
      rgba(7, 6, 13, 0.24) 0%,
      rgba(7, 6, 13, 0.68) 46%,
      rgba(7, 6, 13, 0.84) 100%
    );
    cursor: pointer;
  }
  .yps-scrim[data-open='false'] {
    opacity: 0;
    pointer-events: none;
  }
  .yps-sheet {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 258px;
    z-index: 8;
    border-radius: 26px 26px 30px 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #12101a;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 -14px 36px rgba(0, 0, 0, 0.62);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px 14px;
    text-align: center;
    isolation: isolate;
  }
  .yps-sheet[data-open='false'] {
    transform: translateY(108%);
    pointer-events: none;
  }
  .yps-aura {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }
  .yps-sheet[data-theme='trading'] .yps-aura {
    background:
      radial-gradient(
        90% 66% at 50% 22%,
        rgba(168, 85, 247, 0.46) 0%,
        rgba(109, 40, 217, 0.22) 44%,
        transparent 76%
      ),
      radial-gradient(
        96% 62% at 50% 100%,
        rgba(124, 58, 237, 0.6) 0%,
        rgba(59, 7, 100, 0.24) 56%,
        transparent 84%
      );
  }
  .yps-sheet[data-theme='notifications'] .yps-aura {
    background:
      radial-gradient(
        96% 68% at 50% 10%,
        rgba(245, 158, 11, 0.56) 0%,
        rgba(180, 83, 9, 0.26) 44%,
        transparent 76%
      ),
      radial-gradient(
        86% 52% at 50% 100%,
        rgba(180, 83, 9, 0.32) 0%,
        rgba(69, 26, 3, 0.16) 56%,
        transparent 84%
      );
  }
  .yps-sheet[data-theme='connect-x'] .yps-aura {
    background:
      radial-gradient(
        96% 68% at 50% 10%,
        rgba(56, 189, 248, 0.52) 0%,
        rgba(2, 132, 199, 0.26) 44%,
        transparent 76%
      ),
      radial-gradient(
        86% 52% at 50% 100%,
        rgba(14, 165, 233, 0.34) 0%,
        rgba(8, 47, 73, 0.2) 56%,
        transparent 84%
      );
  }
  .yps-grabber {
    width: 28px;
    height: 3.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
    margin-bottom: 2px;
  }
  .yps-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: rgba(255, 255, 255, 0.78);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
      background-color 140ms ease,
      color 140ms ease;
  }
  .yps-close:hover {
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
  }
  .yps-close svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
  }
  .yps-visual {
    position: relative;
    width: 100%;
    height: 116px;
    display: grid;
    place-items: center;
    margin-top: 4px;
  }
  .yps-hero {
    position: relative;
    z-index: 2;
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
  }
  .yps-hero svg {
    width: 94px;
    height: 94px;
    overflow: visible;
  }
  .yps-sat {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    display: grid;
    place-items: center;
    z-index: 1;
    pointer-events: none;
  }
  .yps-sat svg {
    width: 28px;
    height: 28px;
    overflow: visible;
  }
  .yps-sat-1 {
    transform: translate(-72px, -26px) rotate(-10deg);
  }
  .yps-sat-2 {
    transform: translate(-56px, 18px) rotate(8deg);
  }
  .yps-sat-3 {
    transform: translate(68px, -22px) rotate(12deg);
  }
  .yps-sat-4 {
    transform: translate(58px, 18px) rotate(-8deg);
  }
  .yps-title {
    margin: 4px 0 0;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
  }
  .yps-sub {
    margin: 4px 0 0;
    font-size: 11px;
    color: rgba(232, 228, 245, 0.66);
    letter-spacing: -0.005em;
  }
  .yps-cta {
    margin-top: auto;
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #0b0a10;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
    cursor: pointer;
    transition:
      transform 140ms ease,
      background-color 140ms ease;
  }
  .yps-cta:hover {
    background: #f4f4f8;
  }
  .yps-cta:active {
    transform: scale(0.98);
  }
  @media (prefers-reduced-motion: reduce) {
    .yps-pill,
    .yps-close,
    .yps-cta,
    .yps-circle-btn {
      transition: none !important;
    }
  }
</style>

Animation breakdown

Frame phases, motion intent, implementation constraints and accessible alternatives.

680ms
01

Rest / Sheet rise (0–380ms): dark scrim dims the portfolio (0–300ms) as the rounded bottom sheet glides upward from 104% below with an inset top specular rim, followed by its radial ambient color aura blooming in (60–440ms). Hero pop (120–500ms): the center mascot emblem scales up from 0.72 and sharpens from 8px blur with a gentle 1.04 overshoot. Satellite burst (190–670ms): four orbiting tokens or badges fan radially outward from behind the hero on a 40ms stagger. Copy & CTA stagger (240–680ms): heading (240–520ms), subtitle (320–600ms), and full-width white pill CTA (400–680ms) rise sequentially while sharpening from soft blur into crisp focus. Dismiss (0–280ms): sheet drops cleanly off-screen as the scrim clears.

Motion intent

A luminous mobile prompt bottom sheet that rises over a dimmed dark portfolio with theme-specific radial lighting (violet Trading, amber Alerts, cyan Connect X), a spring-popped hero mascot, radially bursting satellite badges, and blur-to-sharp staggered typography.

380ms gives the bottom sheet enough weight to feel grounded while keeping the hero pop (120ms delay) and orbiting satellite burst (190–310ms delays) tightly linked to the arrival. 80ms steps between title, subtitle, and CTA create a calm top-to-bottom reading wave that finishes cleanly at 680ms.

A brisk ease-out curve (cubic-bezier(.22, 1, .36, 1)) decelerates the rising sheet and de-blurring copy smoothly, while a slight 1.04–1.07 midpoint scale peak gives the hero mascot and orbiting badges tactile buoyancy without rubbery bounce.

Motion specification

Trigger
Select Trading, Alerts, or Connect X above the sheet to launch each themed prompt sheet, or tap + to replay the active prompt. Click ×, tap the scrim, or press Escape to dismiss.
Timing
680ms
Easing
cubic-bezier(.22, 1, .36, 1)

Animated properties

transformopacityfilter

Implementation notes

  • Enter the sheet shell slightly ahead of its interior content so the radial ambient glow establishes the color mood before the hero emblem and copy sharpen into view.
  • Pair subtle upward translateY (8–12px) with filter: blur(6–8px) to blur(0) on the heading, subtitle, and primary pill CTA so each line feels like it resolves into optical focus.
  • Originate all four satellite badges from behind the center hero emblem and animate explicit radial translate coordinates so the burst stays crisp and deterministic across browsers.
  • Keep the dismissed sheet mounted with inert and pointer-events: none rather than display: none so timeline scrubbing and immediate re-entry stay layout-stable.

Reduced motion

Show or hide the sheet and swap themes immediately without slide, radial burst, or blur-to-sharp transitions.

  • Mark the prompt sheet with role="dialog" and an updated aria-label matching the active prompt title.
  • Keep the theme trigger pills labeled with aria-pressed and allow Escape, the close button, or the scrim to dismiss the sheet while returning focus to the active trigger.
  • Mark purely decorative mascot artwork, orbiting badges, and background portfolio rows with aria-hidden="true".

Avoid

  • Do not fire the hero, badges, title, subtitle, and CTA at the exact same timestamp—the staggered 40–80ms cadence is what makes the prompt sheet feel staged rather than abrupt.
  • Do not over-blur small body text above 8px or hold blur past 280ms, which can feel sluggish on repeated prompt dismissals.

Related blueprints

Browse all blueprints