Board
A kanban across the viewport: the columns scroll across, each list scrolls by itself.
A board is a whole screen given to a kanban: work that passes through a few stages, seen all at once and moved by hand. The frame is a fixed app shell, a shell shell-fixed that is exactly the viewport. The navigation and the board's title stay where they are, the board takes the room that is left, and the page itself never scrolls.
Board
<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() }}The kanban page has the contract: the classes, the keys, the mover and the behavior. This page is about the screen around it: which regions there are, which of them scroll, and what each does when the screen narrows.
#How it is built
- The frame is
shell shell-fixed. The shell is100dvhtall and clips what leaves it, so nothing the board does can move the page. Its sidebar is14remwide here, through--shell-sidebar, to leave the board more of a tablet. - The main region is a column.
shell-maintakesflex flex-col: the tool region first, then the board. In a fixed shell the main region already hasmin-height: 0and a height that is the viewport's, which is what gives the column under it something definite to share out. - The tool region keeps its height. A
<header>withshrink(0)holds the title, one line of context and Reset, as a page header does: a split that wraps, so at a large text size Reset drops under the title instead of squeezing it. - The board takes the rest. The
kanbanroot hasgrow(1) min-h(0): it grows into the room under the tool region and is allowed to be shorter than what it holds. That pair is what stops the board at the foot of the screen. Without it the board is as tall as its longest column and the main region scrolls instead. - The columns stop where the board does. A column is as tall as what it holds and never taller than the board, so a short column ends early and only a long one reaches the foot, where its list starts to scroll.
- The gutter is inside the scroller. The main region's gutter is
1.5rem. The tool region takes it aspx-lg, and the board takes it as its own padding,px-lg pb-lg, not as a margin: the columns slide under the region's edges and leave at the sidebar's hairline, the first column starts on the line the title starts on, and the same1.5remis there after the last column when the board is scrolled to its end.
#What scrolls
Three things scroll, and each holds one kind of thing.
| Scrolls | Which way | Because |
|---|---|---|
The board, kanban | Across | Four columns of 17.5rem and their gaps need 75.25rem with the gutters; no screen here has that |
A column's list, kanban-items | Along | The Backlog holds seven cards and the board is shorter than they are. Its header stays over it |
The sidebar, shell-sidebar | Along | Only when the navigation is longer than the screen; here it is not |
The page does not scroll because it has nothing of its own to show: the title is already in view and the board has no end a reader scrolls to. If the document moved as well, a drag near the foot would have two things to scroll, and a phone's swipe along a column would sometimes move the page. Each scroller also contains its overscroll, so reaching the end of a list does not start moving the board or the browser's own navigation.
While a card is carried, the behavior scrolls for the hand that is busy: the board when the pointer is near its start or end, and the list of the column under the pointer near its head or foot. That only works when those two are the scrollers, which is the reason to give the board a height and not let the document take over.
#Tablet and Phone
Nothing in the board reflows. The columns keep their width at every size, and the screen decides how many of them show.
- Desktop, 1280 wide: three columns and a part of the fourth. The part is the hint that the board goes on.
- Tablet, 768 wide: the shell is exactly 48rem, so the sidebar still stands. The board has 34rem: one column and most of the next.
- Phone, 390 wide: below 48rem of shell the sidebar leaves, and a row over the title holds the button that opens the same navigation in a drawer. The board shows one column and the edge of the second. A column is
min(17.5rem, 100% - 2rem)wide, so even on a narrower phone the next column shows at the edge and four columns are never squeezed into four slivers.
The button stands in a row of its own, a shell-toggle that leaves with the drawer, so the title starts on the first column's line at every width. It hangs into the gutter with btn-hang-start, which puts its glyph on that line too.
On a touch screen a swipe that starts on a card scrolls: across moves the board, along moves the list. Only the grip takes the touch for a drag, and both of a card's controls reach 44px.
#The data
The example writes nothing while a card moves. The behavior commits a move and dispatches change from the board; the example then reads the arrangement, value, and writes each column's count from the length of its items, so a count cannot disagree with the cards under it. Reset sets value to the arrangement the markup started with. Setting it dispatches nothing, so the counts are written right after.
That listener is also where an application saves. The example keeps nothing: the arrangement lives in the page and is gone on reload. The behavior says what value, move() and the two events promise.
This board has no search, no filter, no way to add or delete a card and no limit to a column. Each of those changes what a place means: a filtered column shows the third card as the first, and a column that is full has to refuse a drop. Add them with the rule for that case decided.
#When to use it
Use a board when the stage a thing is in is the main fact about it, and moving it is the main act. Two to six stages read well; more than that is a table with a status column.
- Figures and panels that are read, with nothing to move: a dashboard.
- One list put in order, where nothing changes list: a sortable in an ordinary page.
- Many rows compared by their columns, sorted, filtered and selected: a table view.
#Accessibility
- Landmarks. The sidebar is an
<aside>that holds the brand, a<nav aria-label="Workspace">and the account; the board and its tool region are the one<main>. The<header>of the tool region is inside<main>, so it is not a banner. Askiplink comes first and lands on the main region. - The outline. The page's
<h1>is the board's name and each column's title is an<h2>. The board is arole="group"named like the page. - The columns are regions. Each is a
<section>named by its title, and its cards are a native list, which says how many it holds. The count beside the title says the same number to the eye, and "cards" after it to a screen reader. - The drawer is a native modal
<dialog>: it keeps focus inside while it is open, closes with Esc, a press outside or its close button, and returns focus to the button that opened it. Its navigation has a label of its own, "Workspace, in the drawer". - Every scroller is reached by the keys. The board and the lists hold buttons, so Tab walks the cards in order, column by column, and the browser brings each into view, across and along. After a move the card is brought into view in its new place and focus stays on its grip.
- The mover is one form for every card. The example names it with the card it was opened for, "Move Draft the launch post", and the status region says each pick, place and drop, and that the board was reset.
- A whole-screen frame cannot grow with its text. At twice the text size the tool region wraps and the board is shorter, and everything is still reached by scrolling the same two ways.
#Related
- KanbanA board of columns whose items are moved within a column or into another, by dragging, with the keys or by choosing a place.
- SortableA list whose items are put in order by dragging a handle or with the keys.
- CardA raised sheet whose parts follow the room the card is given.
- BadgeA small chip for a status, a category or a count.
- AvatarA person or a team as a photo or initials, alone or stacked.
- PopoverA floating sheet anchored to the button that opens it.
- SelectA native select whose option list is drawn in the same material.
- ButtonA raised control that lifts on hover and sinks when pressed.
- HeadingA title in the ink of the page, with the line over it and the paragraph under it.
- NavA vertical list of destinations for a sidebar.
- DialogA native modal on an overlay sheet, opened and closed without script.
- Skip linkThe first link of a page, shown while it has focus, that jumps past the navigation.