Skip to content

Task Detail

A task's own page, built on Page header: breadcrumbs, status, owner and meta, progress, a milestone list, steps, activity and files - inline or in a side sheet, for people's cards and agents' tasks alike.

On this page

Examples

Agent card

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

card / people / columns / boardTitle
KanbanCard / KanbanPerson[] / KanbanColumn[] / string
Breadcrumbs (board › column › key), the title, the status pill (a live card state, else the column), and meta: assignee, labels, due, points.
description / meta / owner / status
ReactNode / PageHeaderMeta[] / person / { label, tone }
Overrides and extra meta items.
checklist
{ id, title, done, meta? }[]
The Overview's milestone list and its progress (“3 of 5 done · 60%”). Without it, card.checklist counts give the progress.
steps
DetailStep[]
A Steps tab and the Overview list: { id, title, status: done | running | planned | failed, meta?, icon?, expand? }. Rows with expand open in place.
activity / files / comments
DetailActivity[] / DetailFile[] / ReactNode
Activity (newest first; Overview shows 3), Files (lost ones struck through) and a Comments slot (with commentsCount).
onMove / onAssign / onDelete / link
(column) => void / () => void / () => void / string
Generic actions: primary “Move to ⟨next unlocked column⟩”, Assign, Copy link, and ⋯ with a Move to › submenu and Delete. Locked cards don't move.
primaryAction / actions / moreActions
PageHeaderAction / …[] / …[]
Defaultgeneric
Replace the generic actions (agentDetailProps passes Approve / Deny / Retry / Follow).
scrollContainer / trailing / now / defaultTab
RefObject / ReactNode / number / string
Defaultwindow / - / Date.now() / "overview"
Where the header condenses, a node at the end of the action row (the sheet's close button), the clock, the first tab.
layout / drawer
"page" | "drawer" / Partial<TaskDrawerProps>
Default"page"
"drawer" is the compact side-sheet body. TaskDrawer can also be used on its own: keyText, project, title (onTitleChange edits it), rows (status, priority, assignee, labels, due, blocks, blockedBy; a row without onChange is read only), description with an editor slot, subtasks with progress, one activity timeline (an entry with a comment shows a bubble), attachments, onCopyLink, onExpand.
rows.priority.options
readonly DetailPriority[]
Defaultall four
The levels the priority menu offers, in order, for an app with its own set (say low, medium, high). The value still shows as priority bars.
rows.labels.freeform
boolean
Defaultfalse
Type labels instead of picking from options: comma separated, edited in place. A label you keep keeps its tone; repeats are dropped, case aside.
subtaskNoun / countLabel
{ plural, singular } / (done, total) => string
DefaultSubtasks / subtask / "2 of 5"
The list's wording, for tasks whose children are not subtasks (say { plural: "Acceptance criteria", singular: "criterion" }): the heading, Add, Delete and New item labels and their accessible names. countLabel changes the count after the title.
commentBox
ReactNode
Your own comment box (a Markdown editor, say) in place of the built-in one. Shown even without onComment.
files
{ id, label: ReactNode }[]
Attachments. A label can be any node: a link, or a file name with its size.
DetailSheet
{ open, onOpenChange, label, width?, blur?, children: ({ scroller, close }) => ReactNode }
Defaultwidth 720, blur off
A right-side native dialog: focus trap, Escape, backdrop click; full screen under 640px. The page behind is dimmed, not blurred, so a list stays readable; blur turns the blur on.
agentDetailProps
({ snap, task?, approval?, now, onApprove?, onDeny?, onRetry?, onOpenInRun?, following?, onFollow? })
From kanban/agent-task-detail: steps from the agent's tool calls (each opens a ToolCallCard), an events timeline, hand-off files, agent meta and actions.

When to use

When to use

  • A task's own page or side sheet: status, owner, progress, milestones, steps, activity and files.
  • A compact drawer (layout="drawer"): properties as rows, subtasks with progress and one activity timeline.
  • Opening a card from a board without losing the board behind it.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Task Detail to my app and wire it to my own data.
  • I need a task's own page or side sheet: status, owner, progress, milestones, steps, activity and files. Set that up with the Knowns UI Task Detail.
  • Which Task Detail props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "task-detail" }) and search_docs({ query: "task detail" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Task Detail, or found something off? We read every message.