Alert

Inline status feedback for docs, dashboards, CMS actions, and deploy flows.

Alert is consumed natively from `@axonyx/ui/foundry/Alert.asx`.

Info
Use info alerts for neutral guidance and route-level notes.
Success
Use success alerts for completed actions, published content, and passing checks.
Warning
Use warning alerts for beta APIs, migration notes, and risky actions.
Danger
Use danger alerts for destructive actions and failed operations.

Usage

Code
ax
import { Alert } from "@axonyx/ui/foundry/Alert.asx"

<Alert tone="warning" title="Beta API">
  This API can change before 1.0.
</Alert>

Alert API

Inline API contract for the native `.asx` component.

  • tone: info | success | warning | danger
  • title: short status heading
  • children: alert body content
  • role: status by default