Skip to content
Kits

TaskList

Floating agent task progress pill above the composer that expands into the full task list.

Composition

Expandable task progress

Trigger and item children can be omitted to use their built-in content.

  • <TaskList>
    • <TaskListTrigger>
      • <TaskListIndicator />
      • <TaskListProgress />
      • <TaskListLabel />
      </TaskListTrigger>
    • <TaskListContent>
      • <TaskListItem>
        • <TaskListIndicator />
        </TaskListItem>
      </TaskListContent>
    </TaskList>

Installation

Use this command to install the component.

Registry command
See registry manifest

Usage

Dependencies

Effectssrc/registry/sources/control-ui/effects.cssSupport
CollapsiblecollapsiblePrimitiveLive statuslive-statusPrimitive

Raw code

Installed component source and support files

src/registry/sources/control-ui/task-list.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-task-list-* · 14 knobsHow the cascade resolves
--cui-task-list-radius<length-percentage>var(--radius-field)
--cui-task-list-ring-color<color>oklch(from var(--foreground) l c h / 0.04)
--cui-task-list-items-padding<length-percentage>calc(var(--spacing) * 2)
--cui-task-list-item-radius<length-percentage>max( var(--radius-sm), min(var(--radius-popup-item-fit), calc(var(--cui-task-list-radius) - var(--cui-task-list-items-padding))) )
--cui-task-list-trigger-hover-background<color>oklch(from var(--muted) l c h / 0.4)
--cui-task-list-background<color>oklch(from var(--card) l c h / 0.9)
--cui-task-list-foreground<color>var(--foreground)
--cui-task-list-border-color<color>var(--border)
--cui-task-list-border-width<length>var(--control-rim-width)
--cui-task-list-shadow*var(--shadow-md)
--cui-task-list-item-foreground<color>var(--foreground)
--cui-task-list-item-pending-foreground<color>var(--muted-foreground)
--cui-task-list-indicator-foreground<color>var(--muted-foreground)
--cui-task-list-indicator-active-foreground<color>var(--primary-text)