탐색

v2.1.0
마케팅 블록

요금제

요금제를 나란히 놓고 가격, 대상, 포함 항목을 보여 주며 추천 요금제 하나를 강조합니다.

요금제 블록은 여러 요금제를 나란히 배치합니다. 각 요금제에는 이름, 가격, 이용 대상, 버튼 하나, 포함 항목이 들어갑니다. 추천 요금제 하나만 눈에 띄게 표시합니다.

요금제

<section class="container-inline px-lg py-4xl" aria-labelledby="pricing-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col items-center gap-sm text-center">      <p class="eyebrow">Pricing</p>      <h2 class="heading heading-2xl" id="pricing-title">Free to start. Fair when you grow.</h2>      <p class="lead max-w(480)">        Every plan deploys the same way. You pay for the team, not for the traffic.      </p>    </header>    <div class="grid gap-md items-start grid-cols(3)@container(--4xl)">      <article class="sheet sheet-raised flex flex-col gap-lg p-lg">        <header class="flex flex-col gap-xs">          <div class="flex items-center justify-between gap-sm">            <h3 class="heading heading-sm">Hobby</h3>          </div>          <p class="price">            <span class="price-currency">$</span><span class="price-amount">0</span><span class="price-period">forever</span>          </p>          <p class="m(0) leading-md">For side projects and trying things out.</p>        </header>        <a class="btn" href="#">Start for free</a>        <ul class="bullets bullets-check">          <li class="bullets-item">One project</li>          <li class="bullets-item">Previews for every branch</li>          <li class="bullets-item">Community support</li>        </ul>      </article>      <article class="sheet flex flex-col gap-lg p-lg">        <header class="flex flex-col gap-xs">          <div class="flex items-center justify-between gap-sm">            <h3 class="heading heading-sm">Pro</h3>            <span class="badge badge-ink badge-pill">Most popular</span>          </div>          <p class="price">            <span class="price-currency">$</span><span class="price-amount">20</span><span class="price-period">per member, monthly</span>          </p>          <p class="m(0) leading-md">For teams that ship to real visitors.</p>        </header>        <a class="btn btn-brand" href="#">Start a trial</a>        <ul class="bullets bullets-check">          <li class="bullets-item">Unlimited projects</li>          <li class="bullets-item">Fourteen regions</li>          <li class="bullets-item">Analytics and firewall</li>          <li class="bullets-item">Email support, next day</li>        </ul>      </article>      <article class="sheet sheet-raised flex flex-col gap-lg p-lg">        <header class="flex flex-col gap-xs">          <div class="flex items-center justify-between gap-sm">            <h3 class="heading heading-sm">Enterprise</h3>          </div>          <p class="price"><span class="price-amount">Custom</span></p>          <p class="m(0) leading-md">For organizations with their own rules.</p>        </header>        <a class="btn" href="#">Talk to sales</a>        <ul class="bullets bullets-check">          <li class="bullets-item">Single sign-on and audit log</li>          <li class="bullets-item">A 99.99% uptime agreement</li>          <li class="bullets-item">A named engineer</li>          <li class="bullets-item">Invoices and purchase orders</li>        </ul>      </article>    </div>    <p class="m(0) text-center text-xs fg-text-muted">      Prices are in US dollars and exclude tax. Cancel any time.    </p>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="pricing-title">  <div className="flex flex-col gap-2xl max-w(1040) mx-auto">    <header className="flex flex-col items-center gap-sm text-center">      <p className="eyebrow">Pricing</p>      <h2 className="heading heading-2xl" id="pricing-title">Free to start. Fair when you grow.</h2>      <p className="lead max-w(480)">        Every plan deploys the same way. You pay for the team, not for the traffic.      </p>    </header>    <div className="grid gap-md items-start grid-cols(3)@container(--4xl)">      <article className="sheet sheet-raised flex flex-col gap-lg p-lg">        <header className="flex flex-col gap-xs">          <div className="flex items-center justify-between gap-sm">            <h3 className="heading heading-sm">Hobby</h3>          </div>          <p className="price">            <span className="price-currency">$</span><span className="price-amount">0</span><span className="price-period">forever</span>          </p>          <p className="m(0) leading-md">For side projects and trying things out.</p>        </header>        <a className="btn" href="#">Start for free</a>        <ul className="bullets bullets-check">          <li className="bullets-item">One project</li>          <li className="bullets-item">Previews for every branch</li>          <li className="bullets-item">Community support</li>        </ul>      </article>      <article className="sheet flex flex-col gap-lg p-lg">        <header className="flex flex-col gap-xs">          <div className="flex items-center justify-between gap-sm">            <h3 className="heading heading-sm">Pro</h3>            <span className="badge badge-ink badge-pill">Most popular</span>          </div>          <p className="price">            <span className="price-currency">$</span><span className="price-amount">20</span><span className="price-period">per member, monthly</span>          </p>          <p className="m(0) leading-md">For teams that ship to real visitors.</p>        </header>        <a className="btn btn-brand" href="#">Start a trial</a>        <ul className="bullets bullets-check">          <li className="bullets-item">Unlimited projects</li>          <li className="bullets-item">Fourteen regions</li>          <li className="bullets-item">Analytics and firewall</li>          <li className="bullets-item">Email support, next day</li>        </ul>      </article>      <article className="sheet sheet-raised flex flex-col gap-lg p-lg">        <header className="flex flex-col gap-xs">          <div className="flex items-center justify-between gap-sm">            <h3 className="heading heading-sm">Enterprise</h3>          </div>          <p className="price"><span className="price-amount">Custom</span></p>          <p className="m(0) leading-md">For organizations with their own rules.</p>        </header>        <a className="btn" href="#">Talk to sales</a>        <ul className="bullets bullets-check">          <li className="bullets-item">Single sign-on and audit log</li>          <li className="bullets-item">A 99.99% uptime agreement</li>          <li className="bullets-item">A named engineer</li>          <li className="bullets-item">Invoices and purchase orders</li>        </ul>      </article>    </div>    <p className="m(0) text-center text-xs fg-text-muted">      Prices are in US dollars and exclude tax. Cancel any time.    </p>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="pricing-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col items-center gap-sm text-center">      <p class="eyebrow">Pricing</p>      <h2 class="heading heading-2xl" id="pricing-title">Free to start. Fair when you grow.</h2>      <p class="lead max-w(480)">        Every plan deploys the same way. You pay for the team, not for the traffic.      </p>    </header>    <div class="grid gap-md items-start grid-cols(3)@container(--4xl)">      <article class="sheet sheet-raised flex flex-col gap-lg p-lg">        <header class="flex flex-col gap-xs">          <div class="flex items-center justify-between gap-sm">            <h3 class="heading heading-sm">Hobby</h3>          </div>          <p class="price">            <span class="price-currency">$</span><span class="price-amount">0</span><span class="price-period">forever</span>          </p>          <p class="m(0) leading-md">For side projects and trying things out.</p>        </header>        <a class="btn" href="#">Start for free</a>        <ul class="bullets bullets-check">          <li class="bullets-item">One project</li>          <li class="bullets-item">Previews for every branch</li>          <li class="bullets-item">Community support</li>        </ul>      </article>      <article class="sheet flex flex-col gap-lg p-lg">        <header class="flex flex-col gap-xs">          <div class="flex items-center justify-between gap-sm">            <h3 class="heading heading-sm">Pro</h3>            <span class="badge badge-ink badge-pill">Most popular</span>          </div>          <p class="price">            <span class="price-currency">$</span><span class="price-amount">20</span><span class="price-period">per member, monthly</span>          </p>          <p class="m(0) leading-md">For teams that ship to real visitors.</p>        </header>        <a class="btn btn-brand" href="#">Start a trial</a>        <ul class="bullets bullets-check">          <li class="bullets-item">Unlimited projects</li>          <li class="bullets-item">Fourteen regions</li>          <li class="bullets-item">Analytics and firewall</li>          <li class="bullets-item">Email support, next day</li>        </ul>      </article>      <article class="sheet sheet-raised flex flex-col gap-lg p-lg">        <header class="flex flex-col gap-xs">          <div class="flex items-center justify-between gap-sm">            <h3 class="heading heading-sm">Enterprise</h3>          </div>          <p class="price"><span class="price-amount">Custom</span></p>          <p class="m(0) leading-md">For organizations with their own rules.</p>        </header>        <a class="btn" href="#">Talk to sales</a>        <ul class="bullets bullets-check">          <li class="bullets-item">Single sign-on and audit log</li>          <li class="bullets-item">A 99.99% uptime agreement</li>          <li class="bullets-item">A named engineer</li>          <li class="bullets-item">Invoices and purchase orders</li>        </ul>      </article>    </div>    <p class="m(0) text-center text-xs fg-text-muted">      Prices are in US dollars and exclude tax. Cancel any time.    </p>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="pricing-title">    <div class="flex flex-col gap-2xl max-w(1040) mx-auto">      <header class="flex flex-col items-center gap-sm text-center">        <p class="eyebrow">Pricing</p>        <h2 class="heading heading-2xl" id="pricing-title">Free to start. Fair when you grow.</h2>        <p class="lead max-w(480)">          Every plan deploys the same way. You pay for the team, not for the traffic.        </p>      </header>      <div class="grid gap-md items-start grid-cols(3)@container(--4xl)">        <article class="sheet sheet-raised flex flex-col gap-lg p-lg">          <header class="flex flex-col gap-xs">            <div class="flex items-center justify-between gap-sm">              <h3 class="heading heading-sm">Hobby</h3>            </div>            <p class="price">              <span class="price-currency">$</span><span class="price-amount">0</span><span class="price-period">forever</span>            </p>            <p class="m(0) leading-md">For side projects and trying things out.</p>          </header>          <a class="btn" href="#">Start for free</a>          <ul class="bullets bullets-check">            <li class="bullets-item">One project</li>            <li class="bullets-item">Previews for every branch</li>            <li class="bullets-item">Community support</li>          </ul>        </article>        <article class="sheet flex flex-col gap-lg p-lg">          <header class="flex flex-col gap-xs">            <div class="flex items-center justify-between gap-sm">              <h3 class="heading heading-sm">Pro</h3>              <span class="badge badge-ink badge-pill">Most popular</span>            </div>            <p class="price">              <span class="price-currency">$</span><span class="price-amount">20</span><span class="price-period">per member, monthly</span>            </p>            <p class="m(0) leading-md">For teams that ship to real visitors.</p>          </header>          <a class="btn btn-brand" href="#">Start a trial</a>          <ul class="bullets bullets-check">            <li class="bullets-item">Unlimited projects</li>            <li class="bullets-item">Fourteen regions</li>            <li class="bullets-item">Analytics and firewall</li>            <li class="bullets-item">Email support, next day</li>          </ul>        </article>        <article class="sheet sheet-raised flex flex-col gap-lg p-lg">          <header class="flex flex-col gap-xs">            <div class="flex items-center justify-between gap-sm">              <h3 class="heading heading-sm">Enterprise</h3>            </div>            <p class="price"><span class="price-amount">Custom</span></p>            <p class="m(0) leading-md">For organizations with their own rules.</p>          </header>          <a class="btn" href="#">Talk to sales</a>          <ul class="bullets bullets-check">            <li class="bullets-item">Single sign-on and audit log</li>            <li class="bullets-item">A 99.99% uptime agreement</li>            <li class="bullets-item">A named engineer</li>            <li class="bullets-item">Invoices and purchase orders</li>          </ul>        </article>      </div>      <p class="m(0) text-center text-xs fg-text-muted">        Prices are in US dollars and exclude tax. Cancel any time.      </p>    </div>  </section></template>

