탐색

v2.1.0
마케팅 블록

통계

몇 가지 수치로 주장을 뒷받침하는 블록입니다. 수치는 크게, 그 아래 설명은 차분하게 표시합니다.

통계 블록은 몇 가지 수치와 각 수치 아래의 짧은 설명으로 주장을 뒷받침합니다. 수치는 제목처럼 큰 글자와 기본 텍스트 색상으로 표시하고, 레이블은 덜 강조합니다. 수치는 네 개 정도가 적당합니다.

통계

<section class="container-inline px-lg py-4xl" aria-labelledby="stats-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">In numbers</p>      <h2 class="heading heading-2xl" id="stats-title">Quiet, at a very large scale.</h2>    </header>    <dl class="grid gap-xl m(0) grid-cols(2) grid-cols(4)@container(--4xl) pt-xl bt(1) bt-solid b-line-hair">      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Deployments a day</dt>        <dd class="m(0) heading heading-2xl">2.4M</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Median build</dt>        <dd class="m(0) heading heading-2xl">38 s</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Regions</dt>        <dd class="m(0) heading heading-2xl">14</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Uptime, last year</dt>        <dd class="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="stats-title">  <div className="flex flex-col gap-2xl max-w(1040) mx-auto">    <header className="flex flex-col gap-sm max-w(560)">      <p className="eyebrow">In numbers</p>      <h2 className="heading heading-2xl" id="stats-title">Quiet, at a very large scale.</h2>    </header>    <dl className="grid gap-xl m(0) grid-cols(2) grid-cols(4)@container(--4xl) pt-xl bt(1) bt-solid b-line-hair">      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Deployments a day</dt>        <dd className="m(0) heading heading-2xl">2.4M</dd>      </div>      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Median build</dt>        <dd className="m(0) heading heading-2xl">38 s</dd>      </div>      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Regions</dt>        <dd className="m(0) heading heading-2xl">14</dd>      </div>      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Uptime, last year</dt>        <dd className="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="stats-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">In numbers</p>      <h2 class="heading heading-2xl" id="stats-title">Quiet, at a very large scale.</h2>    </header>    <dl class="grid gap-xl m(0) grid-cols(2) grid-cols(4)@container(--4xl) pt-xl bt(1) bt-solid b-line-hair">      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Deployments a day</dt>        <dd class="m(0) heading heading-2xl">2.4M</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Median build</dt>        <dd class="m(0) heading heading-2xl">38 s</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Regions</dt>        <dd class="m(0) heading heading-2xl">14</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Uptime, last year</dt>        <dd class="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="stats-title">    <div class="flex flex-col gap-2xl max-w(1040) mx-auto">      <header class="flex flex-col gap-sm max-w(560)">        <p class="eyebrow">In numbers</p>        <h2 class="heading heading-2xl" id="stats-title">Quiet, at a very large scale.</h2>      </header>      <dl class="grid gap-xl m(0) grid-cols(2) grid-cols(4)@container(--4xl) pt-xl bt(1) bt-solid b-line-hair">        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Deployments a day</dt>          <dd class="m(0) heading heading-2xl">2.4M</dd>        </div>        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Median build</dt>          <dd class="m(0) heading heading-2xl">38 s</dd>        </div>        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Regions</dt>          <dd class="m(0) heading heading-2xl">14</dd>        </div>        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Uptime, last year</dt>          <dd class="m(0) heading heading-2xl">99.99%</dd>        </div>      </dl>    </div>  </section></template>

블록은 복사해서 사용하는 마크업입니다. 페이지의 텍스트 색상과 크기를 그대로 사용하며, 미리보기에서는 본문에 fg-text-body text-sm을 설정합니다. 각 블록은 크기 컨테이너이므로 자체 너비에 맞춰 배치가 바뀝니다.

