Rendering the component
Setting up the UI
Rendering live UI from the Generative UI API.
The <C1Component />
is the simplest way to embed Generative UI into your application.
Its takes as its argument the content streamed from the C1 API and converts it to a live functional UI.
It’s perfect when you want dynamic, AI-generated controls without wrapping everything in a chat window.