Context
Render muted metadata or footnote text in a portable Channels message.
Open your coding agent in your project's folder, or in an empty folder for a new app.This runs in a coding agent on your computer.
Context renders secondary metadata below the main message content.
import { Context, Message, Section } from "@copilotkit/channels/ui";
<Message>
<Section>Deployment completed.</Section>
<Context>Production · commit 4f8a2d1</Context>
</Message>;| Prop | Type | Description |
|---|---|---|
children | BotChildren | Secondary 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.