#구성

  • 설명 목록. 각 레이블은 <dt>, 해당 수치는 <dd>로 작성합니다. 둘을 <div>로 묶어 <dl> 안에 두면 스크린 리더가 한 쌍으로 읽어 줍니다. 설명 목록의 구조에 맞게 소스에서는 레이블을 먼저 두고, 그룹에 flex-col-reverse를 적용해 화면에서는 수치를 레이블 위에 표시합니다. 어느 순서로 읽어도 자연스러우므로 화면에서 순서를 바꿔도 의미가 유지됩니다.
  • 수치에 제목의 글자 스타일을 적용합니다. <dd>에 heading heading-2xl을 적용하면 제목으로 마크업하지 않고도 제목의 글자 크기, 텍스트 색상, 좁은 자간을 사용할 수 있습니다.
  • 두 열에서 네 열로. grid-cols(2) grid-cols(4)@container(--4xl)를 적용하면 블록 너비가 56rem 이상일 때 한 행에 네 개를 배치합니다.
  • 행 위의 얇은 선인 bt(1) bt-solid b-line-hair는 수치와 그 위의 헤더를 시각적으로 연결합니다.

애플리케이션에서 수치 위에 레이블을 두고 옆에 변화량을 표시하려면 지표 컴포넌트를 사용하세요. 대시보드 레이아웃을 참고하세요.

#볼록한 표면에 배치

트레이 안에서 각 수치를 볼록한 표면에 담고 4px 간격으로 배치합니다.

볼록한 표면에 배치

<section class="container-inline px-lg py-4xl" aria-label="Atlas in numbers">  <dl class="tray grid gap(4) max-w(1040) mx-auto m(0) grid-cols(2) grid-cols(4)@container(--4xl)">    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Deployments a day</dt>      <dd class="m(0) heading heading-2xl">2.4M</dd>    </div>    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Median build</dt>      <dd class="m(0) heading heading-2xl">38 s</dd>    </div>    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Regions</dt>      <dd class="m(0) heading heading-2xl">14</dd>    </div>    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Uptime, last year</dt>      <dd class="m(0) heading heading-2xl">99.99%</dd>    </div>  </dl></section>
<section className="container-inline px-lg py-4xl" aria-label="Atlas in numbers">  <dl className="tray grid gap(4) max-w(1040) mx-auto m(0) grid-cols(2) grid-cols(4)@container(--4xl)">    <div className="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt className="fg-text-muted">Deployments a day</dt>      <dd className="m(0) heading heading-2xl">2.4M</dd>    </div>    <div className="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt className="fg-text-muted">Median build</dt>      <dd className="m(0) heading heading-2xl">38 s</dd>    </div>    <div className="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt className="fg-text-muted">Regions</dt>      <dd className="m(0) heading heading-2xl">14</dd>    </div>    <div className="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt className="fg-text-muted">Uptime, last year</dt>      <dd className="m(0) heading heading-2xl">99.99%</dd>    </div>  </dl></section>
<section class="container-inline px-lg py-4xl" aria-label="Atlas in numbers">  <dl class="tray grid gap(4) max-w(1040) mx-auto m(0) grid-cols(2) grid-cols(4)@container(--4xl)">    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Deployments a day</dt>      <dd class="m(0) heading heading-2xl">2.4M</dd>    </div>    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Median build</dt>      <dd class="m(0) heading heading-2xl">38 s</dd>    </div>    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Regions</dt>      <dd class="m(0) heading heading-2xl">14</dd>    </div>    <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">      <dt class="fg-text-muted">Uptime, last year</dt>      <dd class="m(0) heading heading-2xl">99.99%</dd>    </div>  </dl></section>
<template>  <section class="container-inline px-lg py-4xl" aria-label="Atlas in numbers">    <dl class="tray grid gap(4) max-w(1040) mx-auto m(0) grid-cols(2) grid-cols(4)@container(--4xl)">      <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">        <dt class="fg-text-muted">Deployments a day</dt>        <dd class="m(0) heading heading-2xl">2.4M</dd>      </div>      <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">        <dt class="fg-text-muted">Median build</dt>        <dd class="m(0) heading heading-2xl">38 s</dd>      </div>      <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">        <dt class="fg-text-muted">Regions</dt>        <dd class="m(0) heading heading-2xl">14</dd>      </div>      <div class="sheet sheet-raised flex flex-col-reverse gap-3xs p-lg">        <dt class="fg-text-muted">Uptime, last year</dt>        <dd class="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </section></template>

#주장 옆에 수치 배치

수치가 주장을 뒷받침한다면 주장 옆에 수치를 배치하세요. 블록 너비가 56rem 이상이면 한 열에는 설명을, 다른 열에는 수치를 2×2로 배치합니다.

