Back to Copilotkit

Context

showcase/shell-docs/src/content/reference/channels/components/Context.mdx

1.64.2574 B
Original Source

Context renders secondary metadata below the main message content.

tsx
import { Context, Message, Section } from "@copilotkit/channels/ui";

<Message>
  <Section>Deployment completed.</Section>
  <Context>Production · commit 4f8a2d1</Context>
</Message>;
PropTypeDescription
childrenBotChildrenSecondary text content.

Managed Slack renders a context block. Managed Teams renders small, subtle, wrapping text. Do not place a required instruction only in Context, because native clients intentionally de-emphasize it.