导航

v2.1.0
应用页面

看板页

占满视口的看板:各列横向滚动,每列的列表各自滚动。

看板页把整个屏幕交给一个看板:经过几个阶段的工作一览无余,并可以手动移动。框架是固定式应用框架,即尺寸与视口完全一致的 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>
抓住握把把一张卡片拖到另一列,并让它停在右边缘附近:看板会在它下方滚动。滚动 Backlog 列,它比屏幕更长。握把旁边的按钮无需拖动即可移动卡片,Reset 会把十二张卡片全部放回原位。选择手机并横向滚动:各列保持宽度不变。

看板的页面说明了契约:类名、按键、移动面板和行为脚本。本页说明的是它周围的屏幕:有哪些区域,哪些区域滚动,以及屏幕变窄时各区域如何变化。

#实现方式

  • 框架是 shell shell-fixed。 应用框架高 100dvh,并裁剪超出它的内容,因此看板的任何操作都不会移动页面。这里通过 --shell-sidebar 把侧边栏设为 14rem 宽,在平板上为看板多留一些空间。
  • 主区域是一个纵向列。 shell-main 采用 flex flex-col:先是工具区,然后是看板。在固定式应用框架中,主区域已有 min-height: 0,高度即视口高度,这使其中的纵向列有了可供分配的确定高度。
  • 工具区保持自身高度。 带有 shrink(0) 的 <header> 中有标题、一行上下文说明和 Reset,与页面标题区一样,采用可以换行的两端分布:文字放大时,Reset 会落到标题下方,而不是挤压标题。
  • 看板占据其余空间。 kanban 根元素带有 grow(1) min-h(0):它伸展到工具区下方的空间,并且允许比自身内容更矮。正是这两者让看板止于屏幕底部。没有它们,看板会与最长的列一样高,改由主区域滚动。
  • 列止于看板的高度。 列的高度由其内容决定,但不会超过看板,因此较短的列提前结束,只有较长的列到达底部,其列表从那里开始滚动。
  • 页边留白位于滚动容器内部。 主区域的页边留白为 1.5rem。工具区以 px-lg 取得它,看板则把它作为自身的内边距 px-lg pb-lg,而不是外边距:各列从区域边缘下方滑过,在侧边栏的细线处离开;第一列与标题从同一条线开始;看板滚动到末尾时,最后一列之后也留有同样的 1.5rem。

#哪些部分滚动

有三处可以滚动,每一处只容纳一类内容。

滚动的部分方向原因
看板 kanban横向四列各 17.5rem,加上间距和页边留白共需 75.25rem;这里没有哪种屏幕有这么宽
列的列表 kanban-items纵向Backlog 列有七张卡片,看板比它们矮。列的标题栏留在列表上方
侧边栏 shell-sidebar纵向仅当导航比屏幕更长时;这里并非如此

页面不滚动,因为它没有自己要显示的内容:标题已在视野内,看板也没有需要读者滚动才能到达的末尾。如果文档也能滚动,在底部附近拖动时就有两处可以滚动,在手机上沿列滑动有时会移动页面。每个滚动容器还会限制自身的过度滚动,因此到达列表末尾时,不会带动看板,也不会触发浏览器自身的导航手势。

卡片被拿起期间,行为脚本替腾不出来的手滚动:指针靠近看板的起始端或末端时滚动看板,靠近指针下方那一列的顶部或底部时滚动该列的列表。只有当这两者是滚动容器时才行得通,这正是要为看板设置高度、而不让文档接管滚动的原因。

#平板和手机

看板中没有任何内容会重新排布。各列在任何尺寸下都保持宽度,由屏幕决定能显示几列。

  • 桌面,宽 1280:三列,加上第四列的一部分。露出的这一部分提示看板还有后续内容。
  • 平板,宽 768:应用框架正好为 48rem,因此侧边栏仍然显示。看板有 34rem:一列,加上下一列的大部分。
  • 手机,宽 390:应用框架低于 48rem 时,侧边栏退出布局,标题上方的一行中有一个按钮,可在抽屉中打开相同的导航。看板显示一列和第二列的边缘。列宽为 min(17.5rem, 100% - 2rem),因此即使在更窄的手机上,下一列也会在边缘露出,四列绝不会被挤成四条窄缝。

按钮独占一行,这一行是 shell-toggle,会随抽屉一起退出,因此在任何宽度下,标题都与第一列从同一条线开始。按钮通过 btn-hang-start 探入页边留白,使其图形也落在这条线上。

在触屏上,从卡片上开始的滑动会滚动:横向移动看板,纵向移动列表。只有握把会把触摸用于拖动,卡片的两个控件的触控目标都达到 44px。

#数据

卡片移动过程中,示例不写入任何内容。行为脚本提交移动,并从看板派发 change;示例随后读取排列 value,并根据每列项目的数量写入该列的计数,因此计数不会与下方的卡片不一致。Reset 把 value 设为标记最初的排列。赋值不会派发任何事件,因此计数会紧接着写入。

这个监听器也是应用保存数据的位置。示例不保存任何内容:排列只存在于页面中,重新加载后就会消失。行为脚本一节说明了 value、move() 和两个事件的约定。

这个看板没有搜索和筛选,无法添加或删除卡片,列也没有数量上限。这些功能都会改变“位置”的含义:筛选后的列会把第三张卡片显示为第一张,已满的列必须拒绝放入。添加这些功能时,先确定对应情况的规则。

#何时使用

当事物所处的阶段是它最重要的信息,而移动它是最主要的操作时,使用看板页。两到六个阶段比较易读;阶段更多时,更适合用带状态列的表格。

  • 数据和面板只供阅读,没有可移动的内容:使用数据看板。
  • 为一个列表排序,项目不会换到其他列表:在普通页面中使用可排序列表。
  • 按列比较多行数据,并排序、筛选和选择:使用表格视图。

#无障碍

  • 页面地标。 侧边栏是 <aside>,其中有品牌、<nav aria-label="Workspace"> 和账户;看板及其工具区是唯一的 <main>。工具区的 <header> 位于 <main> 内,因此不是 banner。skip 链接排在最前,指向主区域。
  • 标题大纲。 页面的 <h1> 是看板的名称,每列的标题是 <h2>。看板是 role="group",名称与页面相同。
  • 列是区域。 每一列都是以标题命名的 <section>,其中的卡片是原生列表,会报出卡片数量。标题旁的计数以可见的方式显示同一个数字,并在其后为屏幕阅读器补上“cards”。
  • 抽屉是原生模态 <dialog>:打开期间焦点留在其中,按 Esc、在外部按下或按关闭按钮都可关闭,关闭后焦点回到打开它的按钮。其中的导航有自己的标签“Workspace, in the drawer”。
  • 每个滚动容器都可以用键盘到达。 看板和列表中有按钮,因此按 Tab 会按顺序逐列经过各张卡片,浏览器会横向和纵向滚动,使每张卡片进入视野。移动之后,卡片会在新位置进入视野,焦点留在其握把上。
  • 移动面板是所有卡片共用的一个表单。示例用打开它的卡片为它命名,例如“Move Draft the launch post”;状态区域会播报每次拿起、选择位置和放下,以及看板已重置。
  • 占满屏幕的框架无法随文字增高。文字放大到两倍时,工具区会换行,看板变矮,所有内容仍可通过同样的两个方向滚动到达。