Toast

Inline notification with semantic type and optional icon.

Usage Notes

Type variants

namespace: "doc_toast_type_diff",
  layout: {
    "column:types": {
      "toast:info": {
        type: "info",
        title: "Info",
        description: "A new update is available."
      },
      "toast:success": {
        type: "success",
        title: "Success",
        description: "Operation completed."
      },
      "toast:warning": {
        type: "warning",
        title: "Warning",
        description: "Review before proceeding."
      },
      "toast:danger": {
        type: "danger",
        title: "Error",
        description: "Something went wrong."
      }
    }
  }
}

API Reference