블록은 복사해서 쓰는 마크업입니다. 텍스트 색상과 크기는 페이지의 설정을 따르며, 미리보기에서는 body에 fg-text-body text-sm을 설정합니다. 각 블록은 크기 컨테이너이므로 자체 너비에 따라 배치가 달라집니다.

#구성

  • 그리드에 배치한 시트 세 개. 블록 너비가 56rem 미만이면 한 열로 배치하고, 56rem 이상이면 grid-cols(3)@container(--4xl)을 적용합니다. items-start 클래스를 적용하면 각 요금제의 높이가 해당 목록의 길이에 맞춰집니다.
  • 추천 요금제는 표면을 띄워 강조합니다. sheet-raised가 적용된 요금제 사이에 기본 입체감 설정을 사용하는 sheet를 배치하고, badge-ink 배지와 페이지에서 유일하게 색이 들어간 btn-brand 버튼을 넣습니다. 표면의 입체감, 배지 문구, 색이 들어간 버튼 하나로 은은하게 강조하며 테두리에는 별도의 강조색을 쓰지 않습니다.
  • 가격은 가격 컴포넌트로 표시합니다. 숫자는 크게 쓰고, 통화 기호는 작게 표시해 숫자 상단에 맞춥니다. 결제 주기는 숫자 옆에 같은 기준선으로 맞추고 옅은 글자색으로 표시합니다.
  • 버튼은 목록 앞에 배치합니다. 이미 요금제를 선택한 방문자가 기능 목록을 지나지 않고 바로 버튼을 누를 수 있습니다.
  • 포함 항목은 bullets-check 클래스를 적용한 글머리 목록으로 표시합니다. 각 줄 앞의 체크 표시는 글자색을 쓰는 장식이며, 표시 없이도 내용을 이해할 수 있습니다.

