Skip to Content
UI Kit
Components (172)

Agent Cursors

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

Open preview
Loading Agent Cursors…

Usage

import { AgentCursors } from "ui-kit/components/agent-cursors";

Props

PropTypeDefaultDescription
agents*CursorAgent[]——
blocks*DocBlock[]——
suggestionsDocSuggestion[][]—
commentsDocComment[][]—
onResolveComment(comment: DocComment) => void——
onReply(comment: DocComment, text: string) => void——
cursors*Record<string, AgentCursor | null | undefined>——
onAccept(suggestion: DocSuggestion) => void——
onReject(suggestion: DocSuggestion) => void——
onAcceptAll() => void——
followingstring | null——
onFollowingChange(agent: string | null) => void——
heightnumber——
formatCost(amount: number) => stringdollars—
tabsDocTab[]——
tabstring——
onTabChange(tab: string) => void——
titlestring"Untitled"—
classNamestring——

On this page