Back to Copilotkit

Header

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

1.60.1700 B
Original Source

Overview

Header renders a bold title row — typically the first child of a Message.

Import

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

Props

<PropertyReference name="children" type="BotChildren"> The header text. Plain text only — markdown is not interpreted in headers. </PropertyReference>

Usage

tsx
<Message>
  <Header>Deploy v1.4.2</Header>
</Message>

On Slack

Renders as a header block, truncated at 150 characters (SLACK_LIMITS.headerText).