Back to components
ComponentAgentFree

Sub-task Hierarchy React component

A big task broken into nested sub-tasks: progress rolls up through every level, blocked work stands out, and groups open and close without moving the card.

About the Sub-task Hierarchy component

Sub-task Hierarchy shows how a large job was split up and how far each part has come. Finished work rolls up through every level, so the number at the top is always honest.

Blocked work is marked in orange and counted, so it can't hide inside a closed group. Tick a task and every total above it updates.

When to use it

Use it when an agent breaks a goal into steps, or for any plan with nested work.

Three levels is usually enough. Deeper trees get hard to read on a phone.

Installation

Add the Sub-task Hierarchy component to your project with the shadcn CLI. It lands in components/sub-task-hierarchy.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/sub-task-hierarchy

More Agent components

Trust Level Slider
Free
Mid-run Nudge Bar
Free
Assign to Bot Board
Free
End of Run Summary
Free
Batch Job Matrix
Free
Pending Jobs Stack
Free