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/App.tsx
src/App.tsx
import { useState } from "react";import { useLocalStorage } from "./useLocalStorage";import { TodoList } from "./views/TodoList";import { Board } from "./views/Board";import { Notes } from "./views/Notes";import { newId, type Note, type Task } from "./types"; const VIEWS = ["list", "board", "notes"] as const;type View = (typeof VIEWS)[number]; const now = Date.now();const seedTasks: Task[] = [  { id: newId(), title: "Try the board view", column: "todo", createdAt: now },  { id: newId(), title: "Ask Codexa to add due dates", column: "doing", createdAt: now },  { id: newId(), title: "Write the onboarding email", column: "todo", createdAt: now },  { id: newId(), title: "Review the pricing page copy", column: "doing", createdAt: now },  { id: newId(), title: "Book the team retro", column: "done", createdAt: now },  { id: newId(), title: "Set up the project", column: "done", createdAt: now },];const seedNotes: Note[] = [{ id: newId(), title: "Welcome", body: "Notes are saved in your browser as you type. Ask Codexa to add tags, search or a real database.", updatedAt: now }]; export default function App() {  const [view, setView] = useState<View>("list");  const [tasks, setTasks] = useLocalStorage<Task[]>("tasks", seedTasks);  const [notes, setNotes] = useLocalStorage<Note[]>("notes", seedNotes);  const done = tasks.filter((t) => t.column === "done").length;   return (    <div className="min-h-screen bg-[linear-gradient(180deg,#f0fdfa_0%,#f8fafc_320px)] text-slate-900">      <header className="border-b border-slate-200/70 bg-white/70 backdrop-blur">        <div className="mx-auto flex max-w-5xl flex-wrap items-center justify-between gap-3 px-4 py-3 sm:px-6">          <h1 className="flex items-center gap-2.5 font-semibold tracking-tight">            <span className="grid h-8 w-8 place-items-center rounded-lg bg-teal-600 text-white shadow-sm shadow-teal-600/30">              <svg viewBox="0 0 24 24" className="h-4 w-4" fill="none" stroke="currentColor" strokeWidth={2.5} strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">                <path d="M5 12l5 5L20 7" />              </svg>            </span>            Tasks          </h1>          <div className="flex rounded-xl bg-slate-100 p-1 text-sm" role="tablist" aria-label="View">            {VIEWS.map((v) => (              <button key={v} type="button" role="tab" aria-selected={view === v} onClick={() => setView(v)} className={"rounded-lg px-3.5 py-1.5 capitalize transition " + (view === v ? "bg-white font-medium shadow-sm" : "text-slate-500 hover:text-slate-900")}>                {v}              </button>            ))}          </div>        </div>      </header>      <main className="mx-auto max-w-5xl px-4 py-8 sm:px-6" role="tabpanel">        {view !== "notes" ? (          <div className="mx-auto mb-6 flex max-w-xl items-end justify-between gap-4 data-[wide=true]:max-w-none" data-wide={view === "board"}>            <div>              <p className="text-sm text-slate-500">{new Date().toLocaleDateString(undefined, { weekday: "long", day: "numeric", month: "long" })}</p>              <h2 className="mt-1 text-3xl font-semibold tracking-tight">Today</h2>            </div>            <div className="w-40 text-right">              <p className="text-xs text-slate-500">                {done} of {tasks.length} done              </p>              <div className="mt-1.5 h-1.5 rounded-full bg-slate-200">                <div className="h-1.5 rounded-full bg-teal-600 transition-all" style={{ width: (tasks.length ? (done / tasks.length) * 100 : 0) + "%" }} />              </div>            </div>          </div>        ) : null}        {view === "list" ? <TodoList tasks={tasks} setTasks={setTasks} /> : view === "board" ? <Board tasks={tasks} setTasks={setTasks} /> : <Notes notes={notes} setNotes={setNotes} />}      </main>    </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.