A task card that branches into subtasks with notes and roles, agents and people. Connectors draw in, the cards settle with a slight tilt, and a cursor drags one subtask into a new slot.
On this page
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- task
{ title: string; planner?: FlowAssignee }- Default
a pricing report, split by a Planner - The task card. `planner` is who splits it; it shows under the title.
- subtasks
FlowSubtask[]- Default
three subtasks - 1 to 4 of { title, note?, assignee: { name, kind?, model? } }. `kind` is "agent" (rounded badge, model logo) or "human" (round badge, initials). Three read best.
- drag
boolean- Default
true - A cursor drags the middle subtask into the last slot (or swaps two); the connectors stay and the cards trade places. Off: no cursor.
- speed
number- Default
1 - Speed multiplier for every step of the loop.
- color
string- Default
"#6366f1" - Accent of the connectors, the task card ring and the lifted card: a theme token, a CSS variable or any CSS colour.
- paused
boolean- Default
false - Holds the frame where it is. It also stops offscreen and in hidden tabs, and carries on in place.
- label
string- The accessible description. Default names the task and its subtasks.
- className
string- On the root, which fills its container up to 600px. Sizes use container units, so it scales.
- Motion
-- A task card, connectors that draw in, subtask cards that settle with a slight tilt, roles and notes, then one drag: about 7 seconds a round, a few CSS transitions and one timer per step, no frame loop. It starts on the finished scene, and reduced motion shows that scene and nothing moves.
| Prop | Type | Default | Description |
|---|---|---|---|
| task | { title: string; planner?: FlowAssignee } | a pricing report, split by a Planner | The task card. `planner` is who splits it; it shows under the title. |
| subtasks | FlowSubtask[] | three subtasks | 1 to 4 of { title, note?, assignee: { name, kind?, model? } }. `kind` is "agent" (rounded badge, model logo) or "human" (round badge, initials). Three read best. |
| drag | boolean | true | A cursor drags the middle subtask into the last slot (or swaps two); the connectors stay and the cards trade places. Off: no cursor. |
| speed | number | 1 | Speed multiplier for every step of the loop. |
| color | string | "#6366f1" | Accent of the connectors, the task card ring and the lifted card: a theme token, a CSS variable or any CSS colour. |
| paused | boolean | false | Holds the frame where it is. It also stops offscreen and in hidden tabs, and carries on in place. |
| label | string | - | The accessible description. Default names the task and its subtasks. |
| className | string | - | On the root, which fills its container up to 600px. Sizes use container units, so it scales. |
| Motion | - | - | A task card, connectors that draw in, subtask cards that settle with a slight tilt, roles and notes, then one drag: about 7 seconds a round, a few CSS transitions and one timer per step, no frame loop. It starts on the finished scene, and reduced motion shows that scene and nothing moves. |
When to use
When to use
- Explaining how a big task is split between agents and people, in a hero or onboarding section.
- A product page that wants to show delegation in a few seconds, without a screenshot.
When not to use
- Showing the real subtasks of a run: use Agent Board.
- Showing one prompt becoming a team of agents: use Prompt to Team.
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 Flow to my app and wire it to my own data.
- I need explaining how a big task is split between agents and people, in a hero or onboarding section. Set that up with the Knowns UI Task Flow.
- Which Task Flow props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "task-flow" }) and search_docs({ query: "task flow" }). Pro props, full examples and source come back once your license key is in the MCP config.