Skip to content

Web apps · React

Todo, kanban and notes

A productivity app with a todo list, a drag-and-drop kanban board, and a notes editor sharing one local dataset.
Todo, kanban and notes starter, as built from its own files
Starter screenshot captured from this template's own build at 1440×900. It shows the template as it ships, not output generated from a prompt.

What you get

Three views over persisted local state: a classic todo list with completion and filtering, a three-column board with HTML5 drag-and-drop plus keyboard-friendly move buttons, and a two-pane notes editor. Everything is typed and saved to localStorage through a tiny hook, which makes it a good base for learning state management before adding a database.

Files, exactly as copied.

Exactly what is copied into a new project: 14 files, nothing generated.

Raw data: GET /api/v1/templates/vite-react-tasks

src/views/Board.tsx
src/views/Board.tsx
import { useState } from "react";import { COLUMNS, COLUMN_LABEL, newId, type Column, type Task } from "../types"; type Props = { tasks: Task[]; setTasks: (next: Task[] | ((prev: Task[]) => Task[])) => void }; export function Board({ tasks, setTasks }: Props) {  const [dragging, setDragging] = useState<string | null>(null);  const move = (id: string, column: Column) => setTasks((prev) => prev.map((t) => (t.id === id ? { ...t, column } : t)));  const addTo = (column: Column) => {    const title = window.prompt("Task title");    if (title?.trim()) setTasks((prev) => [...prev, { id: newId(), title: title.trim(), column, createdAt: Date.now() }]);  };   return (    <div className="grid gap-4 md:grid-cols-3">      {COLUMNS.map((col) => (        <section          key={col}          aria-labelledby={"col-" + col}          onDragOver={(e) => e.preventDefault()}          onDrop={() => {            if (dragging) move(dragging, col);            setDragging(null);          }}          className="flex min-h-48 flex-col rounded-2xl border border-slate-200 bg-white/80 p-3 shadow-sm"        >          <div className="flex items-center justify-between">            <h2 id={"col-" + col} className="text-sm font-medium">              {COLUMN_LABEL[col]} <span className="text-slate-400">{tasks.filter((t) => t.column === col).length}</span>            </h2>            <button type="button" onClick={() => addTo(col)} className="rounded-md px-2 py-1 text-xs text-teal-600 hover:bg-teal-50">              + Add            </button>          </div>          <ul className="mt-3 flex-1 space-y-2">            {tasks              .filter((t) => t.column === col)              .map((t) => {                const i = COLUMNS.indexOf(col);                return (                  <li key={t.id} draggable onDragStart={() => setDragging(t.id)} onDragEnd={() => setDragging(null)} className="cursor-grab rounded-xl border border-slate-200 bg-white p-3 text-sm shadow-sm active:cursor-grabbing">                    <p>{t.title}</p>                    <div className="mt-2 flex justify-between">                      <button type="button" disabled={i === 0} onClick={() => move(t.id, COLUMNS[i - 1] ?? col)} className="text-xs text-slate-500 disabled:opacity-30" aria-label={"Move " + t.title + " to " + (COLUMN_LABEL[COLUMNS[i - 1] ?? col])}>                        ← Back                      </button>                      <button type="button" disabled={i === COLUMNS.length - 1} onClick={() => move(t.id, COLUMNS[i + 1] ?? col)} className="text-xs text-slate-500 disabled:opacity-30" aria-label={"Move " + t.title + " to " + (COLUMN_LABEL[COLUMNS[i + 1] ?? col])}>                        Forward →                      </button>                    </div>                  </li>                );              })}          </ul>        </section>      ))}    </div>  );}

Remix

Remix this template.

Describe what to change and the agent starts from Todo, kanban and notes's files. The box is already started for you: finish “Start from Todo, kanban and notes and …”

Agent ready

Creates a free account first; your idea is carried over.

Dependencies

Documented from the template's package.json. The runtime has a prebuilt dependency set for Vite + React + TypeScript, so installs are fast.

  • react^19.1.0
  • react-dom^19.1.0
  • vite^6.3.0
  • @vitejs/plugin-react^4.4.0
  • tailwindcss^4.1.0
  • @tailwindcss/vite^4.1.0
  • typescript^5.8.0

How it runs

Framework
Vite + React + TypeScript
Dev command
npm run dev
Build command
npm run build
Output directory
dist
Port
5173
Entry route
/

Projects run in an isolated sandbox with a live preview. Read the projects documentation for settings, snapshots and deployment.

All templates

Build on Todo, kanban and notes

Create a free account, start from this template, and ask the AI agent to turn it into your app.