Illustrations (31)
Agent Mode
Agent Mode — a close crop of a chat composer on a soft gradient: a blinking caret, the placeholder, an attach clip and
Loading Agent Mode…
Usage
import { AgentMode } from "ui-kit/illustrations/agent-mode";Props
| Prop | Type | Default | Description |
|---|---|---|---|
placeholder | string | "Ask anything" | The placeholder while agent mode is off |
agentPlaceholder | string | "Give the agent a task" | The placeholder once agent mode is on |
label | string | "Agent" | The pill's label |
agent | string | "agent" | The agent's id – its pixel pattern comes from it |
active | boolean | — | true holds it on, false holds it off – leave it out and it follows the pointer |
className | string | — | — |