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

@copilotkit/bot

ActionsButtonContextDividerFieldsHeaderImageInputMarkdownMessageSectionSelectTable

@copilotkit/bot-slack

ReferencebotComponents

Divider

Horizontal rule separating blocks in a bot message.


Overview

Divider renders a horizontal rule between blocks.

Import

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

Props

Divider takes no props and no children — <Divider /> is the entire usage. (Passing children is a compile-time error.)

Usage

<Message>
  <Section>Open issues</Section>
  <Divider />
  <Section>Closed issues</Section>
</Message>

On Slack

Renders as a divider block.

Related

  • Message — the containing message
  • Context — muted secondary text
10d3939