FlowBoard (Kanban)

Kanban drag & drop local. Useful de InteraUI v1.3.0.

In this guide, we showcase the FlowBoard component, kanban de 3 columnas con crear, mover y borrar.

Preview

Code

import "@elizabthpazp/intera-ui/dist/globals.css";
import { FlowBoard } from "@elizabthpazp/intera-ui";

export default function Home() {
  return (
    <FlowBoard
      darkMode
      initial={[
        { id: "t1", col: "todo", title: "Diseñar landing", tag: "Design" },
        { id: "t2", col: "doing", title: "Copy hero", tag: "Copy" },
      ]}
      onChange={(tasks) => save(tasks)}
    />
  );
}

Component Details

The FlowBoard component consists of:

  • Crear con Enter, drag nativo entre columnas (HTML5 DnD) y borrar (visible en touch).
  • Conteos por columna + x/y completadas.
  • 100% local, sin backend.

Props

Prop NameTypeDefaultDescription
darkModebooleanfalseEnables dark mode styling if true.
initialArray<{id, col, title, tag}>4 democol: "todo" | "doing" | "done".
onChange(tasks) => void()=>{}Tras crear / mover / borrar.
classNamestring""Additional classes merged via cn().
styleCSSProperties-Inline styles.

Features

  • ⚠️ El DnD HTML5 no funciona en mobile-touch: para mover en móvil usa los botones de tu app consumiendo onChange.
  • md:grid-cols-3. Location: src/components/interactive/FlowBoard.jsx.

¿No estás seguro si Intera UI es para ti?

⚡Desarrollado con ask-ai-badge — insignia de IA lista para tu propio proyecto