themeocean

Kanban Board

AI chats

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>
  );
}

Dependencies

More by themeocean

View all
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    776
  • Floating Glassmorphic Navbar with Morphing Pill Indicator

    Floating Glassmorphic Navbar with Morphing Pill Indicator

    86
  • Mac-Style Floating Dock

    Mac-Style Floating Dock

    79
  • Nexus 3D Animated Login - Futuristic Authentication UI

    Nexus 3D Animated Login - Futuristic Authentication UI

    69
  • Animated 3D Perspective Hero with Floating Glass Layers

    Animated 3D Perspective Hero with Floating Glass Layers

    46
  • Interactive AI Agent Workflow Node Card

    Interactive AI Agent Workflow Node Card

    37
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • Interactive AI Voice Assistant Audio Visualizer

    Interactive AI Voice Assistant Audio Visualizer

    24

More in AI chats

View all
  • AI Actions

    AI Actions

    372
  • Agent Chat

    Agent Chat

    21
  • Aquarium Prompt

    Aquarium Prompt

    212
  • Illos Knowledge Sources

    Illos Knowledge Sources

    71
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    32
  • AI Chat Composer

    AI Chat Composer

    17
  • AI Response

    AI Response

    16
  • Thumbs pour

    Thumbs pour