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
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add kanban-v2Or install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { KanbanV2 } from "@/components/ui/kanban-v2"; <KanbanV2 />Source code
kanban-v2.tsx + 1 helperZero 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
| Prop | Type | Description |
|---|---|---|
| columns | Kanban2Column[] | Column definitions describing headers, cell keys, and sorting. (Default: []) |
| onMove | (cardId: string, from: string, to: string) => void | Callback invoked on move. |