Back to Copilotkit

Divider

showcase/shell-docs/src/content/reference/bot/components/Divider.mdx

1.60.1596 B
Original Source

Overview

Divider renders a horizontal rule between blocks.

Import

tsx
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

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

On Slack

Renders as a divider block.