Skip to content
uifiles
Browse components
AgentComponent

Task

Collapsible task log for agent activity: a search-icon trigger with a title and rotating chevron, and an indented list of TaskItem rows with inline TaskItemFile chips for filenames. Use it inside a chat message to show what an agent did in a step, such as files read or searches run. Open by default; composes shadcn collapsible.

pnpm dlx shadcn@latest add @uifiles/task
Installs with

Open and collapsed

A log with file chips, open by default, and a second one collapsed. The trigger's chevron turns as it opens.

Searched for files matching "**/*.tsx"
Reading
app/layout.tsx
app/page.tsx
components/ui/button.tsx
Found 3 files that import the root layout