Toast

A toast is a transient, self-dismissing notification that stacks in a fixed-position region at the edge of the viewport — used for confirming an action just taken without interrupting the user's flow. Unlike every other component, a toast is not hand-written in markup: it is created entirely by calling FlickUI.toast(options).

FlickUI.toast({ title: 'Saved', body: 'Your changes have been saved.', variation: 'success', duration: 5000, // ms; 0 disables auto-hide position: 'bottom-right', });
FlickUI.toast({
  title: 'Saved',
  body: 'Your changes have been saved.',
  variation: 'success',
  duration: 5000,        // ms; 0 disables auto-hide
  position: 'bottom-right',
});