주장 옆에 수치 배치

<section class="container-inline px-lg py-4xl" aria-labelledby="stats-split-title">  <div class="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--4xl)">    <header class="flex flex-col gap-sm">      <p class="eyebrow">Reliability</p>      <h2 class="heading heading-2xl" id="stats-split-title">        We publish the numbers we are held to.      </h2>      <p class="lead">        Measured from outside our network, every minute, and posted on a public status page.      </p>      <a class="link self-start mt-xs" href="#">See the status page</a>    </header>    <dl class="grid gap-xl row-gap-2xl grid-cols(2) m(0)">      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Deployments a day</dt>        <dd class="m(0) heading heading-2xl">2.4M</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Median build</dt>        <dd class="m(0) heading heading-2xl">38 s</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Regions</dt>        <dd class="m(0) heading heading-2xl">14</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Uptime, last year</dt>        <dd class="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="stats-split-title">  <div className="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--4xl)">    <header className="flex flex-col gap-sm">      <p className="eyebrow">Reliability</p>      <h2 className="heading heading-2xl" id="stats-split-title">        We publish the numbers we are held to.      </h2>      <p className="lead">        Measured from outside our network, every minute, and posted on a public status page.      </p>      <a className="link self-start mt-xs" href="#">See the status page</a>    </header>    <dl className="grid gap-xl row-gap-2xl grid-cols(2) m(0)">      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Deployments a day</dt>        <dd className="m(0) heading heading-2xl">2.4M</dd>      </div>      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Median build</dt>        <dd className="m(0) heading heading-2xl">38 s</dd>      </div>      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Regions</dt>        <dd className="m(0) heading heading-2xl">14</dd>      </div>      <div className="flex flex-col-reverse gap-3xs">        <dt className="fg-text-muted">Uptime, last year</dt>        <dd className="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="stats-split-title">  <div class="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--4xl)">    <header class="flex flex-col gap-sm">      <p class="eyebrow">Reliability</p>      <h2 class="heading heading-2xl" id="stats-split-title">        We publish the numbers we are held to.      </h2>      <p class="lead">        Measured from outside our network, every minute, and posted on a public status page.      </p>      <a class="link self-start mt-xs" href="#">See the status page</a>    </header>    <dl class="grid gap-xl row-gap-2xl grid-cols(2) m(0)">      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Deployments a day</dt>        <dd class="m(0) heading heading-2xl">2.4M</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Median build</dt>        <dd class="m(0) heading heading-2xl">38 s</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Regions</dt>        <dd class="m(0) heading heading-2xl">14</dd>      </div>      <div class="flex flex-col-reverse gap-3xs">        <dt class="fg-text-muted">Uptime, last year</dt>        <dd class="m(0) heading heading-2xl">99.99%</dd>      </div>    </dl>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="stats-split-title">    <div class="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--4xl)">      <header class="flex flex-col gap-sm">        <p class="eyebrow">Reliability</p>        <h2 class="heading heading-2xl" id="stats-split-title">          We publish the numbers we are held to.        </h2>        <p class="lead">          Measured from outside our network, every minute, and posted on a public status page.        </p>        <a class="link self-start mt-xs" href="#">See the status page</a>      </header>      <dl class="grid gap-xl row-gap-2xl grid-cols(2) m(0)">        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Deployments a day</dt>          <dd class="m(0) heading heading-2xl">2.4M</dd>        </div>        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Median build</dt>          <dd class="m(0) heading heading-2xl">38 s</dd>        </div>        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Regions</dt>          <dd class="m(0) heading heading-2xl">14</dd>        </div>        <div class="flex flex-col-reverse gap-3xs">          <dt class="fg-text-muted">Uptime, last year</dt>          <dd class="m(0) heading heading-2xl">99.99%</dd>        </div>      </dl>    </div>  </section></template>

#접근성

  • 레이블 없이도 수치를 이해할 수 있도록 ‘38 s’, ‘99.99%’처럼 수치에 단위를 포함하세요.
  • 시간에 따라 달라지는 수치에는 가까운 곳에 기준 날짜를 표시하세요.
  • 수치가 점차 올라가는 애니메이션을 사용하지 마세요. 사용자가 수치를 확인하기까지 기다려야 하고, 움직임 자체가 전달하는 정보도 없습니다.