Kanban boards
Show work grouped into stages as readable columns.
Live preview
To do 2
In progress 1
Completed 1
HTML
<div class="xsh-kanban" aria-label="Example project board">
<section>
<h3>To do <span>2</span>
</h3>
<article>Requirements review</article>
<article>Design specification</article>
</section>
<section>
<h3>In progress <span>1</span>
</h3>
<article>Component testing</article>
</section>
<section>
<h3>Completed <span>1</span>
</h3>
<article>Project setup</article>
</section>
</div>Installation & markup
Include the local stylesheet and script once on the page, then place the component inside a data-xsh-ui root. The example above works without a build system.
<link rel="stylesheet" href="/dist/xshna-ui.css">
<div data-xsh-ui>
<!-- Add the HTML example above -->
</div>
<script defer src="/dist/xshna-ui.js"></script>Component API
Public classes, attributes and hooks used by this example. Keep the xsh- prefix intact.
| Identifier | Contract |
|---|---|
xsh-kanban | Used by the example markup and component styles or behavior. |
section | Used by the example markup and component styles or behavior. |
article | Used by the example markup and component styles or behavior. |
Accessibility & keyboard
This is a static board composition, not a drag-and-drop task engine.
Implementation note. Use reorder controls or an accessible task manager to enable board editing.
Interaction contract
Behavioral components use the shared delegated runtime; visual-only primitives rely on semantic HTML and CSS. Runtime controls emit bubbling xsh:* CustomEvents; bind application handlers to those events when server persistence, API data or navigation is required.