Common UI kit components
Confluence UI kit components
Jira UI kit components
Jira Service Management UI kit components

Rate this page:

SectionMessage

A text callout to alert users to important information.

Screenshot of what the rendered section message should look like

Import statement

1
2
import ForgeUI, { SectionMessage } from '@forge/ui';

Props

NameTypeRequiredDescription
childrenArray<Text>YesThe content of the section message.
titlestringThe title of the section message.
appearance"info" | "warning" | "error" | "confirmation" | "change"Shows an icon next to the title and changes the appearance of the section message. If appearance is not specified, the default appearance is "info".

Example

1
2
<SectionMessage title="Heading" appearance="info">
  <Text>Some text content</Text>
  <Text>More content</Text>
</SectionMessage>

Rate this page: