대시보드는 상단에 지표 몇 개를 나란히 배치하고 그 아래에 패널을 배치합니다. 프레임은 트레이 위에 놓인 앱 셸입니다. 메인 시트 안에서는 두 그리드가 배치를 담당하며, 어느 쪽도 화면 너비에 따른 중단점이 필요하지 않습니다.
대시보드
<div class="shell bg-surface-tray fg-text-body text-sm"> <a class="skip" href="#dash-main">Skip to content</a> <aside class="shell-sidebar gap-md p-sm"> <a class="navbar-brand h(40) px-xs" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="8" cy="8" r="6" /><path d="M8 4.3333A3.6667 3.6667 0 0 1 8 11.6667Z" fill="currentColor" stroke="none" /> </svg>Atlas </a> <nav class="nav" aria-label="Workspace"> <a class="nav-item" href="#" aria-current="page"> <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 13L3 6.9624A1 1 0 0 1 3.3524 6.2005L7.3524 2.8005A1 1 0 0 1 8.6476 2.8005L12.6476 6.2005A1 1 0 0 1 13 6.9624L13 13A1 1 0 0 1 12 14L4 14A1 1 0 0 1 3 13Z" /><path d="M6.5 14L6.5 11A1 1 0 0 1 7.5 10L8.5 10A1 1 0 0 1 9.5 11L9.5 14" /> </svg>Overview </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <rect x="2.5" y="2.5" width="4" height="4" rx="1" /><rect x="9.5" y="2.5" width="4" height="4" rx="1" /><rect x="2.5" y="9.5" width="4" height="4" rx="1" /><rect x="9.5" y="9.5" width="4" height="4" rx="1" /> </svg>Projects<span class="nav-end">12</span> </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="8" cy="8" r="6" /><path d="M8.7707 2.0497A6.0005 6.0005 0 0 0 7.2293 2.0497Q6.1162 3.1938 5.4813 4.6077Q4.8542 6.0044 4.7648 7.5H2.0209A5.9913 5.9913 0 0 0 2.0209 8.5H4.7648Q4.8542 9.9956 5.4813 11.3923Q6.1162 12.8062 7.2293 13.9503A6.0005 6.0005 0 0 0 8.7707 13.9503Q9.8838 12.8062 10.5187 11.3923Q11.1458 9.9956 11.2352 8.5H13.9791A5.9913 5.9913 0 0 0 13.9791 7.5H11.2352Q11.1458 6.0044 10.5187 4.6077Q9.8838 3.1938 8.7707 2.0497ZM9.6064 5.0173Q10.1455 6.2181 10.2331 7.5H5.7669Q5.8545 6.2181 6.3936 5.0173Q6.971 3.7314 8 2.6921Q9.029 3.7314 9.6064 5.0173ZM6.3936 10.9827Q5.8545 9.7819 5.7669 8.5H10.2331Q10.1455 9.7819 9.6064 10.9827Q9.029 12.2686 8 13.3079Q6.971 12.2686 6.3936 10.9827Z" fill="currentColor" stroke="none" fill-rule="evenodd" /> </svg>Domains </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <rect x="2" y="8" width="2.5" height="6" rx="0.75" /><rect x="6.75" y="3" width="2.5" height="11" rx="0.75" /><rect x="11.5" y="6" width="2.5" height="8" rx="0.75" /> </svg>Analytics </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="6.25" cy="4.5" r="2" /><path d="M2.25 13.75V12.5C2.25 10.7 3.85 9.5 5.35 9.5H7.15C8.65 9.5 10.25 10.7 10.25 12.5V13.75" /><path d="M11.1 2.6C13.8 2.6 13.8 6.6 11.1 6.6" /><path d="M12 9.5C13.5 9.75 14.25 11.25 14.25 12.5V13.75" /> </svg>Team </a> <a class="nav-item" href="#"> <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="M2.5 4.5L4.5 4.5" /><circle cx="6" cy="4.5" r="1.5" /><path d="M7.5 4.5L13.5 4.5" /><path d="M2.5 11.5L8.5 11.5" /><circle cx="10" cy="11.5" r="1.5" /><path d="M11.5 11.5L13.5 11.5" /> </svg>Settings </a> </nav> <button type="button" class="btn btn-quiet justify-start px-xs mt-auto"> <span class="avatar avatar-xs" aria-hidden="true"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"><span class="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </aside> <div class="shell-main flex flex-col p(8) pxs(0)@container(--3xl)"> <main class="sheet grow(1) container-inline" id="dash-main" tabindex="-1"> <header class="navbar" style="--navbar-color: var(--color-surface-raised); --navbar-padding-x: 1.5rem"> <button type="button" class="btn btn-quiet btn-square btn-sm shell-toggle" commandfor="dash-nav" command="show-modal" aria-label="Open navigation"> <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 5.5L13 5.5" /><path d="M3 10.5L13 10.5" /> </svg> </button> <h1 class="heading heading-sm">Overview</h1> <div class="navbar-end"> <select class="select select-raised select-sm" aria-label="Period"> <option class="select-option">Last 24 hours</option> <option class="select-option">Last 7 days</option> <option class="select-option">Last 30 days</option> </select> </div> </header> <div class="flex flex-col gap-md p-lg"> <ul class="auto-grid auto-grid-fit" style="--auto-grid-min: 12rem" aria-label="Key figures"> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Requests</p> <div class="stat-row"> <p class="stat-value">1.80M</p> <p class="stat-delta stat-delta-up"> <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="M13.6362 7.5189A0.4947 0.4947 0 0 0 13.5 7.5L2.4755 7.5006A0.5 0.5 0 0 0 2.4266 8.4946L2.5 8.5H13.5A0.4947 0.4947 0 0 0 13.6362 8.4811A0.7009 0.7009 0 0 0 13.6362 7.5189Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(-90 8 8)" /><path d="M8 4.5L13.2348 7.8313A0.2 0.2 0 0 1 13.2348 8.1687L8 11.5" transform="rotate(-90 8 8)" /> </svg><span class="sr-only">Up</span>12.4% </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Error rate</p> <div class="stat-row"> <p class="stat-value">0.02%</p> <p class="stat-delta stat-delta-down"> <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="M13.6362 7.5189A0.4947 0.4947 0 0 0 13.5 7.5L2.4755 7.5006A0.5 0.5 0 0 0 2.4266 8.4946L2.5 8.5H13.5A0.4947 0.4947 0 0 0 13.6362 8.4811A0.7009 0.7009 0 0 0 13.6362 7.5189Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /><path d="M8 4.5L13.2348 7.8313A0.2 0.2 0 0 1 13.2348 8.1687L8 11.5" transform="rotate(90 8 8)" /> </svg><span class="sr-only">Down</span>0.4% </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Median latency</p> <div class="stat-row"> <p class="stat-value">48 ms</p> <p class="stat-delta stat-delta-down"> <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="M13.6362 7.5189A0.4947 0.4947 0 0 0 13.5 7.5L2.4755 7.5006A0.5 0.5 0 0 0 2.4266 8.4946L2.5 8.5H13.5A0.4947 0.4947 0 0 0 13.6362 8.4811A0.7009 0.7009 0 0 0 13.6362 7.5189Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /><path d="M8 4.5L13.2348 7.8313A0.2 0.2 0 0 1 13.2348 8.1687L8 11.5" transform="rotate(90 8 8)" /> </svg><span class="sr-only">Down</span>3 ms </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Deployments</p> <div class="stat-row"> <p class="stat-value">37</p> </div> </div> </li> </ul> <div class="grid gap-md grid-cols(3)@container(--4xl)"> <section class="card card-flat grid-col-span(2)@container(--4xl)" aria-labelledby="dash-projects"> <header class="card-header"> <h2 class="card-title" id="dash-projects">Projects</h2> <p class="card-description">Requests in the last 24 hours.</p> <a class="btn btn-sm card-action" href="#">View all</a> </header> <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-label="Projects table"> <table class="table"> <thead> <tr class="table-row"> <th class="table-heading" scope="col">Project</th> <th class="table-heading" scope="col">Status</th> <th class="table-heading" scope="col">Region</th> <th class="table-heading table-numeric" scope="col">Requests</th> </tr> </thead> <tbody> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Atlas</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">Tokyo</td> <td class="table-cell table-numeric">1,284,019</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Borealis</th> <td class="table-cell"> <span class="badge badge-info badge-dot">Building</span> </td> <td class="table-cell">Frankfurt</td> <td class="table-cell table-numeric">402,771</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Cinder</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">Virginia</td> <td class="table-cell table-numeric">96,204</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Drift</th> <td class="table-cell"> <span class="badge badge-danger badge-dot">Failed</span> </td> <td class="table-cell">Sydney</td> <td class="table-cell table-numeric">12,480</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Ember</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">São Paulo</td> <td class="table-cell table-numeric">8,112</td> </tr> </tbody> </table> </div> </section> <section class="card card-flat" aria-labelledby="dash-usage"> <header class="card-header"> <h2 class="card-title" id="dash-usage">Usage</h2> <p class="card-description">Resets on 1 December.</p> </header> <div class="card-body flex flex-col gap-md"> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-bw">Bandwidth</span> <span class="fg-text-muted">74 of 100 GB</span> </div> <meter class="meter" min="0" max="100" low="60" high="90" optimum="0" value="74" aria-labelledby="u-bw"> 74 of 100 GB </meter> </div> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-bm">Build minutes</span> <span class="fg-text-muted">212 of 400</span> </div> <meter class="meter" min="0" max="400" low="240" high="360" optimum="0" value="212" aria-labelledby="u-bm"> 212 of 400 </meter> </div> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-st">Seats</span> <span class="fg-text-muted">4 of 5</span> </div> <meter class="meter" min="0" max="5" low="3" high="4.5" optimum="0" value="4" aria-labelledby="u-st"> 4 of 5 </meter> </div> </div> </section> </div> </div> </main> </div> <dialog class="dialog dialog-drawer dialog-drawer-start" id="dash-nav" closedby="any" aria-label="Navigation"> <div class="dialog-body flex flex-col gap-md"> <a class="navbar-brand h(40) px-xs" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="8" cy="8" r="6" /><path d="M8 4.3333A3.6667 3.6667 0 0 1 8 11.6667Z" fill="currentColor" stroke="none" /> </svg>Atlas </a> <nav class="nav" aria-label="Workspace, in the drawer"> <a class="nav-item" href="#" aria-current="page"> <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 13L3 6.9624A1 1 0 0 1 3.3524 6.2005L7.3524 2.8005A1 1 0 0 1 8.6476 2.8005L12.6476 6.2005A1 1 0 0 1 13 6.9624L13 13A1 1 0 0 1 12 14L4 14A1 1 0 0 1 3 13Z" /><path d="M6.5 14L6.5 11A1 1 0 0 1 7.5 10L8.5 10A1 1 0 0 1 9.5 11L9.5 14" /> </svg>Overview </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <rect x="2.5" y="2.5" width="4" height="4" rx="1" /><rect x="9.5" y="2.5" width="4" height="4" rx="1" /><rect x="2.5" y="9.5" width="4" height="4" rx="1" /><rect x="9.5" y="9.5" width="4" height="4" rx="1" /> </svg>Projects<span class="nav-end">12</span> </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="8" cy="8" r="6" /><path d="M8.7707 2.0497A6.0005 6.0005 0 0 0 7.2293 2.0497Q6.1162 3.1938 5.4813 4.6077Q4.8542 6.0044 4.7648 7.5H2.0209A5.9913 5.9913 0 0 0 2.0209 8.5H4.7648Q4.8542 9.9956 5.4813 11.3923Q6.1162 12.8062 7.2293 13.9503A6.0005 6.0005 0 0 0 8.7707 13.9503Q9.8838 12.8062 10.5187 11.3923Q11.1458 9.9956 11.2352 8.5H13.9791A5.9913 5.9913 0 0 0 13.9791 7.5H11.2352Q11.1458 6.0044 10.5187 4.6077Q9.8838 3.1938 8.7707 2.0497ZM9.6064 5.0173Q10.1455 6.2181 10.2331 7.5H5.7669Q5.8545 6.2181 6.3936 5.0173Q6.971 3.7314 8 2.6921Q9.029 3.7314 9.6064 5.0173ZM6.3936 10.9827Q5.8545 9.7819 5.7669 8.5H10.2331Q10.1455 9.7819 9.6064 10.9827Q9.029 12.2686 8 13.3079Q6.971 12.2686 6.3936 10.9827Z" fill="currentColor" stroke="none" fill-rule="evenodd" /> </svg>Domains </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <rect x="2" y="8" width="2.5" height="6" rx="0.75" /><rect x="6.75" y="3" width="2.5" height="11" rx="0.75" /><rect x="11.5" y="6" width="2.5" height="8" rx="0.75" /> </svg>Analytics </a> <a class="nav-item" href="#"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="6.25" cy="4.5" r="2" /><path d="M2.25 13.75V12.5C2.25 10.7 3.85 9.5 5.35 9.5H7.15C8.65 9.5 10.25 10.7 10.25 12.5V13.75" /><path d="M11.1 2.6C13.8 2.6 13.8 6.6 11.1 6.6" /><path d="M12 9.5C13.5 9.75 14.25 11.25 14.25 12.5V13.75" /> </svg>Team </a> <a class="nav-item" href="#"> <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="M2.5 4.5L4.5 4.5" /><circle cx="6" cy="4.5" r="1.5" /><path d="M7.5 4.5L13.5 4.5" /><path d="M2.5 11.5L8.5 11.5" /><circle cx="10" cy="11.5" r="1.5" /><path d="M11.5 11.5L13.5 11.5" /> </svg>Settings </a> </nav> <button type="button" class="btn btn-quiet justify-start px-xs mt-auto"> <span class="avatar avatar-xs" aria-hidden="true"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"><span class="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </div> <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="dash-nav" command="close" aria-label="Close navigation"> <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="M4 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </dialog></div>import ContrastIcon from '@master/icons-react/native/16/soft/contrast'import HomeIcon from '@master/icons-react/native/16/soft/home'import GridIcon from '@master/icons-react/native/16/soft/grid'import GlobeIcon from '@master/icons-react/native/16/soft/globe'import ChartBarIcon from '@master/icons-react/native/16/soft/chart-bar'import UsersIcon from '@master/icons-react/native/16/soft/users'import SlidersIcon from '@master/icons-react/native/16/soft/sliders'import MenuIcon from '@master/icons-react/native/16/soft/menu'import ArrowUpIcon from '@master/icons-react/native/16/soft/arrow-up'import ArrowDownIcon from '@master/icons-react/native/16/soft/arrow-down'import XIcon from '@master/icons-react/native/16/soft/x'<div className="shell bg-surface-tray fg-text-body text-sm"> <a className="skip" href="#dash-main">Skip to content</a> <aside className="shell-sidebar gap-md p-sm"> <a className="navbar-brand h(40) px-xs" href="#"><ContrastIcon className="icon" />Atlas</a> <nav className="nav" aria-label="Workspace"> <a className="nav-item" href="#" aria-current="page"><HomeIcon className="icon" />Overview</a> <a className="nav-item" href="#"> <GridIcon className="icon" />Projects<span className="nav-end">12</span> </a> <a className="nav-item" href="#"><GlobeIcon className="icon" />Domains</a> <a className="nav-item" href="#"><ChartBarIcon className="icon" />Analytics</a> <a className="nav-item" href="#"><UsersIcon className="icon" />Team</a> <a className="nav-item" href="#"><SlidersIcon className="icon" />Settings</a> </nav> <button type="button" className="btn btn-quiet justify-start px-xs mt-auto"> <span className="avatar avatar-xs" aria-hidden="true"> <img className="avatar-image" src="/demo/people/yiching-lin.webp" alt="" width="20" height="20" /><span className="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </aside> <div className="shell-main flex flex-col p(8) pxs(0)@container(--3xl)"> <main className="sheet grow(1) container-inline" id="dash-main" tabIndex={-1}> <header className="navbar" style={{ '--navbar-color': 'var(--color-surface-raised)', '--navbar-padding-x': '1.5rem' } as React.CSSProperties}> <button type="button" className="btn btn-quiet btn-square btn-sm shell-toggle" {...{ commandfor: 'dash-nav', command: 'show-modal' }} aria-label="Open navigation"> <MenuIcon className="icon" /> </button> <h1 className="heading heading-sm">Overview</h1> <div className="navbar-end"> <select className="select select-raised select-sm" aria-label="Period"> <option className="select-option">Last 24 hours</option> <option className="select-option">Last 7 days</option> <option className="select-option">Last 30 days</option> </select> </div> </header> <div className="flex flex-col gap-md p-lg"> <ul className="auto-grid auto-grid-fit" style={{ '--auto-grid-min': '12rem' } as React.CSSProperties} aria-label="Key figures"> <li className="sheet sheet-flat p-md"> <div className="stat"> <p className="stat-label">Requests</p> <div className="stat-row"> <p className="stat-value">1.80M</p> <p className="stat-delta stat-delta-up"> <ArrowUpIcon className="icon" /><span className="sr-only">Up</span>12.4% </p> </div> </div> </li> <li className="sheet sheet-flat p-md"> <div className="stat"> <p className="stat-label">Error rate</p> <div className="stat-row"> <p className="stat-value">0.02%</p> <p className="stat-delta stat-delta-down"> <ArrowDownIcon className="icon" /><span className="sr-only">Down</span>0.4% </p> </div> </div> </li> <li className="sheet sheet-flat p-md"> <div className="stat"> <p className="stat-label">Median latency</p> <div className="stat-row"> <p className="stat-value">48 ms</p> <p className="stat-delta stat-delta-down"> <ArrowDownIcon className="icon" /><span className="sr-only">Down</span>3 ms </p> </div> </div> </li> <li className="sheet sheet-flat p-md"> <div className="stat"> <p className="stat-label">Deployments</p> <div className="stat-row"> <p className="stat-value">37</p> </div> </div> </li> </ul> <div className="grid gap-md grid-cols(3)@container(--4xl)"> <section className="card card-flat grid-col-span(2)@container(--4xl)" aria-labelledby="dash-projects"> <header className="card-header"> <h2 className="card-title" id="dash-projects">Projects</h2> <p className="card-description">Requests in the last 24 hours.</p> <a className="btn btn-sm card-action" href="#">View all</a> </header> <div className="scroll-area scroll-area-inline" tabIndex={0} role="region" aria-label="Projects table"> <table className="table"> <thead> <tr className="table-row"> <th className="table-heading" scope="col">Project</th> <th className="table-heading" scope="col">Status</th> <th className="table-heading" scope="col">Region</th> <th className="table-heading table-numeric" scope="col">Requests</th> </tr> </thead> <tbody> <tr className="table-row"> <th className="table-cell table-primary" scope="row">Atlas</th> <td className="table-cell"> <span className="badge badge-success badge-dot">Ready</span> </td> <td className="table-cell">Tokyo</td> <td className="table-cell table-numeric">1,284,019</td> </tr> <tr className="table-row"> <th className="table-cell table-primary" scope="row">Borealis</th> <td className="table-cell"> <span className="badge badge-info badge-dot">Building</span> </td> <td className="table-cell">Frankfurt</td> <td className="table-cell table-numeric">402,771</td> </tr> <tr className="table-row"> <th className="table-cell table-primary" scope="row">Cinder</th> <td className="table-cell"> <span className="badge badge-success badge-dot">Ready</span> </td> <td className="table-cell">Virginia</td> <td className="table-cell table-numeric">96,204</td> </tr> <tr className="table-row"> <th className="table-cell table-primary" scope="row">Drift</th> <td className="table-cell"> <span className="badge badge-danger badge-dot">Failed</span> </td> <td className="table-cell">Sydney</td> <td className="table-cell table-numeric">12,480</td> </tr> <tr className="table-row"> <th className="table-cell table-primary" scope="row">Ember</th> <td className="table-cell"> <span className="badge badge-success badge-dot">Ready</span> </td> <td className="table-cell">São Paulo</td> <td className="table-cell table-numeric">8,112</td> </tr> </tbody> </table> </div> </section> <section className="card card-flat" aria-labelledby="dash-usage"> <header className="card-header"> <h2 className="card-title" id="dash-usage">Usage</h2> <p className="card-description">Resets on 1 December.</p> </header> <div className="card-body flex flex-col gap-md"> <div className="flex flex-col gap-xs"> <div className="flex items-baseline justify-between gap-sm"> <span className="fg-text-strong" id="u-bw">Bandwidth</span> <span className="fg-text-muted">74 of 100 GB</span> </div> <meter className="meter" min="0" max="100" low={60} high={90} optimum={0} value="74" aria-labelledby="u-bw"> 74 of 100 GB </meter> </div> <div className="flex flex-col gap-xs"> <div className="flex items-baseline justify-between gap-sm"> <span className="fg-text-strong" id="u-bm">Build minutes</span> <span className="fg-text-muted">212 of 400</span> </div> <meter className="meter" min="0" max="400" low={240} high={360} optimum={0} value="212" aria-labelledby="u-bm"> 212 of 400 </meter> </div> <div className="flex flex-col gap-xs"> <div className="flex items-baseline justify-between gap-sm"> <span className="fg-text-strong" id="u-st">Seats</span> <span className="fg-text-muted">4 of 5</span> </div> <meter className="meter" min="0" max="5" low={3} high={4.5} optimum={0} value="4" aria-labelledby="u-st"> 4 of 5 </meter> </div> </div> </section> </div> </div> </main> </div> <dialog className="dialog dialog-drawer dialog-drawer-start" id="dash-nav" closedby="any" aria-label="Navigation"> <div className="dialog-body flex flex-col gap-md"> <a className="navbar-brand h(40) px-xs" href="#"><ContrastIcon className="icon" />Atlas</a> <nav className="nav" aria-label="Workspace, in the drawer"> <a className="nav-item" href="#" aria-current="page"> <HomeIcon className="icon" />Overview </a> <a className="nav-item" href="#"> <GridIcon className="icon" />Projects<span className="nav-end">12</span> </a> <a className="nav-item" href="#"><GlobeIcon className="icon" />Domains</a> <a className="nav-item" href="#"><ChartBarIcon className="icon" />Analytics</a> <a className="nav-item" href="#"><UsersIcon className="icon" />Team</a> <a className="nav-item" href="#"><SlidersIcon className="icon" />Settings</a> </nav> <button type="button" className="btn btn-quiet justify-start px-xs mt-auto"> <span className="avatar avatar-xs" aria-hidden="true"> <img className="avatar-image" src="/demo/people/yiching-lin.webp" alt="" width="20" height="20" /><span className="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </div> <button type="button" className="btn btn-quiet btn-square btn-sm dialog-close" {...{ commandfor: 'dash-nav', command: 'close' }} aria-label="Close navigation"> <XIcon className="icon" /> </button> </dialog></div><script> import ContrastIcon from '@master/icons-svelte/native/16/soft/contrast' import HomeIcon from '@master/icons-svelte/native/16/soft/home' import GridIcon from '@master/icons-svelte/native/16/soft/grid' import GlobeIcon from '@master/icons-svelte/native/16/soft/globe' import ChartBarIcon from '@master/icons-svelte/native/16/soft/chart-bar' import UsersIcon from '@master/icons-svelte/native/16/soft/users' import SlidersIcon from '@master/icons-svelte/native/16/soft/sliders' import MenuIcon from '@master/icons-svelte/native/16/soft/menu' import ArrowUpIcon from '@master/icons-svelte/native/16/soft/arrow-up' import ArrowDownIcon from '@master/icons-svelte/native/16/soft/arrow-down' import XIcon from '@master/icons-svelte/native/16/soft/x'</script><div class="shell bg-surface-tray fg-text-body text-sm"> <a class="skip" href="#dash-main">Skip to content</a> <aside class="shell-sidebar gap-md p-sm"> <a class="navbar-brand h(40) px-xs" href="#"><ContrastIcon class="icon" />Atlas</a> <nav class="nav" aria-label="Workspace"> <a class="nav-item" href="#" aria-current="page"><HomeIcon class="icon" />Overview</a> <a class="nav-item" href="#"> <GridIcon class="icon" />Projects<span class="nav-end">12</span> </a> <a class="nav-item" href="#"><GlobeIcon class="icon" />Domains</a> <a class="nav-item" href="#"><ChartBarIcon class="icon" />Analytics</a> <a class="nav-item" href="#"><UsersIcon class="icon" />Team</a> <a class="nav-item" href="#"><SlidersIcon class="icon" />Settings</a> </nav> <button type="button" class="btn btn-quiet justify-start px-xs mt-auto"> <span class="avatar avatar-xs" aria-hidden="true"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"><span class="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </aside> <div class="shell-main flex flex-col p(8) pxs(0)@container(--3xl)"> <main class="sheet grow(1) container-inline" id="dash-main" tabindex="-1"> <header class="navbar" style="--navbar-color: var(--color-surface-raised); --navbar-padding-x: 1.5rem"> <button type="button" class="btn btn-quiet btn-square btn-sm shell-toggle" commandfor="dash-nav" command="show-modal" aria-label="Open navigation"> <MenuIcon class="icon" /> </button> <h1 class="heading heading-sm">Overview</h1> <div class="navbar-end"> <select class="select select-raised select-sm" aria-label="Period"> <option class="select-option">Last 24 hours</option> <option class="select-option">Last 7 days</option> <option class="select-option">Last 30 days</option> </select> </div> </header> <div class="flex flex-col gap-md p-lg"> <ul class="auto-grid auto-grid-fit" style="--auto-grid-min: 12rem" aria-label="Key figures"> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Requests</p> <div class="stat-row"> <p class="stat-value">1.80M</p> <p class="stat-delta stat-delta-up"> <ArrowUpIcon class="icon" /><span class="sr-only">Up</span>12.4% </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Error rate</p> <div class="stat-row"> <p class="stat-value">0.02%</p> <p class="stat-delta stat-delta-down"> <ArrowDownIcon class="icon" /><span class="sr-only">Down</span>0.4% </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Median latency</p> <div class="stat-row"> <p class="stat-value">48 ms</p> <p class="stat-delta stat-delta-down"> <ArrowDownIcon class="icon" /><span class="sr-only">Down</span>3 ms </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Deployments</p> <div class="stat-row"> <p class="stat-value">37</p> </div> </div> </li> </ul> <div class="grid gap-md grid-cols(3)@container(--4xl)"> <section class="card card-flat grid-col-span(2)@container(--4xl)" aria-labelledby="dash-projects"> <header class="card-header"> <h2 class="card-title" id="dash-projects">Projects</h2> <p class="card-description">Requests in the last 24 hours.</p> <a class="btn btn-sm card-action" href="#">View all</a> </header> <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-label="Projects table"> <table class="table"> <thead> <tr class="table-row"> <th class="table-heading" scope="col">Project</th> <th class="table-heading" scope="col">Status</th> <th class="table-heading" scope="col">Region</th> <th class="table-heading table-numeric" scope="col">Requests</th> </tr> </thead> <tbody> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Atlas</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">Tokyo</td> <td class="table-cell table-numeric">1,284,019</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Borealis</th> <td class="table-cell"> <span class="badge badge-info badge-dot">Building</span> </td> <td class="table-cell">Frankfurt</td> <td class="table-cell table-numeric">402,771</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Cinder</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">Virginia</td> <td class="table-cell table-numeric">96,204</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Drift</th> <td class="table-cell"> <span class="badge badge-danger badge-dot">Failed</span> </td> <td class="table-cell">Sydney</td> <td class="table-cell table-numeric">12,480</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Ember</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">São Paulo</td> <td class="table-cell table-numeric">8,112</td> </tr> </tbody> </table> </div> </section> <section class="card card-flat" aria-labelledby="dash-usage"> <header class="card-header"> <h2 class="card-title" id="dash-usage">Usage</h2> <p class="card-description">Resets on 1 December.</p> </header> <div class="card-body flex flex-col gap-md"> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-bw">Bandwidth</span> <span class="fg-text-muted">74 of 100 GB</span> </div> <meter class="meter" min="0" max="100" low="60" high="90" optimum="0" value="74" aria-labelledby="u-bw"> 74 of 100 GB </meter> </div> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-bm">Build minutes</span> <span class="fg-text-muted">212 of 400</span> </div> <meter class="meter" min="0" max="400" low="240" high="360" optimum="0" value="212" aria-labelledby="u-bm"> 212 of 400 </meter> </div> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-st">Seats</span> <span class="fg-text-muted">4 of 5</span> </div> <meter class="meter" min="0" max="5" low="3" high="4.5" optimum="0" value="4" aria-labelledby="u-st"> 4 of 5 </meter> </div> </div> </section> </div> </div> </main> </div> <dialog class="dialog dialog-drawer dialog-drawer-start" id="dash-nav" closedby="any" aria-label="Navigation"> <div class="dialog-body flex flex-col gap-md"> <a class="navbar-brand h(40) px-xs" href="#"><ContrastIcon class="icon" />Atlas</a> <nav class="nav" aria-label="Workspace, in the drawer"> <a class="nav-item" href="#" aria-current="page"><HomeIcon class="icon" />Overview</a> <a class="nav-item" href="#"> <GridIcon class="icon" />Projects<span class="nav-end">12</span> </a> <a class="nav-item" href="#"><GlobeIcon class="icon" />Domains</a> <a class="nav-item" href="#"><ChartBarIcon class="icon" />Analytics</a> <a class="nav-item" href="#"><UsersIcon class="icon" />Team</a> <a class="nav-item" href="#"><SlidersIcon class="icon" />Settings</a> </nav> <button type="button" class="btn btn-quiet justify-start px-xs mt-auto"> <span class="avatar avatar-xs" aria-hidden="true"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"><span class="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </div> <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="dash-nav" command="close" aria-label="Close navigation"> <XIcon class="icon" /> </button> </dialog></div><script setup>import ContrastIcon from '@master/icons-vue/native/16/soft/contrast'import HomeIcon from '@master/icons-vue/native/16/soft/home'import GridIcon from '@master/icons-vue/native/16/soft/grid'import GlobeIcon from '@master/icons-vue/native/16/soft/globe'import ChartBarIcon from '@master/icons-vue/native/16/soft/chart-bar'import UsersIcon from '@master/icons-vue/native/16/soft/users'import SlidersIcon from '@master/icons-vue/native/16/soft/sliders'import MenuIcon from '@master/icons-vue/native/16/soft/menu'import ArrowUpIcon from '@master/icons-vue/native/16/soft/arrow-up'import ArrowDownIcon from '@master/icons-vue/native/16/soft/arrow-down'import XIcon from '@master/icons-vue/native/16/soft/x'</script><template> <div class="shell bg-surface-tray fg-text-body text-sm"> <a class="skip" href="#dash-main">Skip to content</a> <aside class="shell-sidebar gap-md p-sm"> <a class="navbar-brand h(40) px-xs" href="#"><ContrastIcon class="icon" />Atlas</a> <nav class="nav" aria-label="Workspace"> <a class="nav-item" href="#" aria-current="page"><HomeIcon class="icon" />Overview</a> <a class="nav-item" href="#"> <GridIcon class="icon" />Projects<span class="nav-end">12</span> </a> <a class="nav-item" href="#"><GlobeIcon class="icon" />Domains</a> <a class="nav-item" href="#"><ChartBarIcon class="icon" />Analytics</a> <a class="nav-item" href="#"><UsersIcon class="icon" />Team</a> <a class="nav-item" href="#"><SlidersIcon class="icon" />Settings</a> </nav> <button type="button" class="btn btn-quiet justify-start px-xs mt-auto"> <span class="avatar avatar-xs" aria-hidden="true"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"><span class="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </aside> <div class="shell-main flex flex-col p(8) pxs(0)@container(--3xl)"> <main class="sheet grow(1) container-inline" id="dash-main" tabindex="-1"> <header class="navbar" style="--navbar-color: var(--color-surface-raised); --navbar-padding-x: 1.5rem"> <button type="button" class="btn btn-quiet btn-square btn-sm shell-toggle" commandfor="dash-nav" command="show-modal" aria-label="Open navigation"> <MenuIcon class="icon" /> </button> <h1 class="heading heading-sm">Overview</h1> <div class="navbar-end"> <select class="select select-raised select-sm" aria-label="Period"> <option class="select-option">Last 24 hours</option> <option class="select-option">Last 7 days</option> <option class="select-option">Last 30 days</option> </select> </div> </header> <div class="flex flex-col gap-md p-lg"> <ul class="auto-grid auto-grid-fit" style="--auto-grid-min: 12rem" aria-label="Key figures"> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Requests</p> <div class="stat-row"> <p class="stat-value">1.80M</p> <p class="stat-delta stat-delta-up"> <ArrowUpIcon class="icon" /><span class="sr-only">Up</span>12.4% </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Error rate</p> <div class="stat-row"> <p class="stat-value">0.02%</p> <p class="stat-delta stat-delta-down"> <ArrowDownIcon class="icon" /><span class="sr-only">Down</span>0.4% </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Median latency</p> <div class="stat-row"> <p class="stat-value">48 ms</p> <p class="stat-delta stat-delta-down"> <ArrowDownIcon class="icon" /><span class="sr-only">Down</span>3 ms </p> </div> </div> </li> <li class="sheet sheet-flat p-md"> <div class="stat"> <p class="stat-label">Deployments</p> <div class="stat-row"> <p class="stat-value">37</p> </div> </div> </li> </ul> <div class="grid gap-md grid-cols(3)@container(--4xl)"> <section class="card card-flat grid-col-span(2)@container(--4xl)" aria-labelledby="dash-projects"> <header class="card-header"> <h2 class="card-title" id="dash-projects">Projects</h2> <p class="card-description">Requests in the last 24 hours.</p> <a class="btn btn-sm card-action" href="#">View all</a> </header> <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-label="Projects table"> <table class="table"> <thead> <tr class="table-row"> <th class="table-heading" scope="col">Project</th> <th class="table-heading" scope="col">Status</th> <th class="table-heading" scope="col">Region</th> <th class="table-heading table-numeric" scope="col">Requests</th> </tr> </thead> <tbody> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Atlas</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">Tokyo</td> <td class="table-cell table-numeric">1,284,019</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Borealis</th> <td class="table-cell"> <span class="badge badge-info badge-dot">Building</span> </td> <td class="table-cell">Frankfurt</td> <td class="table-cell table-numeric">402,771</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Cinder</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">Virginia</td> <td class="table-cell table-numeric">96,204</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Drift</th> <td class="table-cell"> <span class="badge badge-danger badge-dot">Failed</span> </td> <td class="table-cell">Sydney</td> <td class="table-cell table-numeric">12,480</td> </tr> <tr class="table-row"> <th class="table-cell table-primary" scope="row">Ember</th> <td class="table-cell"> <span class="badge badge-success badge-dot">Ready</span> </td> <td class="table-cell">São Paulo</td> <td class="table-cell table-numeric">8,112</td> </tr> </tbody> </table> </div> </section> <section class="card card-flat" aria-labelledby="dash-usage"> <header class="card-header"> <h2 class="card-title" id="dash-usage">Usage</h2> <p class="card-description">Resets on 1 December.</p> </header> <div class="card-body flex flex-col gap-md"> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-bw">Bandwidth</span> <span class="fg-text-muted">74 of 100 GB</span> </div> <meter class="meter" min="0" max="100" low="60" high="90" optimum="0" value="74" aria-labelledby="u-bw"> 74 of 100 GB </meter> </div> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-bm">Build minutes</span> <span class="fg-text-muted">212 of 400</span> </div> <meter class="meter" min="0" max="400" low="240" high="360" optimum="0" value="212" aria-labelledby="u-bm"> 212 of 400 </meter> </div> <div class="flex flex-col gap-xs"> <div class="flex items-baseline justify-between gap-sm"> <span class="fg-text-strong" id="u-st">Seats</span> <span class="fg-text-muted">4 of 5</span> </div> <meter class="meter" min="0" max="5" low="3" high="4.5" optimum="0" value="4" aria-labelledby="u-st"> 4 of 5 </meter> </div> </div> </section> </div> </div> </main> </div> <dialog class="dialog dialog-drawer dialog-drawer-start" id="dash-nav" closedby="any" aria-label="Navigation"> <div class="dialog-body flex flex-col gap-md"> <a class="navbar-brand h(40) px-xs" href="#"><ContrastIcon class="icon" />Atlas</a> <nav class="nav" aria-label="Workspace, in the drawer"> <a class="nav-item" href="#" aria-current="page"><HomeIcon class="icon" />Overview</a> <a class="nav-item" href="#"> <GridIcon class="icon" />Projects<span class="nav-end">12</span> </a> <a class="nav-item" href="#"><GlobeIcon class="icon" />Domains</a> <a class="nav-item" href="#"><ChartBarIcon class="icon" />Analytics</a> <a class="nav-item" href="#"><UsersIcon class="icon" />Team</a> <a class="nav-item" href="#"><SlidersIcon class="icon" />Settings</a> </nav> <button type="button" class="btn btn-quiet justify-start px-xs mt-auto"> <span class="avatar avatar-xs" aria-hidden="true"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"><span class="avatar-fallback">YL</span> </span>Yi-ching Lin </button> </div> <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="dash-nav" command="close" aria-label="Close navigation"> <XIcon class="icon" /> </button> </dialog> </div></template>태블릿을 선택하면 한 줄에 표시되는 지표가 4개에서 2개로 줄고 패널이 세로로 쌓입니다. 휴대폰에서는 사이드바가 드로어 안으로 이동합니다.
#구성
- 지표는 자동 그리드로 배치합니다.
auto-grid에서--auto-grid-min: 12rem으로 설정하면 각 타일에 최소 12rem의 너비를 확보하면서 한 줄에 들어갈 수 있는 만큼 배치합니다. 넓은 시트에서는 4개, 태블릿에서는 2개, 휴대폰에서는 1개 또는 2개가 들어갑니다. 그리드가 열 수를 자동으로 정합니다. - 패널은 컨테이너 안에서 3열 그리드로 배치합니다. 메인 시트를
container-inline으로 설정합니다. 시트의 너비가 56rem에 도달하기 전까지 그리드는 1열이고, 56rem부터는grid-cols(3)@container(--4xl)을 적용합니다. 넓은 패널은grid-col-span(2)@container(--4xl)로 두 열을 차지합니다. 사이드바가 사라지면 시트가 넓어져 패널이 다시 3열로 배치될 수 있습니다. 화면 대신 컨테이너의 너비를 기준으로 삼기 때문에 가능한 동작입니다. - 각 타일에는 라이브러리의 표면을 사용합니다. 수치는 그림자 없는 시트 위에 지표 컴포넌트로 표시하고, 패널에는 카드를 사용합니다. 시트 위 타일에는
sheet-flat또는card-flat을 적용해 윤곽선 하나만 두고 그림자는 넣지 않습니다. 이미 높이 효과가 있는 표면 위에 그림자를 추가하면 높이 효과가 두 겹으로 쌓이기 때문입니다. - 너비가 큰 표는 패널 안에서 스크롤됩니다. 표를
scroll-area-inline이 적용된 스크롤 영역에 넣으면 패널이 좁아도 표 때문에 페이지 너비가 늘어나지 않으며, 열이 더 이어지는 가장자리는 흐리게 표시됩니다. 이 영역에tabindex="0"을 설정하고 이름을 지정하면 키보드로 스크롤할 수 있습니다.
#배치 밀도
모든 타일과 패널 사이의 간격을 gap-md로 통일하면 페이지 전체가 하나의 그리드로 정돈됩니다. 그룹을 구분하기 위해 별도의 간격을 추가하지 않습니다. 두 패널의 내용이 한 그룹에 속한다면 하나의 패널로 합칩니다.
패널 위의 내비게이션 바는 --navbar-padding-x를 패널 주위의 안쪽 여백과 같은 1.5rem으로 설정하므로 제목이 첫 번째 타일의 가장자리에서 시작합니다.
#접근성
- 수치는 "Key figures"라는 이름의 목록이므로 스크린 리더가 읽기 전에 항목 수를 알려 줍니다.
- 각 패널은
<section>이며,aria-labelledby로 패널 제목을 이름으로 지정합니다. 이렇게 하면 각 패널을 영역으로 탐색할 수 있습니다. - 보조 기술에서 지표의 변화 방향을 알 수 있도록 상승이나 하락을 텍스트로 표시합니다. 자세한 내용은 지표의 접근성 항목에서 확인할 수 있습니다.
- 미터 요소 안에는 값을 텍스트로 넣고, 옆에는 화면에 표시되는 레이블을 둡니다.
#관련 문서
- 자동 그리드그리드가 주어진 공간에 들어갈 수 있는 같은 너비의 열 수를 직접 정합니다.
- 벤토크기가 다양한 타일을 한 상자에 배치하고, 상자에 여유 공간이 얼마나 있는지에 따라 열 구성을 조정합니다.
- 지표수치 하나와 측정 항목, 그 변화를 보여 줍니다. 차분한 레이블, 큰 값, 변화량으로 이루어집니다.
- 카드카드에 주어진 공간에 따라 내부 배치가 달라지는, 살짝 떠 있는 시트입니다.
- 표면모든 컴포넌트의 바탕이 되는 트레이, 볼록한 표면, 오목한 영역의 높이 체계입니다.
- 표가는 구분선으로 데이터 행을 나누고, 열 제목에서 정렬 순서를 바꿀 수 있으며, 숫자의 자릿수가 가지런히 맞는 표입니다.
- 스크롤 영역콘텐츠가 이어지는 가장자리에 페이드가 적용되는 스크롤 영역입니다.
- 미터사용한 저장 공간, 점수, 비밀번호 강도처럼 범위가 정해진 측정값을 표시합니다.
- 내비게이션 바스크롤하는 콘텐츠가 막대 아래를 지나갈 때 표면 효과가 나타나는 페이지 상단의 막대입니다.
- 내비게이션 목록사이드바나 설정 페이지에서 이동할 곳을 세로로 나열하는 목록으로, 현재 항목이 살짝 떠올라 보입니다.
- 대화 상자스크립트 없이 열고 닫는 오버레이 시트 형태의 네이티브 모달입니다.
- 건너뛰기 링크포커스를 받았을 때 표시되며 탐색 영역을 건너뛰는 페이지의 첫 번째 링크입니다.