요금제는 가격이 낮은 순으로 배치합니다. 거의 모든 이용자에게 적합한 요금제가 있다면 네 번째 요금제를 추가하는 대신 해당 요금제의 설명에 그 점을 적습니다.

#요금제 비교

요금제 카드 아래의 표에서는 카드만으로 확인하기 어려운 내용을 비교할 수 있습니다. 행은 기능별로, 열은 요금제별로 구성합니다. 화면이 좁으면 시트 안의 스크롤 영역에서 표를 가로로 스크롤할 수 있습니다. 열이 더 이어지는 쪽 가장자리는 흐리게 표시합니다.

요금제 비교

<section class="container-inline px-lg py-4xl" aria-labelledby="pricing-compare-title">  <div class="flex flex-col gap-xl max-w(880) mx-auto">    <h2 class="heading heading-xl" id="pricing-compare-title">Compare the plans</h2>    <div class="sheet overflow-hidden">      <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="pricing-compare-title">        <table class="table">          <thead>            <tr class="table-row">              <th class="table-heading" scope="col"><span class="sr-only">Feature</span></th>              <th class="table-heading" scope="col">Hobby</th>              <th class="table-heading" scope="col">Pro</th>              <th class="table-heading" scope="col">Enterprise</th>            </tr>          </thead>          <tbody>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Projects</th>              <td class="table-cell">1</td>              <td class="table-cell">Unlimited</td>              <td class="table-cell">Unlimited</td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Regions</th>              <td class="table-cell">1</td>              <td class="table-cell">14</td>              <td class="table-cell">14</td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Build minutes</th>              <td class="table-cell">100 a month</td>              <td class="table-cell">400 per member</td>              <td class="table-cell">Custom</td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Analytics</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">                <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                  <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" />                </svg><span class="sr-only">Included</span>              </td>              <td class="table-cell">                <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                  <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" />                </svg><span class="sr-only">Included</span>              </td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Firewall rules</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">                <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                  <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" />                </svg><span class="sr-only">Included</span>              </td>              <td class="table-cell">                <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                  <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" />                </svg><span class="sr-only">Included</span>              </td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Single sign-on</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">                <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                  <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" />                </svg><span class="sr-only">Included</span>              </td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Uptime agreement</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">99.99%</td>            </tr>          </tbody>        </table>      </div>    </div>  </div></section>
import CheckIcon from '@master/icons-react/native/16/soft/check'<section className="container-inline px-lg py-4xl" aria-labelledby="pricing-compare-title">  <div className="flex flex-col gap-xl max-w(880) mx-auto">    <h2 className="heading heading-xl" id="pricing-compare-title">Compare the plans</h2>    <div className="sheet overflow-hidden">      <div className="scroll-area scroll-area-inline" tabIndex={0} role="region" aria-labelledby="pricing-compare-title">        <table className="table">          <thead>            <tr className="table-row">              <th className="table-heading" scope="col">                <span className="sr-only">Feature</span>              </th>              <th className="table-heading" scope="col">Hobby</th>              <th className="table-heading" scope="col">Pro</th>              <th className="table-heading" scope="col">Enterprise</th>            </tr>          </thead>          <tbody>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Projects</th>              <td className="table-cell">1</td>              <td className="table-cell">Unlimited</td>              <td className="table-cell">Unlimited</td>            </tr>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Regions</th>              <td className="table-cell">1</td>              <td className="table-cell">14</td>              <td className="table-cell">14</td>            </tr>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Build minutes</th>              <td className="table-cell">100 a month</td>              <td className="table-cell">400 per member</td>              <td className="table-cell">Custom</td>            </tr>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Analytics</th>              <td className="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span className="sr-only">Not included</span>              </td>              <td className="table-cell">                <CheckIcon className="icon" /><span className="sr-only">Included</span>              </td>              <td className="table-cell">                <CheckIcon className="icon" /><span className="sr-only">Included</span>              </td>            </tr>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Firewall rules</th>              <td className="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span className="sr-only">Not included</span>              </td>              <td className="table-cell">                <CheckIcon className="icon" /><span className="sr-only">Included</span>              </td>              <td className="table-cell">                <CheckIcon className="icon" /><span className="sr-only">Included</span>              </td>            </tr>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Single sign-on</th>              <td className="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span className="sr-only">Not included</span>              </td>              <td className="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span className="sr-only">Not included</span>              </td>              <td className="table-cell">                <CheckIcon className="icon" /><span className="sr-only">Included</span>              </td>            </tr>            <tr className="table-row">              <th className="table-cell table-primary" scope="row">Uptime agreement</th>              <td className="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span className="sr-only">Not included</span>              </td>              <td className="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span className="sr-only">Not included</span>              </td>              <td className="table-cell">99.99%</td>            </tr>          </tbody>        </table>      </div>    </div>  </div></section>
<script>  import CheckIcon from '@master/icons-svelte/native/16/soft/check'</script><section class="container-inline px-lg py-4xl" aria-labelledby="pricing-compare-title">  <div class="flex flex-col gap-xl max-w(880) mx-auto">    <h2 class="heading heading-xl" id="pricing-compare-title">Compare the plans</h2>    <div class="sheet overflow-hidden">      <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="pricing-compare-title">        <table class="table">          <thead>            <tr class="table-row">              <th class="table-heading" scope="col"><span class="sr-only">Feature</span></th>              <th class="table-heading" scope="col">Hobby</th>              <th class="table-heading" scope="col">Pro</th>              <th class="table-heading" scope="col">Enterprise</th>            </tr>          </thead>          <tbody>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Projects</th>              <td class="table-cell">1</td>              <td class="table-cell">Unlimited</td>              <td class="table-cell">Unlimited</td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Regions</th>              <td class="table-cell">1</td>              <td class="table-cell">14</td>              <td class="table-cell">14</td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Build minutes</th>              <td class="table-cell">100 a month</td>              <td class="table-cell">400 per member</td>              <td class="table-cell">Custom</td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Analytics</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">                <CheckIcon class="icon" /><span class="sr-only">Included</span>              </td>              <td class="table-cell">                <CheckIcon class="icon" /><span class="sr-only">Included</span>              </td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Firewall rules</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">                <CheckIcon class="icon" /><span class="sr-only">Included</span>              </td>              <td class="table-cell">                <CheckIcon class="icon" /><span class="sr-only">Included</span>              </td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Single sign-on</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">                <CheckIcon class="icon" /><span class="sr-only">Included</span>              </td>            </tr>            <tr class="table-row">              <th class="table-cell table-primary" scope="row">Uptime agreement</th>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell fg-text-muted">                <span aria-hidden="true">–</span><span class="sr-only">Not included</span>              </td>              <td class="table-cell">99.99%</td>            </tr>          </tbody>        </table>      </div>    </div>  </div></section>
<script setup>import CheckIcon from '@master/icons-vue/native/16/soft/check'</script><template>  <section class="container-inline px-lg py-4xl" aria-labelledby="pricing-compare-title">    <div class="flex flex-col gap-xl max-w(880) mx-auto">      <h2 class="heading heading-xl" id="pricing-compare-title">Compare the plans</h2>      <div class="sheet overflow-hidden">        <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="pricing-compare-title">          <table class="table">            <thead>              <tr class="table-row">                <th class="table-heading" scope="col"><span class="sr-only">Feature</span></th>                <th class="table-heading" scope="col">Hobby</th>                <th class="table-heading" scope="col">Pro</th>                <th class="table-heading" scope="col">Enterprise</th>              </tr>            </thead>            <tbody>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Projects</th>                <td class="table-cell">1</td>                <td class="table-cell">Unlimited</td>                <td class="table-cell">Unlimited</td>              </tr>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Regions</th>                <td class="table-cell">1</td>                <td class="table-cell">14</td>                <td class="table-cell">14</td>              </tr>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Build minutes</th>                <td class="table-cell">100 a month</td>                <td class="table-cell">400 per member</td>                <td class="table-cell">Custom</td>              </tr>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Analytics</th>                <td class="table-cell fg-text-muted">                  <span aria-hidden="true">–</span><span class="sr-only">Not included</span>                </td>                <td class="table-cell">                  <CheckIcon class="icon" /><span class="sr-only">Included</span>                </td>                <td class="table-cell">                  <CheckIcon class="icon" /><span class="sr-only">Included</span>                </td>              </tr>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Firewall rules</th>                <td class="table-cell fg-text-muted">                  <span aria-hidden="true">–</span><span class="sr-only">Not included</span>                </td>                <td class="table-cell">                  <CheckIcon class="icon" /><span class="sr-only">Included</span>                </td>                <td class="table-cell">                  <CheckIcon class="icon" /><span class="sr-only">Included</span>                </td>              </tr>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Single sign-on</th>                <td class="table-cell fg-text-muted">                  <span aria-hidden="true">–</span><span class="sr-only">Not included</span>                </td>                <td class="table-cell fg-text-muted">                  <span aria-hidden="true">–</span><span class="sr-only">Not included</span>                </td>                <td class="table-cell">                  <CheckIcon class="icon" /><span class="sr-only">Included</span>                </td>              </tr>              <tr class="table-row">                <th class="table-cell table-primary" scope="row">Uptime agreement</th>                <td class="table-cell fg-text-muted">                  <span aria-hidden="true">–</span><span class="sr-only">Not included</span>                </td>                <td class="table-cell fg-text-muted">                  <span aria-hidden="true">–</span><span class="sr-only">Not included</span>                </td>                <td class="table-cell">99.99%</td>              </tr>            </tbody>          </table>        </div>      </div>    </div>  </section></template>

체크 표시와 대시는 보조 기술에서 숨기고, 각각 시각적으로 숨긴 텍스트인 “포함”과 “미포함”을 제공합니다. 스크롤 영역에 tabindex="0"을 지정하고 제목을 접근 가능한 이름으로 사용하므로 키보드로도 스크롤할 수 있습니다.

#접근성

  • 각 요금제는 <article>이며, 요금제 이름은 블록의 <h2> 아래에 <h3>로 표시합니다.
  • 배지에 “가장 인기 있는 요금제”라고 표시해 위치나 표면의 입체감에만 의존하지 않고 추천 여부를 전달합니다.
  • 표에서 각 행의 첫 번째 셀은 <th scope="row">입니다. 스크린 리더는 셀을 읽을 때 해당 기능과 요금제도 함께 읽습니다.
  • 가격에는 결제 주기를 함께 적습니다. “$20”만으로는 요금이 어느 기간에 해당하는지 알 수 없습니다.