Sonner toast with onDismiss and onAutoClose callbacks after the toast leaves.
npx shadcn@latest add @shadcnblocks/sonner-sonner-interactive-8
Sign in or get a license at Shadcn Blocks to see its source and install it.