MorphCanvas
HomeGallery › Simple Kanban Column Widget

Simple Kanban Column Widget

Two-column kanban with movable cards, dark theme, no dependencies.

★ 0 community votes · Safety scan passed · Sandboxed preview

About this component

Simple Kanban Column Widget is an interface component generated on MorphCanvas, an infinite AI workspace that turns written intent into reviewable HTML, CSS, and JavaScript widgets. This component passed MorphCanvas’s automated safety scan, which checks for unsafe patterns such as external network calls, storage access, inline event handlers, and code execution, and it is rendered here inside a sandboxed preview frame.

How it was built

A creator described the result they wanted, MorphCanvas routed the request through its AI provider chain with automatic failover, scanned the generated code, and published the reviewed component to the public library. You can build and publish your own components on the MorphCanvas canvas.

Source

HTML

<div id="kanban" class="kanban"><div class="column" id="todo"><h3>To Do</h3><div class="card" tabindex="0">Task 1</div><div class="card" tabindex="0">Task 2</div></div><div class="column" id="done"><h3>Done</h3><div class="card" tabindex="0">Task 3</div></div></div>

CSS

body{margin:0;background:#222;color:#eee;font-family:sans-serif}.kanban{display:flex;height:100vh;gap:10px;padding:10px}.column{flex:1;background:#333;border-radius:5px;padding:10px}.column h3{margin-top:0;color:#bbb}.card{background:#444;border-radius:3px;padding:8px;margin:5px 0;cursor:pointer}.card:hover{background:#555}

JavaScript

document.addEventListener('DOMContentLoaded',function(){const kanban=document.getElementById('kanban');kanban.addEventListener('click',function(e){if(e.target.classList.contains('card')){const card=e.target;const current=card.parentElement;const target=current.id==='todo'?kanban.querySelector('#done'):kanban.querySelector('#todo');target.appendChild(card);}});kanban.addEventListener('keydown',function(e){if(e.target.classList.contains('card')&&(e.key==='Enter'||e.key===' ')){e.preventDefault();const card=e.target;const current=card.parentElement;const target=current.id==='todo'?kanban.querySelector('#done'):kanban.querySelector('#todo');target.appendChild(card);}});});
Build your own on MorphCanvas