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/TodoList.tsx
src/views/TodoList.tsx
import { useState, type FormEvent } from "react";import { COLUMN_LABEL, newId, type Task } from "../types"; type Props = { tasks: Task[]; setTasks: (next: Task[] | ((prev: Task[]) => Task[])) => void }; export function TodoList({ tasks, setTasks }: Props) {  const [title, setTitle] = useState("");  const [showDone, setShowDone] = useState(true);   function add(e: FormEvent) {    e.preventDefault();    const t = title.trim();    if (!t) return;    setTasks((prev) => [{ id: newId(), title: t, column: "todo", createdAt: Date.now() }, ...prev]);    setTitle("");  }  const toggle = (id: string) => setTasks((prev) => prev.map((t) => (t.id === id ? { ...t, column: t.column === "done" ? "todo" : "done" } : t)));  const remove = (id: string) => setTasks((prev) => prev.filter((t) => t.id !== id));  const visible = tasks.filter((t) => showDone || t.column !== "done");  const remaining = tasks.filter((t) => t.column !== "done").length;   return (    <div className="mx-auto max-w-xl">      <form onSubmit={add} className="flex gap-2 rounded-2xl border border-slate-200 bg-white p-2 shadow-sm focus-within:border-teal-300">        <label className="sr-only" htmlFor="new-task">          New task        </label>        <input id="new-task" value={title} onChange={(e) => setTitle(e.target.value)} placeholder="Add a task and press Enter" className="flex-1 bg-transparent px-2 text-sm outline-none" />        <button type="submit" className="rounded-xl bg-teal-600 px-4 py-2 text-sm font-medium text-white hover:bg-teal-700">          Add        </button>      </form>      <div className="mt-5 flex items-center justify-between px-1 text-sm text-slate-500">        <span>{remaining} remaining</span>        <label className="flex items-center gap-2">          <input type="checkbox" checked={showDone} onChange={(e) => setShowDone(e.target.checked)} className="accent-teal-600" /> Show completed        </label>      </div>      <ul className="mt-3 overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm">        {visible.map((t) => (          <li key={t.id} className="group flex items-center gap-3 border-b border-slate-100 px-4 py-3 last:border-0">            <input              type="checkbox"              checked={t.column === "done"}              onChange={() => toggle(t.id)}              aria-label={"Mark " + t.title + (t.column === "done" ? " as not done" : " as done")}              className="h-5 w-5 rounded-full accent-teal-600"            />            <span className={"flex-1 text-sm " + (t.column === "done" ? "text-slate-400 line-through" : "")}>{t.title}</span>            <span className={"rounded-full px-2 py-0.5 text-[11px] " + (t.column === "doing" ? "bg-amber-50 text-amber-700" : t.column === "done" ? "bg-emerald-50 text-emerald-700" : "bg-slate-100 text-slate-500")}>{COLUMN_LABEL[t.column]}</span>            <button type="button" onClick={() => remove(t.id)} className="text-xs text-slate-300 opacity-0 transition hover:text-red-600 focus:opacity-100 group-hover:opacity-100" aria-label={"Delete " + t.title}>              Delete            </button>          </li>        ))}        {visible.length === 0 ? (          <li className="p-10 text-center">            <p className="text-sm font-medium">All clear</p>            <p className="mt-1 text-sm text-slate-500">Add a task above to get started.</p>          </li>        ) : null}      </ul>    </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.