Skip to Content
UI Kit
Components (172)

Agent Finder

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Agent Finder…

Usage

import { AgentFinder } from "ui-kit/components/agent-finder";

Props

PropTypeDefaultDescription
agents*FinderAgent[]——
titlestring"Agents"The top folder's name
subtitlestring—A line under the title in the top folder – when the run started, how long it took
defaultView"icons" | "list""icons"Icons or a list – by default icons
onOpen(agent: FinderAgent) => void—An agent opened with a double-click or Enter
onOpenFile(file: FinderFile, agent: FinderAgent) => void—A document opened with a double-click or Enter – with the agent whose folder it's in
onSelect(agent: FinderAgent | null, file?: FinderFile) => void—The selection changed – an agent, or a document and the agent it belongs to
onAction(action: FinderAction, agent: FinderAgent, file?: FinderFile) => void—Something picked in the right-click menu – with the agent, and the document when it was one
onArrange(positions: Record<string, FinderPoint>, folder: FinderAgent | null) => void—Icons moved in a folder – by dragging or ⌥ and the arrows: where every icon in it now sits, and the folder (null at the top)
classNamestring——

On this page