Skip to content

Kanban Column Lift

A copy-paste drag & drop component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Drag & DropHTMLCSSany framework

Reorder with Alt plus Arrow Up or Arrow Down.

To Do
Design review
Write copy
Ship v2

Copy into your project

HTML
<!-- Kanban Column Lift — set .nuda-dd2-kanban-lift__card--drag on the
     grabbed card and .nuda-dd2-kanban-lift__card--gap on the sibling the
     gap opens under. Keyboard: focus a card, Alt+ArrowUp/ArrowDown reorders. -->
<div class="nuda-dd2-kanban-lift" role="listbox" aria-label="To Do column" aria-describedby="dd2-kanban-lift-desc">
  <p id="dd2-kanban-lift-desc" class="nuda-dd2-kanban-lift__sr">Reorder with Alt plus Arrow Up or Arrow Down.</p>
  <span class="nuda-dd2-kanban-lift__title">To Do</span>
  <div class="nuda-dd2-kanban-lift__list">
    <div class="nuda-dd2-kanban-lift__card" role="option" aria-selected="false">Design review</div>
    <div class="nuda-dd2-kanban-lift__card nuda-dd2-kanban-lift__card--gap" role="option" aria-selected="false">Write copy</div>
    <div class="nuda-dd2-kanban-lift__card nuda-dd2-kanban-lift__card--drag" role="option" aria-selected="true" tabindex="0">Ship v2</div>
  </div>
</div>
CSS
.nuda-dd2-kanban-lift {
  width: 150px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}

.nuda-dd2-kanban-lift__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.nuda-dd2-kanban-lift__title {
  font: 700 10px ui-sans-serif,system-ui;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.nuda-dd2-kanban-lift__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nuda-dd2-kanban-lift__card {
  padding: 9px 10px;
  background: #161616;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font: 500 11px ui-sans-serif,system-ui;
  color: #cfcfcf;
  cursor: grab;
}

.nuda-dd2-kanban-lift__card:focus-visible {
  outline: 2px solid #e4ff54;
  outline-offset: 2px;
}

.nuda-dd2-kanban-lift__card--gap {
  animation: nuda-dd2-kanban-lift-gap 2.8s ease-in-out infinite;
}

.nuda-dd2-kanban-lift__card--drag {
  position: relative;
  z-index: 2;
  color: #fafafa;
  border-color: rgba(228,255,84,.5);
  animation: nuda-dd2-kanban-lift-drag 2.8s ease-in-out infinite;
}

@keyframes nuda-dd2-kanban-lift-drag {
  0%,14%,100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  40%,74% {
    transform: translateY(-16px) scale(1.04);
    box-shadow: 0 14px 28px -10px rgba(0,0,0,.55),0 0 0 1.5px #e4ff54;
  }
}

@keyframes nuda-dd2-kanban-lift-gap {
  0%,14%,100% {
    transform: translateY(0);
  }
  40%,74% {
    transform: translateY(16px);
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-dd2-kanban-lift__card--gap,.nuda-dd2-kanban-lift__card--drag {
    animation: none;
  }
}

How to use Kanban Column Lift

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More drag & drop components

← Browse all NudaUI components