Kanban Board
A highly performant, zero-dependency Native HTML5 drag-and-drop Kanban Board built for modern project management workflows.
layout Premium Plan
Availability
Included in Premium Plans
This flagship component is part of Future UI's monthly & yearly Premium plans and is not distributed via the free public CLI.
Import
import { KanbanBoard } from "@/components/ui/kanban"
Layout Variant
Color Theme
Theme
Layout
Shape
Spacing
Named Keys & Props
Pass these exact named keys as props on <KanbanBoard />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)variantVisual style"solid""outline""ghost""link"themeSurface theme"default""modern""clean""futuristic""brutal""halftone"shapeCorner shape"default""square""rounded""sharp"spacingInner spacing"default""2x""4x""6x""8x"Usage Example
A basic implementation example to get you started.
Example Implementation
import { KanbanBoard, KanbanColumn, KanbanCard } from"@/components/ui/kanban";
export default function Example() {
return (
<KanbanBoard onDragEnd={({ type, activeId, overId }) => console.log(type, activeId, overId)}>
<KanbanColumn id="todo"title="To Do">
<KanbanCard id="card1"columnId="todo"title="Implement Drag & Drop"/>
</KanbanColumn>
<KanbanColumn id="done"title="Done">
<KanbanCard id="card2"columnId="done"title="Setup project"/>
</KanbanColumn>
</KanbanBoard>
);
}Features
Key capabilities and highlights.
Key Capabilities
- ◆Zero heavy dependencies, utilizes pure native HTML5 drag and drop events.
- ◆Smooth drop-zone animations using framer-motion principles.
- ◆Supports reordering columns horizontally and cards vertically between columns.
- ◆Compound architecture consisting of <KanbanBoard>, <KanbanColumn>, and <KanbanCard>.
- ◆Includes variants: Default, Compact, Enterprise, and Minimal.
Notes
Important implementation details to consider.
Implementation Details
- ◆Overview: A powerful layout component for managing workflow states via drag and drop.
- ◆Plan: Included in Future UI Monthly & Yearly Premium Plans.
- ◆Drag and Drop: Listen to the'onDragEnd'event on the <KanbanBoard> to update your state.
- ◆Cards: The <KanbanCard> supports rich meta like assignees, due dates, labels, and priority indicators.
- ◆Columns: The <KanbanColumn> serves as both a droppable area for cards and a draggable entity itself.