Display Components
Register React components that your agent can render in the chat.
What is this?
Display-only generative UI lets you register React components as tools your agent can invoke. When the agent calls the tool, CopilotKit renders your component directly in the chat with the tool's arguments as props — no handler logic or user interaction required.
When should I use this?
Use display-only generative UI when you want to:
- Display rich UI (cards, charts, tables) inline in the chat
- Show structured data from agent responses
- Render previews, status indicators, or visual feedback
- Let the agent present information beyond plain text
Choose your AI backend
See Integrations for all available frameworks (generative-ui/your-components/display-only).