CopilotKitDocs
  • Docs
  • Reference
  • Cookbook
Get Intelligence free
CopilotKitDocs
DocsReferenceCookbook
DocsReferenceCookbook

@copilotkit/bot

ActionsButtonContextDividerFieldsHeaderImageInputMarkdownMessageSectionSelectTable

@copilotkit/bot-slack

ReferencebotComponents

Context

Small, muted secondary text in a bot message โ€” footnotes and metadata.


Overview

Context renders small, muted secondary text โ€” footnotes, attribution, timestamps, metadata that shouldn't compete with the message body.

Import

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

Props

Prop

Type

Usage

<Message>
  <Section>Found 3 matching runbooks.</Section>
  <Context>Searched Notion ยท just now</Context>
</Message>

On Slack

Renders as a context block โ€” at most 10 elements per context block (SLACK_LIMITS.contextElements).

Related

  • Section โ€” primary body text
  • Divider โ€” visual separation
10d3939