ToastA brief, past-tense confirmation with at most one action. Never the only path to anything.
using eQuantic.UI.Components;
new Toast("Card removed")
Status = Variant.Success,
Prop
Type
Default
Description
Message
string
—
What happened, past tense. Two lines maximum.
Status
Variant
Info
Semantic role of the message.
ActionLabel
string?
null
A single action — almost always Undo.
OnAction
Action?
null
Handler for that action.
Entering
Rise and fade over Motion.Enter
Visible
Inverse surface above the bottom inset
Swiped
Dismisses with the gesture's velocity
•
Polite live announcement; the action is exposed as a custom action and the timer pauses while focused.
•
Confirming something that already happened, with an undo.
•
Errors that need a decision — use a Dialog.
•
Persistent state — use a Banner.
NOTEEvery dimension resolves through Sizing.*(SizeVariant) and the token scales — never a literal. Source: src/eQuantic.UI.Components/Toast.cs.