Usage
Code
import { AgentChatIndicator } from '@/components/agents-ui/agent-chat-indicator';export function Demo() {return (<AgentChatIndicatorsize={size}/>);}
Features
- Display a pulsing chat indicator
- Select from three sizes:
sm,md, andlg - Communicate asynchronous agent states to the user
Installation
pnpm dlx shadcn@latest add @agents-ui/agent-chat-indicator
Props
| Prop name | Type | Default |
|---|---|---|
size? | enum | md |
className? | string | – |
ref? | Ref<HTMLSpanElement> | – |
...props? | ComponentProps<'span'> | |