This guide assumes that you have completed the Rendering UI guide.
C1 is ideal for building modern, conversational applications. Unlike traditional chatbots that are limited to text, a C1-powered conversational apps can render rich, interactive UIs—like forms, charts, and data tables—directly within the conversation. To help you build these experiences quickly, the C1 SDK provides <C1Chat>. It is a pre-built, “batteries-included” React component that gives you a complete chat interface and manages the underlying logic.

What is <C1Chat>?

The <C1Chat> component provides a complete solution for conversational UI, handling the following out of the box:
  • A Complete Chat UI: Renders the message list, a composer for user input, and loading indicators.
  • Thread and Message Management: Automatically handles conversation history, message ordering, and thread state.
  • Generative UI Rendering: Seamlessly renders both standard text messages and complex C1 DSL responses like forms and charts.
  • Built-in Streaming: Manages streaming responses from your backend for a real-time user experience.

Guides in This Section