ComponentDeprecateddata1 KB gzipZero dependencies

Kanban V2

Drag-and-drop kanban board v2 with animated column transfers.

This component is deprecated. Use kanban-lite for new projects.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add kanban-v2

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { KanbanV2 } from "@/components/ui/kanban-v2"; <KanbanV2 />

Source code

kanban-v2.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxkanban-v2.tsx86 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface Kanban2Column {  id: string;  title: string;  cards: { id: string; label: string }[];} export interface KanbanV2Props extends React.HTMLAttributes<HTMLDivElement> {  columns: Kanban2Column[];  onMove?: (cardId: string, from: string, to: string) => void;} /** Drag-and-drop Kanban board v2: HTML5 drag reordering across columns. */export function KanbanV2({ columns = [], onMove, className, ...props }: KanbanV2Props) {

Props

PropTypeDescription
columnsKanban2Column[]Column definitions describing headers, cell keys, and sorting. (Default: [])
onMove(cardId: string, from: string, to: string) => voidCallback invoked on move.