defmodule PyrauiWeb.DocsLive.KanbanDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Kanban Board

Kanban / Task Board component with draggable columns and cards for project management apps.

Basic Usage


    tasks = [
      %{
        id: "task-1",
        name: "Project Planning",
        start_date: ~D[2024-01-01],
        end_date: ~D[2024-01-05],
        progress: 30
      }
    ]

    <.gantt id="project-timeline" tasks={@tasks} />
            

With Custom Date Range


    <.gantt
      id="project-timeline"
      tasks={@tasks}
      start_date={~D[2024-01-01]}
      end_date={~D[2024-12-31]}
    />
            

Features

  • Draggable tasks to adjust dates
  • Resizable task bars
  • Dependency lines between tasks
  • Progress indicators
  • Customizable colors and styling
  • Auto-calculated date ranges
""" end end