| title | Image |
|---|---|
| description | Image block in a bot message. |
Image embeds an image in the message by URL.
import { Image } from "@copilotkit/bot-ui";<Message>
<Section>Incident timeline:</Section>
<Image url="https://example.com/chart.png" alt="Error rate over time" />
</Message>Renders as an image block. To post a locally generated image (e.g. a rendered chart), upload it with thread.postFile instead — Image is for URLs.
- Thread.postFile — upload image bytes into the thread