# Tasks

A task list: a table filtered from menus you can search with a menu on every row, or the same tasks as a board with a column for each status that you drag them across, one or several at once; details beside them or in a sheet on a phone, and bulk actions that close with Undo and ask only before they delete.

## Guidelines shown here

- [Surfaces](/ui/guidelines/foundations/surfaces/index.md)

  Switch to Board: each column is a lane sunk through the pane to the page's ground, and each task a card raised in it, standing on the lane rather than on the pane; the details still open as a pane beside it.

- [Reordering](/ui/guidelines/patterns/reordering/index.md)

  Switch to Board and drag a task to another column, or focus its title and press Alt and an arrow: it takes that column's status, with Undo in the toast. Tick two and drag one, and the other comes too; press a card's box and drag across others to tick them all, across columns too. Each card's ⋯ moves it without a drag.

- [Destructive actions](/ui/guidelines/patterns/destructive-actions/index.md)

  Select a few tasks and close them: they go at once, with Undo in the toast. Delete… is last in every row's menu, after a separator, and it is the one action that asks first, naming the tasks.

- [Feedback](/ui/guidelines/patterns/feedback/index.md)

  Close, reopen, create or delete a task, and a toast names the task it was done to. New task with no title says so under the field.

- [Actions & buttons](/ui/guidelines/patterns/actions-and-buttons/index.md)

  New task… is the one primary button. Each row's ⋯ holds the actions on that task, and the bulk bar names its actions with their count once tasks are selected: press a row's box and drag down the others to select them all.

- [Toolbars](/ui/guidelines/patterns/toolbars/index.md)

  Narrow the window: List and Board fold into a menu of the view, the search gives way to its icon, then the filters move into the toolbar's ⋯, the last first, while New task… keeps its place. A filter set from there is counted on the ⋯, and marked in its menu.

- [Overlays](/ui/guidelines/patterns/overlays/index.md)

  Each row's menu has a submenu for the assignee, and hovering an assignee previews them in a HoverCard. New task… opens a Dialog. Below lg, a task's details slide in as a Sheet.

- [Choosing a control](/ui/guidelines/patterns/choosing-a-control/index.md)

  Each filter is a menu you can search, picking one status, person or label, and it applies at once. List and Board is a SegmentedControl: two ways to show the same tasks, switched in place. Rows are picked with Checkboxes for the bulk bar, and New task picks its assignee and label from Selects.

- [Forms](/ui/guidelines/patterns/forms/index.md)

  New task: submit it with an empty title, and the message lands under the field, which is checked again as you type.

- [Loading, empty & error](/ui/guidelines/patterns/loading-empty-and-error/index.md)

  Filter until nothing is left: No tasks match, with Clear filters. Scroll to the end, and Load more fetches the next page and says how many remain.

- [Color](/ui/guidelines/foundations/color/index.md)

  Each label takes the colour stored for it: in the table and on the board, in a task's details, and where a label is picked, the Label filter's menu and New task's Select, so a label is found by its colour wherever it is chosen.

- [Density](/ui/guidelines/foundations/density/index.md)

  A table row is a key, a title and its badges, with the row's ⋯ always drawn. Press Touch in the bar above, and the rows make room for a thumb around their controls.

- [Desktop & pointer](/ui/guidelines/platforms/desktop-and-pointer/index.md)

  The ⋯ on a row and on a card never waits for hover, a task's title, on the board too, is a link that opens in a new tab, and the HoverCard on an assignee only repeats what the Assignee filter offers.

- [Touch & mobile](/ui/guidelines/platforms/touch-and-mobile/index.md)

  On a phone the filters that do not fit wait in the toolbar's ⋯, the board shows a column at a time with the next at the edge and lifts a card held still under a finger, and a task opens as a Sheet that fills the screen.

## Components

- [ui · Board](/ui/storybook/?path=/docs/ui-board--docs)
- [ui · ConfirmDialog](/ui/storybook/?path=/docs/ui-confirmdialog--docs)
- [ui · EmptyState](/ui/storybook/?path=/docs/ui-emptystate--docs)
- [ui · FilterMenu](/ui/storybook/?path=/docs/ui-filtermenu--docs)
- [ui · usePagedAppend](/ui/storybook/?path=/docs/ui-hooks-usepagedappend--docs)
- [ui · useSelection](/ui/storybook/?path=/docs/ui-hooks-useselection--docs)
- [ui · LoadMoreFooter](/ui/storybook/?path=/docs/ui-loadmorefooter--docs)
- [ui · Avatar](/ui/storybook/?path=/docs/ui-primitives-avatar--docs)
- [ui · Badge](/ui/storybook/?path=/docs/ui-primitives-badge--docs)
- [ui · Button](/ui/storybook/?path=/docs/ui-primitives-button--docs)
- [ui · CopyButton](/ui/storybook/?path=/docs/ui-primitives-copybutton--docs)
- [ui · Dialog](/ui/storybook/?path=/docs/ui-primitives-dialog--docs)
- [ui · DropdownMenu](/ui/storybook/?path=/docs/ui-primitives-dropdownmenu--docs)
- [ui · GroupHeading](/ui/storybook/?path=/docs/ui-primitives-groupheading--docs)
- [ui · HoverCard](/ui/storybook/?path=/docs/ui-primitives-hovercard--docs)
- [ui · Input](/ui/storybook/?path=/docs/ui-primitives-input--docs)
- [ui · Label](/ui/storybook/?path=/docs/ui-primitives-label--docs)
- [ui · LinkChip](/ui/storybook/?path=/docs/ui-primitives-linkchip--docs)
- [ui · Pane](/ui/storybook/?path=/docs/ui-primitives-pane--docs)
- [ui · SegmentedControl](/ui/storybook/?path=/docs/ui-primitives-segmentedcontrol--docs)
- [ui · Select](/ui/storybook/?path=/docs/ui-primitives-select--docs)
- [ui · Separator](/ui/storybook/?path=/docs/ui-primitives-separator--docs)
- [ui · Sheet](/ui/storybook/?path=/docs/ui-primitives-sheet--docs)
- [ui · Table](/ui/storybook/?path=/docs/ui-primitives-table--docs)
- [ui · Timestamp](/ui/storybook/?path=/docs/ui-primitives-timestamp--docs)
- [ui · Toaster](/ui/storybook/?path=/docs/ui-primitives-toaster--docs)
- [ui · Tooltip](/ui/storybook/?path=/docs/ui-primitives-tooltip--docs)
- [ui · Toolbar](/ui/storybook/?path=/docs/ui-toolbar--docs)
