hamelndigital

design

Toast

Toast

Transient notifications bottom-right, wired into HamelnProvider — call useToast() from anywhere. Variants get a small status dot; optional action button.

Variants

Usage

const { toast } = useToast();

toast({ title: "Settings saved" });
toast({
  title: "Deploy failed",
  variant: "danger",
  action: { label: "View logs", onClick: openLogs },
});