changeset-release/main deployment.Gha
Summary
GitHub-style alerts with multiple severity levels.
Aka. "GitHub alerts"
Callouts compose shadcn Card parts with each kind's Material background and matching
foreground. The icon-and-label header sits above full-width rich content, using the standard
Card spacing. They remain static editorial notes, so reading an article does not trigger an
assertive screen-reader announcement.
<Gha keyword="NOTE">Highlights information that users should take into account, even when skimming.</Gha>
or better:
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
result:
Highlights information that users should take into account, even when skimming.
We also support: [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION]
result:
Optional information to help a user be more successful.
Crucial information necessary for users to succeed.
Critical content demanding immediate user attention due to potential risks.
Negative potential consequences of an action.
The title prop overrides the label derived from keyword (icon and background still follow the keyword). Only available via the JSX form:
<Gha keyword="TIP" title="MCP-server">Browse these docs from your MCP-compatible client.</Gha>
result:
Browse these docs from your MCP-compatible client.
Rich Markdown also works inside a callout:
Keep headings, links and lists in your existing authoring content:
- Read the Keypoints before starting.
- Open the sandbox examples to try the ideas.
Custom labels wrap in full, and rich blocks retain their structure:
Reproduce the example
Run the example locally before sharing it:
pnpm install
pnpm dev
- Document the requirements.
- Include the supported Node.js version.
- Link to the sandbox examples.