> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Task Manager

A task list with All, Active and Done tabs, priority badges, a sheet for adding tasks and a long-press menu for deleting them.

Built with the [UI components](/dolan/index.md): [Tabs](/dolan/tabs.md), [Checkbox](/dolan/checkbox.md), [Badge](/dolan/badge.md), [Sheet](/dolan/sheet.md), [Input](/dolan/input.md), [Select](/dolan/select.md), [Action Sheet](/dolan/action-sheet.md), [Empty State](/dolan/empty-state.md), [Label](/dolan/label.md) and [Button](/dolan/button.md).


## What it shows

- **Filtered tabs** — Tabs switch between three `computed()` lists derived from one `tasks` signal. Each tab trigger shows its count in a Badge.
- **One template, three lists** — a single `<ng-template #taskList>` renders every tab's list through `*ngTemplateOutlet`.
- **Completing a task** — the Checkbox's `(checkedChange)` flips `done`, and class bindings strike the title through.
- **Priority badges** — `priorityVariant()` maps high, medium and low to the Badge's `destructive`, `default` and `secondary` variants.
- **Adding and deleting** — + New opens a Sheet with an Input and a Select, a Signal Form bound with `[formField]`. Add Task goes through `submit()`, which shows an error under an empty title rather than adding the task. A long press, `(bindlongpress)`, opens an Action Sheet with Delete.

## Related

- [Notification Center](/examples/notification-center.md)
- [Todo List](/examples/todo-list.md)
