About
A drag and drop task board with columns, tags and assignee avatars. Cards move between and within columns by mouse or touch, or with Shift + Arrow keys, and each column can add new cards.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Kanban Board to your project and fits it to your theme.
Code
How Kanban Board is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
// This is a file with a demo for your component
// That's what users will see in the preview
// Create new files in this directory to add more demos
"use client";
import * as React from "react";
import { LayoutGrid } from "lucide-react";
import { Component, type KanbanColumn } from "@/components/ui/kanban-board";
export default function DemoOne() {
const [columns, setColumns] = React.useState<KanbanColumn[] | undefined>(undefined);
const total = columns?.reduce((sum, col) => sum + col.cards.length, 0) ?? 8;
return (
<div className="flex min-h-[640px] w-full flex-col items-center justify-center gap-6 bg-background px-4 py-10 text-foreground">
<div className="flex w-full max-w-6xl items-center justify-between gap-3">
<div className="flex items-center gap-2.5">
<span className="grid size-9 place-items-center rounded-lg bg-primary text-primary-foreground">
<LayoutGrid className="size-4" aria-hidden="true" />
</span>
<div>
<h2 className="text-base font-semibold leading-5">Website launch</h2>
<p className="text-xs text-muted-foreground">{total} cards. Drag them around, or use Shift + Arrow keys.</p>
</div>
</div>
</div>
<Component onChange={setColumns} />
</div>
);
}















