| title | Section |
|---|---|
| description | A block of markdown body text in a bot message. |
Section is the workhorse text block: a paragraph of body text with markdown support (**bold**, `code`, links, …).
import { Section } from "@copilotkit/bot-ui";<Message>
<Section>Ship **v1.4.2** to production? See the `CHANGELOG` first.</Section>
</Message>Renders as a section block with mrkdwn text, truncated at 3000 characters (SLACK_LIMITS.sectionText). Markdown is translated to mrkdwn (e.g. **bold** → *bold*) by the adapter.
- Markdown — an explicit markdown block
- Fields — two-column label/value layout
- markdownToMrkdwn — the Markdown → mrkdwn translation