# Task board card

> Canonical HTML: https://screenrig.ai/docs/cards/task-board/

A kanban board: columns of task cards with priority, assignee, label and due day, counts open and late work.

Category: Operations. Tags: Offices and workplaces, Numbers and metrics, Schedules.

## Previews

![Task board](/cards/task-board/v1/screenshots/canvas-bloom.webp?sha=1fddb6c292bf1331cdda2d18e8a1ec976a2f697d230ebdf624490fd1656ed172)

Canvas

![Task board](/cards/task-board/v1/screenshots/corner-bloom.webp?sha=c8d3d76a6d2749998420300eddff3eb1df55c1b9a166b5be4cce4dc852739190)

Corner

![Task board](/cards/task-board/v1/screenshots/chip-bloom.webp?sha=0a40716017983909ba32fd5ba1aca6a52fd49a8bf992803929c6f30989fd8cc0)

Chip

## Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

[Card views, themes and publishing](/docs/cards/). [Browse the gallery](/apps/#cards).

## Data and privacy

Feed: `screenrig.tasks/v1`.

Feed documents carry source attribution. The Player supplies the feed to the card.

## Properties

For theme, background, accent and position, see [Common properties](/docs/cards/#common-properties).

Set static properties in `params`. Bind `data` to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in `params`. Nested rows describe the contents of their parent property.

### Static properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `title` | string | `""` | maxLength: `40` | Empty uses the feed's board name, else Tasks. |
| `staleMinutes` | integer | `30` | minimum: `1`; maximum: `1440` | A feed older than this shows how long ago it was fetched. |

### Dynamic properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `columns` | array | `[]` | maxItems: `6` | The board's columns, left to right. A feed takes precedence. |
| `columns[].name` | string |  | minLength: `1`; maxLength: `28`; Required |  |
| `columns[].done` | boolean | `false` |  | Marks a finished stage. A column named Done, Complete, Closed, Shipped, Released or Resolved is one without it. |
| `columns[].tasks` | array | `[]` | maxItems: `100` |  |
| `columns[].tasks[].id` | string | `""` | maxLength: `40` |  |
| `columns[].tasks[].title` | string |  | minLength: `1`; maxLength: `140`; Required |  |
| `columns[].tasks[].assignee` | string | `""` | maxLength: `40` |  |
| `columns[].tasks[].priority` | string | `""` | `""`, `"low"`, `"medium"`, `"high"`, `"urgent"` |  |
| `columns[].tasks[].due` | string | `""` | maxLength: `40` | A date (YYYY-MM-DD) or an ISO 8601 instant; a task is late once its day has passed. |
| `columns[].tasks[].label` | string | `""` | maxLength: `24` |  |

## Canvas example

Add this item to a playlist page’s `primitives`. [Publish the playlist and assign a screen](/docs/cards/#publish-a-card-canvas).

```json
{
  "id": "task-board",
  "primitive": "card",
  "card": "task-board",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "task-board-main"
}
```

## Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see [API authentication](/docs/authentication/).

```console
curl --request PUT "https://api.screenrig.ai/api/card-data/task-board-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"columns":[]}}'
```
