Componentdata1.43 KB gzipZero dependencies
Kanban Lite
Queue and stage progression board with notch cards.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add kanban-liteOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { KanbanLite } from "@/components/ui/kanban-lite"; <KanbanLite onMoveTicket={(ticketId, from, to) => console.log(ticketId, from, to)} />Source code
kanban-lite.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxkanban-lite.tsx190 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface KanbanTicket { id: string; code: string; title: string; seat: string; tier: "VIP" | "GA" | "PRESS" | "STAFF";} export interface KanbanColumn { id: string; title: string; tickets: KanbanTicket[];}Props
| Prop | Type | Description |
|---|---|---|
| columns | KanbanColumn[] | Column definitions describing headers, cell keys, and sorting. |
| onMoveTicket | (ticketId: string, fromColId: string, toColId: string) => void | Callback invoked on move ticket. |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |