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