Toast
Auto-emitted from DSKintsugiCatalog.toast. Tier molecule.
Live Preview
Saved
Changes synced 2s ago
Connection unstable
Reconnecting…
Payment failed
Card declined — try another payment method.
New version available
Restart to apply v1.4.0
Native · macOS
DSL usage
// Cross-target (KatagamiCore ViewNode)
ToastDSL.body(
role: .success,
title: "Saved",
description: "Changes synced 2s ago"
)
// SwiftUI shim (backwards-compatible)
myView.toast(.success, title: "Saved", description: "Changes synced 2s ago")
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
role |
ToastRole | — |
Semantic role: .info | .success | .warning | .error |
title |
String | — |
Mandatory title shown in bold. |
description |
String? | nil |
Optional secondary line. |
dismissible |
Bool | true |
When true, shows the × close button bound to ActionKey.dismiss. |
Used in
sigma-analytics wabisabi obyw-one