ボードは、画面全体をカンバンに使うページです。いくつかの段階を経て進む作業を一度に見渡し、手で動かせます。フレームは固定シェル、つまりビューポートとちょうど同じ大きさの shell shell-fixed です。ナビゲーションとボードのタイトルは定位置に残り、ボードが残りの領域を使い、ページ自体はスクロールしません。
ボード
<div class="shell shell-fixed bg-surface-base fg-text-body text-sm" style="--shell-sidebar: 14rem" data-example="board"> <a class="skip" href="#board-main">Skip to content</a> <aside class="shell-sidebar gap-md p-sm bxe(1) bxe-solid b-line-hair"> <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="#"> <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="#" 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"> <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</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> <main class="shell-main flex flex-col" id="board-main" tabindex="-1"> <header class="shrink(0) flex flex-col gap-xs px-lg pt-lg pb-md"> <div class="shell-toggle"> <div class="flex items-center gap-xs"> <button type="button" class="btn btn-quiet btn-square btn-sm btn-hang-start" commandfor="board-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> <span class="fg-text-muted">Projects</span> </div> </div> <div class="flex flex-wrap items-end justify-between gap-md"> <div class="flex flex-col gap-3xs min-w(0)"> <h1 class="heading heading-lg">Launch plan</h1> <p class="m(0) fg-text-muted">Atlas 2.0 ships on 3 December.</p> </div> <button type="button" class="btn" data-reset> <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.1626 8.6029A4.8333 4.8333 0 0 0 12.5278 9.5552A4.8333 4.8333 0 0 0 4.5522 4.5549L2.653 6.3845A0.5001 0.5001 0 0 1 2.4222 6.492A0.7044 0.7044 0 0 1 1.8413 5.9111A0.4998 0.4998 0 0 1 1.9862 5.6401L3.8478 3.8451Q4.7383 2.9615 5.9133 2.5222Q7.2234 2.0323 8.6132 2.1898Q10.003 2.3473 11.1703 3.1179A5.8276 5.8276 0 0 1 13.4737 9.8799Q13.0195 11.2028 12.0149 12.176A5.8276 5.8276 0 0 1 4.9149 12.9636Q3.7213 12.2343 2.9883 11.0431Q2.3309 9.9747 2.1708 8.7305A0.5 0.5 0 0 1 2.5032 8.1942Q2.6066 8.1862 2.7088 8.1685A0.4998 0.4998 0 0 1 3.1626 8.6029Z" fill="currentColor" stroke="none" fill-rule="evenodd" /> <path d="M2.3333 2.3333L2.3333 5.8A0.2 0.2 0 0 0 2.5333 6L6 6" /> </svg>Reset</button> </div> </header> <div class="kanban grow(1) min-h(0) px-lg pb-lg" role="group" aria-label="Launch plan"> <section class="kanban-column" data-value="backlog" aria-labelledby="board-backlog"> <header class="kanban-header"> <h2 class="kanban-title" id="board-backlog">Backlog</h2> <span class="badge badge-sm" data-count="backlog">7 <span class="sr-only">cards</span> </span> </header> <ol class="kanban-items"> <li class="kanban-item" data-value="emails"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Audit the onboarding emails</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Audit the onboarding emails"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Audit the onboarding emails"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Lifecycle</span> <span class="avatar avatar-xs" role="img" aria-label="Yi-ching Lin"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">YL</span> </span> </div> </article> </li> <li class="kanban-item" data-value="translate"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Translate the pricing page into Japanese, Korean and Traditional Chinese</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Translate the pricing page into Japanese, Korean and Traditional Chinese"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Translate the pricing page into Japanese, Korean and Traditional Chinese"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Localization</span> <span class="avatar avatar-xs" role="img" aria-label="Seo-yeon Kim"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">SK</span> </span> </div> </article> </li> <li class="kanban-item" data-value="pricing"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Price the annual plan</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Price the annual plan"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Price the annual plan"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Pricing</span> <span class="avatar avatar-xs" role="img" aria-label="Po-han Chen"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">PC</span> </span> </div> </article> </li> <li class="kanban-item" data-value="tour"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Record the product tour</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Record the product tour"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Record the product tour"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Video</span> <span class="avatar avatar-xs" role="img" aria-label="Haruto Takahashi"> <img class="avatar-image" src="/demo/people/haruto-takahashi.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">HT</span> </span> </div> </article> </li> <li class="kanban-item" data-value="support"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Brief the support team on what changes</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Brief the support team on what changes"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Brief the support team on what changes"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Support</span> <span class="avatar avatar-xs" role="img" aria-label="Mei-ling Wang"> <img class="avatar-image" src="/demo/people/meiling-wang.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">MW</span> </span> </div> </article> </li> <li class="kanban-item" data-value="status"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Set up the status page</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Set up the status 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="M4.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Set up the status 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"> <circle cx="6" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Infrastructure</span> <span class="avatar avatar-xs" role="img" aria-label="Po-han Chen"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">PC</span> </span> </div> </article> </li> <li class="kanban-item" data-value="webinar"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Schedule the customer webinar</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Schedule the customer webinar"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Schedule the customer webinar"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Events</span> <span class="avatar avatar-xs" role="img" aria-label="Yi-ching Lin"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">YL</span> </span> </div> </article> </li> </ol> <p class="kanban-empty">Nothing waiting</p> </section> <section class="kanban-column" data-value="progress" aria-labelledby="board-progress"> <header class="kanban-header"> <h2 class="kanban-title" id="board-progress">In progress</h2> <span class="badge badge-sm" data-count="progress">3 <span class="sr-only">cards</span> </span> </header> <ol class="kanban-items"> <li class="kanban-item" data-value="post"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Draft the launch post</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Draft the launch post"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Draft the launch post"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Writing</span> <span class="avatar avatar-xs" role="img" aria-label="Haruto Takahashi"> <img class="avatar-image" src="/demo/people/haruto-takahashi.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">HT</span> </span> </div> </article> </li> <li class="kanban-item" data-value="table"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Design the comparison table</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Design the comparison table"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Design the comparison table"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Design</span> <span class="avatar avatar-xs" role="img" aria-label="Yi-ching Lin"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">YL</span> </span> </div> </article> </li> <li class="kanban-item" data-value="checkout"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Load-test the checkout</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Load-test the checkout"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Load-test the checkout"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Engineering</span> <span class="avatar avatar-xs" role="img" aria-label="Seo-yeon Kim"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">SK</span> </span> </div> </article> </li> </ol> <p class="kanban-empty">Nothing in progress</p> </section> <section class="kanban-column" data-value="review" aria-labelledby="board-review"> <header class="kanban-header"> <h2 class="kanban-title" id="board-review">In review</h2> <span class="badge badge-sm" data-count="review">0 <span class="sr-only">cards</span> </span> </header> <ol class="kanban-items"></ol> <p class="kanban-empty">Nothing in review</p> </section> <section class="kanban-column" data-value="done" aria-labelledby="board-done"> <header class="kanban-header"> <h2 class="kanban-title" id="board-done">Done</h2> <span class="badge badge-sm" data-count="done">2 <span class="sr-only">cards</span> </span> </header> <ol class="kanban-items"> <li class="kanban-item" data-value="name"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Name the release</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Name the release"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Name the release"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Brand</span> <span class="avatar avatar-xs" role="img" aria-label="Po-han Chen"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">PC</span> </span> </div> </article> </li> <li class="kanban-item" data-value="date"> <article class="card gap-xs"> <div class="card-header"> <p class="card-title">Book the launch date</p> <span class="card-action kanban-controls"> <button type="button" class="kanban-move" popovertarget="board-mover" aria-label="Move Book the launch date"> <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.2559 2.3817A0.4996 0.4996 0 0 0 4.1667 2.6667L4.1673 13.3578A0.5 0.5 0 0 0 5.1613 13.4067L5.1667 13.3333L5.1653 2.6288A0.5007 0.5007 0 0 0 5.0775 2.3817A0.7044 0.7044 0 0 0 4.2559 2.3817Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M2.3333 5L4.5253 2.8081A0.2 0.2 0 0 1 4.8081 2.8081L7 5" transform="rotate(90 8 8)" /> <path d="M11.8333 13.3333L11.8327 2.6422A0.5 0.5 0 0 0 10.8387 2.5933L10.8333 2.6667L10.8347 13.3712A0.5007 0.5007 0 0 0 10.9225 13.6183A0.7044 0.7044 0 0 0 11.7441 13.6183A0.4996 0.4996 0 0 0 11.8333 13.3333Z" fill="currentColor" stroke="none" fill-rule="evenodd" transform="rotate(90 8 8)" /> <path d="M9 11L11.1919 13.1919A0.2 0.2 0 0 0 11.4747 13.1919L13.6667 11" transform="rotate(90 8 8)" /> </svg> </button> <button type="button" class="kanban-handle" aria-pressed="false" aria-label="Drag Book the launch date"> <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" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="4" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="8" r="1" fill="currentColor" stroke="none" /> <circle cx="6" cy="12" r="1" fill="currentColor" stroke="none" /> <circle cx="10" cy="12" r="1" fill="currentColor" stroke="none" /> </svg> </button> </span> </div> <div class="flex items-center justify-between gap-xs"> <span class="badge badge-sm">Planning</span> <span class="avatar avatar-xs" role="img" aria-label="Mei-ling Wang"> <img class="avatar-image" src="/demo/people/meiling-wang.webp" alt width="20" height="20"> <span class="avatar-fallback" aria-hidden="true">MW</span> </span> </div> </article> </li> </ol> <p class="kanban-empty">Nothing done yet</p> </section> <div class="popover popover-end" popover id="board-mover"> <form class="kanban-mover" aria-label="Move card"> <label class="field">Column <select class="select" name="column"></select> </label> <label class="field">Position <select class="select" name="position"></select> </label> <div class="kanban-mover-actions"> <button type="button" class="btn btn-sm" popovertarget="board-mover" popovertargetaction="hide">Cancel</button> <button type="submit" class="btn btn-sm btn-primary">Move</button> </div> </form> </div> <div class="kanban-preview" popover="manual" aria-hidden="true"></div> <p class="kanban-status" role="status"></p> </div> </main> <dialog class="dialog dialog-drawer dialog-drawer-start" id="board-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="#"> <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="#" 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"> <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</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="board-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>/** * A board on local data. The kanban behavior does all the moving: the pointer, the keys and the mover. This * module only reads what it leaves: the arrangement, `value`, from which each column's count is written after * every `change`, and which Reset sets back to the one the markup started with. Saving the arrangement is the * application's: do it where the counts are written. Returns the function that stops it. */import { kanban } from '@master/ui/behaviors/kanban.js'export function mount(root) { const controller = new AbortController() const { signal } = controller const element = root.querySelector('.kanban') const board = kanban(element) const status = element.querySelector('.kanban-status') /** The arrangement the markup holds before anything moves. */ const first = board.value /** Each column's count is the length of its items in the arrangement, never a number kept beside it. */ const count = () => { for (const { value, items } of board.value) { const badge = element.querySelector(`[data-count="${value}"]`) if (badge) badge.firstChild.data = String(items.length) } } // A move's events are the ones whose target is the board; a select in the mover sends its own through it. element.addEventListener('change', (event) => { if (event.target === element) count() }, { signal }) // Setting the value arranges the board and dispatches nothing, so the counts are written here. root.querySelector('[data-reset]').addEventListener('click', () => { board.value = first count() status.textContent = 'The board is back in its first arrangement.' }, { signal }) count() return () => { controller.abort() board() }}コントラクト、つまりクラス、キー操作、移動フォーム、ビヘイビアは、カンバンのページにあります。このページでは、そのまわりの画面を扱います。どんな領域があり、そのうちどれがスクロールし、画面が狭くなるとそれぞれがどうなるかです。
#構成
- フレームは
shell shell-fixedです。 シェルの高さは100dvhで、はみ出した部分は切り取られるため、ボードが何をしてもページは動きません。この例では、タブレットでボードに使える幅を増やすために、--shell-sidebarでサイドバーの幅を14remにしています。 - メイン領域は縦方向のレイアウトです。
shell-mainにflex flex-colを指定し、ツール領域、ボードの順に並べます。固定シェルでは、メイン領域にすでにmin-height: 0と、ビューポートに基づく高さがあります。これによって、その中の縦方向のレイアウトが分け合うための確定した高さが得られます。 - ツール領域は高さを保ちます。
shrink(0)を指定した<header>に、タイトル、1 行の補足、「Reset」を収めます。ページヘッダーと同じく、折り返す左右分割の構成です。そのため、文字サイズが大きいときは、「Reset」がタイトルを圧迫せずに、その下へ移ります。 - ボードが残りを使います。
kanbanのルート要素にはgrow(1) min-h(0)を指定します。ツール領域の下の領域いっぱいに広がり、中身より低くなることも許されます。この 2 つの指定があるから、ボードは画面の下端で止まります。これがないと、ボードは最も長い列と同じ高さになり、代わりにメイン領域がスクロールします。 - 列はボードの高さで止まります。 列の高さは中身に合わせて決まり、ボードより高くなることはありません。そのため、短い列は途中で終わり、長い列だけが下端に届いて、そこからリストがスクロールします。
- 左右の余白はスクロール領域の内側にあります。 メイン領域の左右の余白は
1.5remです。ツール領域はこれをpx-lgとして持ち、ボードはマージンではなく自身のパディングpx-lg pb-lgとして持ちます。列は領域の端の下を滑り、サイドバーの細い罫線のところで見えなくなります。最初の列はタイトルと同じ線から始まり、ボードを末尾までスクロールしたときも、最後の列の後ろに同じ1.5remが残ります。
#スクロールするもの
スクロールするものは 3 つあり、それぞれが 1 種類のものを収めます。
| スクロールするもの | 方向 | 理由 |
|---|---|---|
ボード(kanban) | 横方向 | 17.5rem の列 4 つとその間隔には、左右の余白を含めて 75.25rem が必要で、この例のどの画面にもその幅はない |
列のリスト(kanban-items) | 縦方向 | 「Backlog」にはカードが 7 枚あり、ボードはそれより低い。ヘッダーはリストの上にとどまる |
サイドバー(shell-sidebar) | 縦方向 | ナビゲーションが画面より長いときだけ。この例では長くない |
ページがスクロールしないのは、ページ自体に見せるものがないからです。タイトルはすでに見えており、ボードには、スクロールしてたどり着く終わりがありません。ドキュメントも動くとしたら、下端近くでのドラッグにはスクロールする対象が 2 つあることになり、スマートフォンで列に沿ってスワイプしたときに、ページが動いてしまうこともあります。また、各スクロール領域はオーバースクロールを内側にとどめるため、リストの終わりに達しても、ボードやブラウザー自体のナビゲーションが動き出すことはありません。
カードを運んでいる間は、ふさがっている手に代わってビヘイビアがスクロールします。ポインターがボードの先頭側または末尾側の端に近づくとボードを、ポインターの下にある列の上端または下端に近づくとそのリストをスクロールします。これが機能するのは、この 2 つがスクロール領域である場合だけです。ボードに高さを与え、ドキュメントにスクロールを任せないのはそのためです。
#タブレットとスマートフォン
ボードの中では、何も並び替わりません。列はどの大きさでも幅を保ち、いくつ見えるかは画面が決めます。
- デスクトップ(幅 1280) 3 つの列と、4 つ目の一部が見えます。この一部が、ボードが続いていることを示す手がかりです。
- タブレット(幅 768) シェルはちょうど 48rem なので、サイドバーはまだ表示されます。ボードの幅は 34rem で、1 つの列と、次の列の大部分が見えます。
- スマートフォン(幅 390) シェルが 48rem 未満になるとサイドバーがレイアウトから外れ、タイトルの上の行に、同じナビゲーションをドロワーで開くボタンが入ります。ボードには、1 つの列と 2 つ目の列の端が見えます。列の幅は
min(17.5rem, 100% - 2rem)なので、さらに狭いスマートフォンでも次の列が端にのぞき、4 つの列が 4 本の細い帯に押し込まれることはありません。
このボタンは専用の行に置かれます。ドロワーとともに現れては消える shell-toggle です。そのため、タイトルはどの幅でも最初の列と同じ線から始まります。ボタンは btn-hang-start で左右の余白にはみ出し、そのグリフも同じ線にそろいます。
タッチ画面では、カードの上から始めたスワイプはスクロールになります。横方向ならボードが、縦方向ならリストが動きます。ドラッグのためにタッチを受け取るのはグリップだけで、カードの 2 つのコントロールはどちらも 44px に届きます。
#データ
この例は、カードが動いている間は何も書き込みません。ビヘイビアが移動を確定し、ボードから change を発行します。そこで例は、配置である value を読み取り、各列の件数を、その列の項目の数から書き込みます。そのため、件数がその下のカードと食い違うことはありません。「Reset」は、value に、マークアップの最初の配置を代入します。代入ではイベントが発行されないため、件数はその直後に書き込みます。
このリスナーは、アプリケーションが保存を行う場所でもあります。この例は何も保持しません。配置はページの中にあり、再読み込みすると失われます。value、move()、2 つのイベントが何を保証するかは、ビヘイビアで説明しています。
このボードには、検索も、フィルターも、カードを追加・削除する手段も、列の上限もありません。これらはどれも、位置の意味を変えます。絞り込んだ列では 3 枚目のカードが 1 枚目として表示され、いっぱいになった列はドロップを拒否しなければなりません。追加するときは、その場合のルールを決めたうえで追加してください。
#使い分け
ボードは、対象がどの段階にあるかが最も重要な情報で、それを動かすことが主な操作である場合に使います。段階の数は 2 から 6 が読みやすく、それより多い場合は、ステータス列を持つテーブルが適しています。
- 数値やパネルを読むだけで、動かすものがない場合は、ダッシュボードを使います。
- 1 つのリストの順序を変え、項目がリストの間を移動しない場合は、通常のページに並べ替えリストを置きます。
- 多くの行を列で比較し、並べ替え、絞り込み、選択する場合は、テーブルビューを使います。
#アクセシビリティ
- ランドマーク サイドバーは
<aside>で、ブランド、<nav aria-label="Workspace">、アカウントを収めます。ボードとそのツール領域は、ただ 1 つの<main>です。ツール領域の<header>は<main>の中にあるため、banner にはなりません。最初にskipリンクがあり、メイン領域に移動します。 - アウトライン ページの
<h1>はボードの名前で、各列のタイトルは<h2>です。ボードは、ページと同じ名前を付けたrole="group"です。 - 列は領域です。 それぞれ、タイトルを名前とする
<section>です。カードはネイティブのリストなので、枚数が伝わります。タイトルの横の件数は、同じ数を目に見える形で示し、スクリーンリーダーにはその後ろに「cards」を付けて伝えます。 - ドロワー ネイティブのモーダル
<dialog>です。開いている間はフォーカスを内側にとどめ、Esc、外側の押下、閉じるボタンで閉じて、開いたボタンにフォーカスを戻します。ドロワーのナビゲーションには、「Workspace, in the drawer」という独自のラベルがあります。 - どのスクロール領域にもキー操作で届きます。 ボードとリストにはボタンがあるため、Tab で列ごとに順番どおりカードをたどれ、ブラウザーがそれぞれを横方向にも縦方向にも表示範囲に入れます。移動の後、カードは新しい位置で表示範囲に入り、フォーカスはそのグリップに残ります。
- 移動フォーム すべてのカードに共通の 1 つのフォームです。この例では、「Move Draft the launch post」のように、フォームを開いたカードの名前を含む名前をフォームに付けています。ステータス領域は、持ち上げ、移動先の選択、ドロップのたびに内容を伝え、ボードがリセットされたことも伝えます。
- 画面全体を使うフレームは、テキストに合わせて大きくなることができません。文字サイズを 2 倍にすると、ツール領域は折り返し、ボードは低くなりますが、同じ 2 方向のスクロールですべてに届きます。
#関連項目
- カンバン列を並べたボード。ドラッグ、キー操作、または移動先の選択で、項目を列の中や別の列へ移動できます。
- 並べ替えリストハンドルのドラッグまたはキー操作で項目の順序を変えられるリスト。
- カード背景面から浮き上がり、割り当てられたスペースに合わせて内部のレイアウトが変わるシート。
- バッジステータス、カテゴリー、件数を示す小さなチップ。色に意味があるとき以外はニュートラルな色で表示します。
- アバター人物やチームを写真やイニシャルで表し、単独でも重ねても使えます。
- ポップオーバー開くボタンを基準に表示されるフローティングパネル。
- セレクト選択肢リストもインターフェースと同じ質感で表示できるネイティブのセレクト。
- ボタン面からわずかに浮いた操作要素です。ポインターを重ねるとさらに浮き上がり、押すと沈み込みます。
- 見出しページの前景色で表示する見出しと、その上のラベル、下の導入文。
- ナビゲーションサイドバーや設定ページに表示する縦並びのリンク一覧。現在の項目は少し浮き上がって表示されます。
- ダイアログオーバーレイとして表示され、スクリプトなしで開閉できるネイティブのモーダルです。
- スキップリンクフォーカス時に表示され、ナビゲーションを飛ばせるページ先頭のリンク。