Image

Image block in a bot message.


Overview

Image embeds an image in the message by URL.

Import

import { Image } from "@copilotkit/bot-ui";

Props

Prop

Type

Prop

Type

Usage

<Message>
  <Section>Incident timeline:</Section>
  <Image url="https://example.com/chart.png" alt="Error rate over time" />
</Message>

On Slack

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.

Related