Skip to content
Hazine

Alerts and callouts

0 of 6 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 6

  • Inline Severity Alert

    The baseline static alert: icon column plus title and description stack, with a severity prop that switches icon, token pair and live-region role (status for info and success, alert for warning and destructive).

  • Alert with Actions

    Adds an action row that sits to the right on wide containers and wraps below the text on narrow ones (container query), plus a dismiss button that returns focus to the next focusable element after the alert is removed.

  • Alert with Collapsible Detail

    Two-layer hierarchy: a plain-language summary stays visible while the technical detail lives in a disclosure region with its own copy action, so the alert height stays small until the user asks for more.

  • Field-level Message

    No border or surface: text-only scale tied to a single input through aria-describedby and aria-invalid, with a reserved min-height so the form does not jump when the message appears.

  • Edit Conflict Alert

    The alert carries a decision instead of a message: a two-column comparison of conflicting values with one choice per field, bulk shortcuts, and an Apply button that stays disabled until every field is resolved.

  • Docs Callout

    Built for reading flow rather than app state: no live-region role, typographic rhythm that matches surrounding prose, an inline-start accent rule instead of a full border, and arbitrary rich children.