Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tutorials

These three tutorials build complete applications one feature at a time. You can read the full source for each in packages/nano-ui-demo/examples/.

TutorialWhat you buildWhat you learn
1. Build a Todo ListA filterable, reorderable todo list with inline editing.Var, stable keys, per-row state, scope, derived values, and Enter/Escape handling.
2. Build a NotepadA text editor with a menu bar, file dialogs, and unsaved-change warnings.Menus and popups, keyboard shortcuts, TextDocument, modals, and close confirmation.
3. Live Data & Background WorkBackground search, streaming progress, and a live chart.Task, Stream, spinners, progress bars, charts, and cancellation.

Start with the Quick Start if you have not set up your toolchain yet. From a checkout of nano-ui, you can run any of the finished examples directly:

cabal run nano-ui-example-todo-list
cabal run nano-ui-sdl-notepad
cabal run nano-ui-example-tasks
cabal run nano-ui-example-live-chart