Widget

Toast

Auto-emitted from DSKintsugiCatalog.toast. Tier molecule.

Live Preview
Saved Changes synced 2s ago
!
Connection unstable Reconnecting…
i
New version available Restart to apply v1.4.0
Native · macOS
macOS SwiftUI render of Toast
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
NameTypeDefaultDescription
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