{
  "id": "task_libraries:toast/javascript",
  "path": "/exapedia/javascript-toast-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript toast notification libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript toast libraries show short notification messages that appear over a page and close on their own. These libraries confirm events such as a saved setting, a sent message, or a failed upload without interrupting the page."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript toast notification libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#sonner",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#radix-ui-react-toast",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-hot-toast",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-toastify",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F266"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vue-sonner",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F280"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F281"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F289"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F284"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F282"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#notistack",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F296"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F297"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F305"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F300"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F298"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#zag-js-toast",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F312"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F313"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F321"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F316"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F314"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#sweetalert",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F328"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F329"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F335"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F332"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F330"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#sonner",
          "label": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most installs, while "
        },
        {
          "t": "link",
          "href": "#sweetalert",
          "label": [
            {
              "t": "fact",
              "fact": "F328"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most GitHub stars."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Requires React host",
            "Pre-styled toast renderer"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#sonner",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#radix-ui-react-toast",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-hot-toast",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-toastify",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F266"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vue-sonner",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F280"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F290"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F291"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#notistack",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F296"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F306"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F307"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#zag-js-toast",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F312"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F322"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F323"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#sweetalert",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F328"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F336"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F337"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "sonner",
          "name": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/emilkowalski/sonner"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/sonner"
            },
            {
              "label": "Docs",
              "href": "https://sonner.emilkowal.ski/toast"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Sonner is a styled toast component for React, built around a "
            },
            {
              "t": "code",
              "text": "Toaster"
            },
            {
              "t": "text",
              "text": " component that is mounted once in the app and renders the toasts. The "
            },
            {
              "t": "code",
              "text": "toast"
            },
            {
              "t": "text",
              "text": " function shows one from anywhere in the code, such as "
            },
            {
              "t": "code",
              "text": "toast('Saved')"
            },
            {
              "t": "text",
              "text": ". Variants of that function add action buttons and loading toasts that update when a promise settles. A separate package, "
            },
            {
              "t": "link",
              "href": "#vue-sonner",
              "label": [
                {
                  "t": "text",
                  "text": "Vue Sonner"
                }
              ]
            },
            {
              "t": "text",
              "text": ", ports the same component to Vue and Nuxt."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://sonner.emilkowal.ski/toast",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F11"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export function showToast(\n  message: string,\n  variant: ToastVariants,\n  options: number | ExternalToast = TOAST_VISIBLE_DURATION\n) {\n  const _options: ExternalToast = typeof options === \"number\" ? { duration: options } : options;\n  if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;\n  if (!_options.position) _options.position = \"bottom-center\";\n\n  const onClose = (toastId: string | number) => {\n    toast.dismiss(toastId);\n  };\n\n  const toastElements: { [x in ToastVariants]: (t: number | string) => JSX.Element } = {\n    success: (toastId) => <SuccessToast message={message} onClose={onClose} toastId={toastId} />,\n    error: (toastId) => <ErrorToast message={message} onClose={onClose} toastId={toastId} />,\n    warning: (toastId) => <WarningToast message={message} onClose={onClose} toastId={toastId} />,\n  };\n\n  return toast.custom(\n    toastElements[variant] ||\n      ((toastId) => <SuccessToast message={message} onClose={onClose} toastId={toastId} />),\n    _options\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy/blob/ae027bb70e694e2d2c44569f398d6cbcee0389b1/packages/ui/components/toast/showToast.tsx#L76-L100",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20sonner%20for%20toast%20notifications&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Toaster, toast } from 'sonner';\n\n// ...\n\nfunction App() {\n  return (\n    <div>\n      <Toaster />\n      <button onClick={() => toast('My first toast')}>Give me a toast</button>\n    </div>\n  );\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/emilkowalski/sonner/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "radix-ui-react-toast",
          "name": [
            {
              "t": "fact",
              "fact": "F236"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/radix-ui/primitives"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@radix-ui/react-toast"
            },
            {
              "label": "Docs",
              "href": "https://www.radix-ui.com/primitives/docs/components/toast"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "@radix-ui/react-toast is the toast primitive from Radix, published inside the "
            },
            {
              "t": "code",
              "text": "radix-ui"
            },
            {
              "t": "text",
              "text": " package. Its parts, "
            },
            {
              "t": "code",
              "text": "Toast.Provider"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "Toast.Root"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "Toast.Title"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "Toast.Action"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "Toast.Viewport"
            },
            {
              "t": "text",
              "text": ", ship unstyled, leaving all of the CSS to the app. Each toast closes after five seconds by default, with a timer that pauses on hover, focus, and window blur. A swipe gesture in the configured direction also dismisses a toast. Unlike "
            },
            {
              "t": "link",
              "href": "#sonner",
              "label": [
                {
                  "t": "text",
                  "text": "Sonner"
                }
              ]
            },
            {
              "t": "text",
              "text": ", the primitive has no "
            },
            {
              "t": "code",
              "text": "toast()"
            },
            {
              "t": "text",
              "text": " function: each toast renders from React state through the "
            },
            {
              "t": "code",
              "text": "open"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "onOpenChange"
            },
            {
              "t": "text",
              "text": " props."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.radix-ui.com/primitives/docs/components/toast",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F360"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F361"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F362"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F363"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F364"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F365"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/mem0ai/mem0",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const Toast = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Root>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &\n    VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => {\n  return (\n    <ToastPrimitives.Root\n      ref={ref}\n      className={cn(toastVariants({ variant }), className)}\n      {...props}\n    />\n  );\n});\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/mem0ai/mem0/blob/fff8a6472512d1bc1a4bccab8c645b65a1df7fe5/server/dashboard/src/components/ui/toast.tsx#L43-L55",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F249"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40radix-ui/react-toast%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Toast } from \"radix-ui\";\n\nexport default () => (\n  <Toast.Provider>\n    <Toast.Root>\n      <Toast.Description>Saved!</Toast.Description>\n      <Toast.Close>Dismiss</Toast.Close>\n    </Toast.Root>\n    <Toast.Viewport />\n  </Toast.Provider>\n);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/radix-ui/website/blob/main/data/primitives/docs/components/toast.mdx",
                  "label": [
                    {
                      "t": "text",
                      "text": "toast.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-hot-toast",
          "name": [
            {
              "t": "fact",
              "fact": "F252"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/timolins/react-hot-toast"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-hot-toast"
            },
            {
              "label": "Docs",
              "href": "https://react-hot-toast.com/docs/toast"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "react-hot-toast shows toasts in React through a "
            },
            {
              "t": "code",
              "text": "toast"
            },
            {
              "t": "text",
              "text": " function and a "
            },
            {
              "t": "code",
              "text": "Toaster"
            },
            {
              "t": "text",
              "text": " component that renders them. The README puts the library under five kilobytes, with its default styles included. A promise passed to the library shows a loading toast that turns into success or error when the promise settles. For a custom design, the "
            },
            {
              "t": "code",
              "text": "useToaster"
            },
            {
              "t": "text",
              "text": " hook returns the toast state and leaves the markup to the app, the same split that "
            },
            {
              "t": "link",
              "href": "#sonner",
              "label": [
                {
                  "t": "text",
                  "text": "Sonner"
                }
              ]
            },
            {
              "t": "text",
              "text": " offers in its headless option."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://react-hot-toast.com/docs/toast",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F252"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F33"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F35"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F366"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F367"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F264"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export function showToast(\n  message: string,\n  variant: ToastVariants,\n  // Options or duration (duration for backwards compatibility reasons)\n  options: number | ToastOptions = TOAST_VISIBLE_DURATION\n) {\n  //\n  const _options: ToastOptions = typeof options === \"number\" ? { duration: options } : options;\n  if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;\n\n  const onClose = (toastId: string) => {\n    toast.remove(toastId);\n  };\n  const toastElements: { [x in ToastVariants]: (t: Toast) => JSX.Element } = {\n    success: (t) => (\n      <SuccessToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />\n    ),\n    error: (t) => <ErrorToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />,\n    warning: (t) => (\n      <WarningToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />\n    ),\n  };\n  return toast.custom(\n    toastElements[variant] ||\n      ((t) => <DefaultToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />),\n    _options\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy/blob/6a75ef86b011665081706ba7f905b05559ac474b/packages/ui/components/toast/showToast.tsx#L82-L109",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F263"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20react-hot-toast%20for%20toast%20notifications&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F252"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import toast, { Toaster } from 'react-hot-toast';\n\nconst notify = () => toast('Here is your toast.');\n\nconst App = () => {\n  return (\n    <div>\n      <button onClick={notify}>Make me a toast</button>\n      <Toaster />\n    </div>\n  );\n};\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/timolins/react-hot-toast/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F257"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-toastify",
          "name": [
            {
              "t": "fact",
              "fact": "F266"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/fkhadra/react-toastify"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-toastify"
            },
            {
              "label": "Docs",
              "href": "https://fkhadra.github.io/react-toastify/promise/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "React-Toastify shows toasts in React through the "
            },
            {
              "t": "code",
              "text": "toast"
            },
            {
              "t": "text",
              "text": " function, after a "
            },
            {
              "t": "code",
              "text": "ToastContainer"
            },
            {
              "t": "text",
              "text": " component is mounted once in the app. Each toast shows a progress bar for the time left before it closes. Toasts pause when the window loses focus and close on a swipe. Settings on the container limit how many toasts appear at once, while a single toast can render any React component, update after it opens, or close from code. Right-to-left layouts, dark mode, and stacked notifications are built in."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://fkhadra.github.io/react-toastify/promise/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F266"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F55"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F56"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F57"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/growilabs/growi",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F278"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export const toastError = (\n  err: string | Error | Error[],\n  option: ToastOptions = toastErrorOption,\n): void => {\n  const errs = toArrayIfNot(err);\n\n  if (errs.length === 0) {\n    return;\n  }\n\n  for (const err of errs) {\n    const message = typeof err === 'string' ? err : err.message;\n    toast.error(message, option);\n  }\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/growilabs/growi/blob/a204a427fa955927d31d9b447d51f695f5ae2e1b/apps/app/src/client/util/toastr.ts#L10-L24",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F277"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20react-toastify%20for%20toast%20notifications&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F266"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "  import React from 'react';\n\n  import { ToastContainer, toast } from 'react-toastify';\n  \n  function App(){\n    const notify = () => toast(\"Wow so easy!\");\n\n    return (\n      <div>\n        <button onClick={notify}>Notify!</button>\n        <ToastContainer />\n      </div>\n    );\n  }\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/fkhadra/react-toastify/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F271"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "vue-sonner",
          "name": [
            {
              "t": "fact",
              "fact": "F280"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/xiaoluoboding/vue-sonner"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/vue-sonner"
            },
            {
              "label": "Docs",
              "href": "https://github.com/xiaoluoboding/vue-sonner/blob/main/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Vue Sonner is a Vue port of "
            },
            {
              "t": "link",
              "href": "#sonner",
              "label": [
                {
                  "t": "text",
                  "text": "Sonner"
                }
              ]
            },
            {
              "t": "text",
              "text": " with default styles and swipe-to-dismiss. The port keeps Sonner's two parts: a "
            },
            {
              "t": "code",
              "text": "Toaster"
            },
            {
              "t": "text",
              "text": " component placed once, plus a "
            },
            {
              "t": "code",
              "text": "toast"
            },
            {
              "t": "text",
              "text": " function with variants for success, error, actions, and promises. Nuxt projects add the "
            },
            {
              "t": "code",
              "text": "vue-sonner/nuxt"
            },
            {
              "t": "text",
              "text": " module and call "
            },
            {
              "t": "code",
              "text": "$toast"
            },
            {
              "t": "text",
              "text": " from any component."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F281"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F289"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F283"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F282"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/xiaoluoboding/vue-sonner/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F280"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F369"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F370"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F371"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F372"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F373"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F374"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F294"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F295"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/aleksey-hoffman/sigma-file-manager",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F294"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "vue",
              "code": "function showStaticToast(title: string, data?: ExternalToast) {\n  const rest: Record<string, unknown> = data ? { ...data } : {};\n  delete rest.description;\n  delete rest.componentProps;\n\n  return sonnerToast.custom(markRaw(ToastStatic), {\n    ...(rest as ExternalToast),\n    componentProps: {\n      data: {\n        title,\n        description: staticDescription(data),\n      },\n    },\n  });\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/aleksey-hoffman/sigma-file-manager/blob/5bccf20968850a81b1cbdadff1cb95792dbd8323/src/components/ui/toaster/app-toast.ts#L27-L41",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F293"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=vue-sonner%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F280"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<!-- App.vue -->\n<template>\n  <Toaster />\n  <button @click=\"() => toast('My first toast')\">Render a toast</button>\n</template>\n\n<script lang=\"ts\" setup>\n  import 'vue-sonner/style.css'\n  import { Toaster, toast } from 'vue-sonner'\n</script>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/xiaoluoboding/vue-sonner/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F285"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "notistack",
          "name": [
            {
              "t": "fact",
              "fact": "F296"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/iamhosseindhv/notistack"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/notistack"
            },
            {
              "label": "Docs",
              "href": "https://notistack.com/features/basic"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Notistack shows snackbars, short messages that stack on top of each other, in React. Each one starts with a call such as "
            },
            {
              "t": "code",
              "text": "enqueueSnackbar('Saved')"
            },
            {
              "t": "text",
              "text": " after a "
            },
            {
              "t": "code",
              "text": "SnackbarProvider"
            },
            {
              "t": "text",
              "text": " component is mounted. Inside that provider, the "
            },
            {
              "t": "code",
              "text": "useSnackbar"
            },
            {
              "t": "text",
              "text": " hook gives components the same call. From version three on, the library has no dependency on Material UI, which older versions required as a peer dependency."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F297"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F305"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F299"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F298"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://notistack.com/features/basic",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F296"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F376"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F377"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F378"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F379"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F380"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F381"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F310"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F311"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/mui/material-ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F310"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "function MyApp() {\n  const { enqueueSnackbar } = useSnackbar();\n\n  const handleClick = () => {\n    enqueueSnackbar('I love snacks.');\n  };\n\n  const handleClickVariant = (variant: VariantType) => () => {\n    // variant could be success, error, warning, info, or default\n    enqueueSnackbar('This is a success message!', { variant });\n  };\n\n  return (\n    <React.Fragment>\n      <Button onClick={handleClick}>Show snackbar</Button>\n      <Button onClick={handleClickVariant('success')}>Show success snackbar</Button>\n    </React.Fragment>\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/mui/material-ui/blob/b505fd7b64e92db523198712a5d6716c494e0c66/docs/data/material/components/snackbars/IntegrationNotistack.tsx#L5-L23",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F309"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=notistack%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F296"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { SnackbarProvider, enqueueSnackbar } from 'notistack';\n\nconst App = () => {\n  return (\n    <div>\n      <SnackbarProvider />\n      <button onClick={() => enqueueSnackbar('That was easy!')}>Show snackbar</button>\n    </div>\n  );\n};\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/iamhosseindhv/notistack/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F301"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "zag-js-toast",
          "name": [
            {
              "t": "fact",
              "fact": "F312"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/chakra-ui/zag"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@zag-js/toast"
            },
            {
              "label": "Docs",
              "href": "https://zagjs.com/components/toast"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "@zag-js/toast runs toast behavior as a state machine, a model that moves each toast through a fixed set of states. Zag's adapters connect the machine to React, Solid, Vue, or Svelte, which means a React project also installs "
            },
            {
              "t": "code",
              "text": "@zag-js/react"
            },
            {
              "t": "text",
              "text": ". A store made with "
            },
            {
              "t": "code",
              "text": "toast.createStore"
            },
            {
              "t": "text",
              "text": " keeps the placement and overlap settings. Calling "
            },
            {
              "t": "code",
              "text": "toaster.create"
            },
            {
              "t": "text",
              "text": " adds a toast with a title, a description, and a type such as "
            },
            {
              "t": "code",
              "text": "info"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "success"
            },
            {
              "t": "text",
              "text": ", or "
            },
            {
              "t": "code",
              "text": "loading"
            },
            {
              "t": "text",
              "text": ". Each type has its own default duration, from two seconds for "
            },
            {
              "t": "code",
              "text": "success"
            },
            {
              "t": "text",
              "text": " to no limit for "
            },
            {
              "t": "code",
              "text": "loading"
            },
            {
              "t": "text",
              "text": ". Like "
            },
            {
              "t": "link",
              "href": "#radix-ui-react-toast",
              "label": [
                {
                  "t": "text",
                  "text": "@radix-ui/react-toast"
                }
              ]
            },
            {
              "t": "text",
              "text": ", the package leaves the toast markup and styles to the app."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F313"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F321"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F315"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F314"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://zagjs.com/components/toast",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F312"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F383"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F384"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F385"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F386"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F387"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F388"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F326"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F327"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/chakra-ui/ark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F326"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export const Toaster = forwardRef<HTMLDivElement, ToasterProps>((props, ref) => {\n  const { toaster, children, label, dir, getRootNode, ...localProps } = props\n\n  const locale = useLocaleContext()\n  const env = useEnvironmentContext()\n\n  const service = useMachine(toast.group.machine, {\n    store: toaster,\n    id: useId(),\n    dir: dir ?? locale?.dir,\n    getRootNode: getRootNode ?? env?.getRootNode,\n  })\n\n  const api = toast.group.connect(service, normalizeProps)\n\n  const mergedProps = mergeProps(api.getGroupProps({ label }), localProps)\n\n  return (\n    <ark.div {...mergedProps} ref={ref}>\n      {api.getToasts().map((toast, index) => (\n        <ToastActor key={toast.id} value={toast} parent={service} index={index}>\n          {(ctx) => children(ctx)}\n        </ToastActor>\n      ))}\n    </ark.div>\n  )\n})\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/chakra-ui/ark/blob/f62ea8c60679f86fc894b39bc9c2018b5449b680/packages/react/src/components/toast/toaster.tsx#L26-L52",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F325"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40zag-js/toast%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F312"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import * as toast from \"@zag-js/toast\"\n\nconst toaster = toast.createStore({\n  overlap: true,\n  placement: \"top-end\",\n})\n\ntoaster.create({\n  title: \"Hello World\",\n  description: \"This is a toast\",\n  type: \"info\",\n})\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/chakra-ui/zag/blob/main/website/data/snippets/react/toast/usage.mdx",
                  "label": [
                    {
                      "t": "text",
                      "text": "usage.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F317"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "sweetalert",
          "name": [
            {
              "t": "fact",
              "fact": "F328"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/sweetalert2/sweetalert2"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/sweetalert2"
            },
            {
              "label": "Docs",
              "href": "https://github.com/sweetalert2/sweetalert2/blob/main/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F328"
            },
            {
              "t": "text",
              "text": " replaces the browser's "
            },
            {
              "t": "code",
              "text": "alert"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "confirm"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "prompt"
            },
            {
              "t": "text",
              "text": " boxes with styled popup dialogs that follow WAI-ARIA, the web standard for accessible widgets. Setting "
            },
            {
              "t": "code",
              "text": "toast: true"
            },
            {
              "t": "text",
              "text": " turns a popup into a small notification that leaves the page usable. "
            },
            {
              "t": "code",
              "text": "Swal.mixin"
            },
            {
              "t": "text",
              "text": " saves a set of options, such as toast mode, position, and timer, after which each call to "
            },
            {
              "t": "code",
              "text": "fire"
            },
            {
              "t": "text",
              "text": " passes only the message. The package has no dependencies of its own; integration guides for React, Angular, and Laravel are linked from its README."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F329"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F335"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F331"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F330"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/sweetalert2/sweetalert2/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F328"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F74"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F75"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F76"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F77"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F78"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F79"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F340"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F341"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/mifi/lossless-cut",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F340"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "function initSwal(reducedMotion = false) {\n  const commonSwalOptions: SweetAlertOptions = {\n    target: `#${swalContainerWrapperId}`,\n    ...(reducedMotion && {\n      showClass: {\n        popup: '',\n        backdrop: '',\n        icon: '',\n      },\n      hideClass: {\n        popup: '',\n        backdrop: '',\n        icon: '',\n      },\n    }),\n    reverseButtons: dialogButtonOrder === 'ltr',\n  };\n\n  Swal = SwalRaw.mixin({\n    ...commonSwalOptions,\n  });\n\n  toast = Swal.mixin({\n    ...commonSwalOptions,\n    toast: true,\n    width: '50vw',\n    position: 'top',\n    showConfirmButton: false,\n    showCloseButton: true,\n    timer: 5000,\n    timerProgressBar: true,\n    didOpen: (self) => {\n      self.addEventListener('mouseenter', Swal.stopTimer);\n      self.addEventListener('mouseleave', Swal.resumeTimer);\n    },\n  });\n\n  ReactSwal = withReactContent(Swal);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/mifi/lossless-cut/blob/4c7ab1cb0c9acaefabb48e997bc909562dc3624d/src/renderer/src/swal.ts#L16-L54",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F339"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20sweetalert2%20for%20toast%20notifications&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F328"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import Swal from 'sweetalert2'\n\nconst Toast = Swal.mixin({\n  toast: true,\n  position: 'top-end',\n  timer: 3000,\n  timerProgressBar: true\n})\nToast.fire('Something interesting happened', '', 'info')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/sweetalert2/sweetalert2/blob/main/sweetalert2.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "the type definitions"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F333"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript toast library should I use?",
      "a": [
        {
          "t": "text",
          "text": "In a React app, use "
        },
        {
          "t": "link",
          "href": "#sonner",
          "label": [
            {
              "t": "text",
              "text": "Sonner"
            }
          ]
        },
        {
          "t": "text",
          "text": ": add one Toaster component, then call toast from anywhere. Choose "
        },
        {
          "t": "link",
          "href": "#react-hot-toast",
          "label": [
            {
              "t": "text",
              "text": "react-hot-toast"
            }
          ]
        },
        {
          "t": "text",
          "text": " for rendering custom toast markup, and "
        },
        {
          "t": "link",
          "href": "#react-toastify",
          "label": [
            {
              "t": "text",
              "text": "React-Toastify"
            }
          ]
        },
        {
          "t": "text",
          "text": " to limit how many toasts show at once. On a page with no framework, use "
        },
        {
          "t": "link",
          "href": "#sweetalert",
          "label": [
            {
              "t": "fact",
              "fact": "F328"
            }
          ]
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "How do I show a Sonner toast?",
      "a": [
        {
          "t": "text",
          "text": "Add "
        },
        {
          "t": "code",
          "text": "<Toaster />"
        },
        {
          "t": "text",
          "text": " to the app once, then call "
        },
        {
          "t": "code",
          "text": "toast('Saved')"
        },
        {
          "t": "text",
          "text": " from any component. Use "
        },
        {
          "t": "code",
          "text": "toast.success"
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "code",
          "text": "toast.error"
        },
        {
          "t": "text",
          "text": ", or "
        },
        {
          "t": "code",
          "text": "toast.promise"
        },
        {
          "t": "text",
          "text": " for the common states."
        }
      ]
    },
    {
      "q": "What does the shadcn/ui toast use?",
      "a": [
        {
          "t": "text",
          "text": "The shadcn/ui toast component depends on "
        },
        {
          "t": "link",
          "href": "#radix-ui-react-toast",
          "label": [
            {
              "t": "text",
              "text": "@radix-ui/react-toast"
            }
          ]
        },
        {
          "t": "text",
          "text": ". Radix supplies unstyled, accessible toast parts, and shadcn/ui adds the styles."
        }
      ]
    },
    {
      "q": "Which toast library works with Vue?",
      "a": [
        {
          "t": "text",
          "text": "Use "
        },
        {
          "t": "link",
          "href": "#vue-sonner",
          "label": [
            {
              "t": "text",
              "text": "Vue Sonner"
            }
          ]
        },
        {
          "t": "text",
          "text": ", a Vue port of Sonner that includes a Nuxt module. "
        },
        {
          "t": "link",
          "href": "#zag-js-toast",
          "label": [
            {
              "t": "text",
              "text": "@zag-js/toast"
            }
          ]
        },
        {
          "t": "text",
          "text": " also has a Vue adapter for writing custom toast markup."
        }
      ]
    },
    {
      "q": "Does Radix Toast come with styles?",
      "a": [
        {
          "t": "text",
          "text": "No. Radix Toast provides unstyled, accessible parts, and the app supplies the CSS. It still closes toasts on a timer, pauses them on hover and focus, and supports swipe to dismiss."
        }
      ]
    },
    {
      "q": "react-hot-toast vs React-Toastify: which should I use?",
      "a": [
        {
          "t": "text",
          "text": "Use react-hot-toast to render a custom toast design, since its headless hook manages state without rendering anything. Use React-Toastify for built-in queue limits and a keyboard shortcut that focuses toasts."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, sonner",
      "display": "Sonner",
      "asOf": "2026-11-18"
    },
    "F2": {
      "label": "Monthly downloads, sonner",
      "display": "222.3M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, sonner",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F4": {
      "label": "Package release, sonner",
      "display": "2.0.8",
      "asOf": "2026-08-09"
    },
    "F5": {
      "label": "Package release date, sonner",
      "display": "Aug 2026",
      "asOf": "2026-08-09"
    },
    "F6": {
      "label": "Repository stars, sonner",
      "display": "13.2K",
      "asOf": "2026-11-18"
    },
    "F7": {
      "label": "Timed dismissal, sonner",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F8": {
      "label": "Pause on hover, sonner",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F9": {
      "label": "Install, sonner",
      "display": "npm install sonner",
      "asOf": "2026-11-18"
    },
    "F10": {
      "label": "What it does, sonner",
      "display": "Shows styled toasts in React, with action buttons and loading states that update when a promise settles.",
      "asOf": "2026-11-18"
    },
    "F11": {
      "label": "strengths lead, sonner",
      "display": "Compact toast stack",
      "asOf": "2026-11-18"
    },
    "F12": {
      "label": "strengths, sonner",
      "display": "Toasts stack tightly and expand when someone hovers over them.",
      "asOf": "2026-11-18"
    },
    "F13": {
      "label": "strengths lead, sonner",
      "display": "Action buttons",
      "asOf": "2026-11-18"
    },
    "F14": {
      "label": "strengths, sonner",
      "display": "Add a button that runs a callback and closes the toast.",
      "asOf": "2026-11-18"
    },
    "F15": {
      "label": "limitations lead, sonner",
      "display": "Big restyles go headless",
      "asOf": "2026-11-18"
    },
    "F16": {
      "label": "limitations, sonner",
      "display": "For a very different look, use the headless option and render custom markup.",
      "asOf": "2026-11-18"
    },
    "F17": {
      "label": "Quickstart, sonner",
      "display": "import { Toaster, toast } from 'sonner';\n\n// ...\n\nfunction App() {\n  return (\n    <div>\n      <Toaster />\n      <button onClick={() => toast('My first toast')}>Give me a toast</button>\n    </div>\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F18": {
      "label": "Project function, sonner",
      "display": "export function showToast(\n  message: string,\n  variant: ToastVariants,\n  options: number | ExternalToast = TOAST_VISIBLE_DURATION\n) {\n  const _options: ExternalToast = typeof options === \"number\" ? { duration: options } : options;\n  if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;\n  if (!_options.position) _options.position = \"bottom-center\";\n\n  const onClose = (toastId: string | number) => {\n    toast.dismiss(toastId);\n  };\n\n  const toastElements: { [x in ToastVariants]: (t: number | string) => JSX.Element } = {\n    success: (toastId) => <SuccessToast message={message} onClose={onClose} toastId={toastId} />,\n    error: (toastId) => <ErrorToast message={message} onClose={onClose} toastId={toastId} />,\n    warning: (toastId) => <WarningToast message={message} onClose={onClose} toastId={toastId} />,\n  };\n\n  return toast.custom(\n    toastElements[variant] ||\n      ((toastId) => <SuccessToast message={message} onClose={onClose} toastId={toastId} />),\n    _options\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F19": {
      "label": "Project function reference, sonner",
      "display": "showToast.tsx · showToast()",
      "asOf": "2026-11-18"
    },
    "F20": {
      "label": "Project repository, sonner",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-18"
    },
    "F21": {
      "label": "Project stars, calcom/cal.diy",
      "display": "50.1K",
      "asOf": "2026-11-18"
    },
    "F22": {
      "label": "Project push date, calcom/cal.diy",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F23": {
      "label": "Library name, react-hot-toast",
      "display": "react-hot-toast",
      "asOf": "2026-11-18"
    },
    "F24": {
      "label": "Monthly downloads, react-hot-toast",
      "display": "19.2M",
      "asOf": "2026-11-15"
    },
    "F25": {
      "label": "License, react-hot-toast",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F26": {
      "label": "Package release, react-hot-toast",
      "display": "2.6.1",
      "asOf": "2026-09-16"
    },
    "F27": {
      "label": "Package release date, react-hot-toast",
      "display": "Sep 2026",
      "asOf": "2026-09-16"
    },
    "F28": {
      "label": "Repository stars, react-hot-toast",
      "display": "11.0K",
      "asOf": "2026-11-18"
    },
    "F29": {
      "label": "Timed dismissal, react-hot-toast",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F30": {
      "label": "Pause on hover, react-hot-toast",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F31": {
      "label": "Install, react-hot-toast",
      "display": "npm install react-hot-toast",
      "asOf": "2026-11-18"
    },
    "F32": {
      "label": "What it does, react-hot-toast",
      "display": "Shows React toasts, or manages toast state behind custom markup.",
      "asOf": "2026-11-18"
    },
    "F33": {
      "label": "strengths lead, react-hot-toast",
      "display": "Fits a custom design",
      "asOf": "2026-11-18"
    },
    "F34": {
      "label": "strengths, react-hot-toast",
      "display": "The useToaster hook handles state, and the app renders the toasts.",
      "asOf": "2026-11-18"
    },
    "F35": {
      "label": "strengths lead, react-hot-toast",
      "display": "Promise toasts",
      "asOf": "2026-11-18"
    },
    "F36": {
      "label": "strengths, react-hot-toast",
      "display": "One call shows loading, then success or error, as the promise settles.",
      "asOf": "2026-11-18"
    },
    "F37": {
      "label": "limitations lead, react-hot-toast",
      "display": "Custom rendering needs UI work",
      "asOf": "2026-11-18"
    },
    "F38": {
      "label": "limitations, react-hot-toast",
      "display": "The headless hook manages state without rendering components.",
      "asOf": "2026-11-18"
    },
    "F39": {
      "label": "Quickstart, react-hot-toast",
      "display": "import toast, { Toaster } from 'react-hot-toast';\n\nconst notify = () => toast('Here is your toast.');\n\nconst App = () => {\n  return (\n    <div>\n      <button onClick={notify}>Make me a toast</button>\n      <Toaster />\n    </div>\n  );\n};\n",
      "asOf": "2026-11-18"
    },
    "F40": {
      "label": "Project function, react-hot-toast",
      "display": "export function showToast(\n  message: string,\n  variant: ToastVariants,\n  // Options or duration (duration for backwards compatibility reasons)\n  options: number | ToastOptions = TOAST_VISIBLE_DURATION\n) {\n  //\n  const _options: ToastOptions = typeof options === \"number\" ? { duration: options } : options;\n  if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;\n\n  const onClose = (toastId: string) => {\n    toast.remove(toastId);\n  };\n  const toastElements: { [x in ToastVariants]: (t: Toast) => JSX.Element } = {\n    success: (t) => (\n      <SuccessToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />\n    ),\n    error: (t) => <ErrorToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />,\n    warning: (t) => (\n      <WarningToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />\n    ),\n  };\n  return toast.custom(\n    toastElements[variant] ||\n      ((t) => <DefaultToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />),\n    _options\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F41": {
      "label": "Project function reference, react-hot-toast",
      "display": "showToast.tsx · showToast()",
      "asOf": "2026-11-18"
    },
    "F42": {
      "label": "Project repository, react-hot-toast",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-18"
    },
    "F43": {
      "label": "Project stars, calcom/cal.diy",
      "display": "50.1K",
      "asOf": "2026-11-18"
    },
    "F44": {
      "label": "Project push date, calcom/cal.diy",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F45": {
      "label": "Library name, react-toastify",
      "display": "React-Toastify",
      "asOf": "2026-11-18"
    },
    "F46": {
      "label": "Monthly downloads, react-toastify",
      "display": "18.9M",
      "asOf": "2026-11-15"
    },
    "F47": {
      "label": "License, react-toastify",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F48": {
      "label": "Package release, react-toastify",
      "display": "11.2.0",
      "asOf": "2026-10-28"
    },
    "F49": {
      "label": "Package release date, react-toastify",
      "display": "Oct 2026",
      "asOf": "2026-10-28"
    },
    "F50": {
      "label": "Repository stars, react-toastify",
      "display": "13.4K",
      "asOf": "2026-11-18"
    },
    "F51": {
      "label": "Timed dismissal, react-toastify",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F52": {
      "label": "Pause on hover, react-toastify",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F53": {
      "label": "Install, react-toastify",
      "display": "npm install --save react-toastify",
      "asOf": "2026-11-18"
    },
    "F54": {
      "label": "What it does, react-toastify",
      "display": "Shows React toasts with queue limits, progress control, and keyboard navigation.",
      "asOf": "2026-11-18"
    },
    "F55": {
      "label": "strengths lead, react-toastify",
      "display": "Limits visible toasts",
      "asOf": "2026-11-18"
    },
    "F56": {
      "label": "strengths, react-toastify",
      "display": "Set how many toasts can show at the same time.",
      "asOf": "2026-11-18"
    },
    "F57": {
      "label": "strengths lead, react-toastify",
      "display": "Keyboard shortcut to toasts",
      "asOf": "2026-11-18"
    },
    "F58": {
      "label": "strengths, react-toastify",
      "display": "Alt+T focuses the first toast, then Tab moves through its controls.",
      "asOf": "2026-11-18"
    },
    "F59": {
      "label": "limitations lead, react-toastify",
      "display": "Needs a ToastContainer",
      "asOf": "2026-11-18"
    },
    "F60": {
      "label": "limitations, react-toastify",
      "display": "Mount ToastContainer in the app before calling toast.",
      "asOf": "2026-11-18"
    },
    "F61": {
      "label": "Quickstart, react-toastify",
      "display": "  import React from 'react';\n\n  import { ToastContainer, toast } from 'react-toastify';\n  \n  function App(){\n    const notify = () => toast(\"Wow so easy!\");\n\n    return (\n      <div>\n        <button onClick={notify}>Notify!</button>\n        <ToastContainer />\n      </div>\n    );\n  }\n",
      "asOf": "2026-11-18"
    },
    "F62": {
      "label": "Library name, sweetalert2",
      "display": "SweetAlert2",
      "asOf": "2026-11-18"
    },
    "F63": {
      "label": "Monthly downloads, sweetalert2",
      "display": "4.6M",
      "asOf": "2026-11-15"
    },
    "F64": {
      "label": "License, sweetalert2",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F65": {
      "label": "Package release, sweetalert2",
      "display": "11.26.25",
      "asOf": "2026-05-23"
    },
    "F66": {
      "label": "Package release date, sweetalert2",
      "display": "May 2026",
      "asOf": "2026-05-23"
    },
    "F67": {
      "label": "Repository stars, sweetalert2",
      "display": "18.1K",
      "asOf": "2026-11-18"
    },
    "F68": {
      "label": "Timed dismissal, sweetalert2",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F69": {
      "label": "Pause on hover, sweetalert2",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F70": {
      "label": "Install, sweetalert2",
      "display": "npm install sweetalert2",
      "asOf": "2026-11-18"
    },
    "F71": {
      "label": "What it does, sweetalert2",
      "display": "Shows popup dialogs, plus a toast mode that doesn't block the page.",
      "asOf": "2026-11-18"
    },
    "F72": {
      "label": "strengths lead, sweetalert2",
      "display": "Reusable toast presets",
      "asOf": "2026-11-18"
    },
    "F73": {
      "label": "strengths, sweetalert2",
      "display": "Create a toast preset with Swal.mixin, then call fire for each message.",
      "asOf": "2026-11-18"
    },
    "F74": {
      "label": "strengths lead, sweetalert2",
      "display": "Pause the close timer",
      "asOf": "2026-11-18"
    },
    "F75": {
      "label": "strengths, sweetalert2",
      "display": "Call stopTimer to hold the current toast open.",
      "asOf": "2026-11-18"
    },
    "F76": {
      "label": "limitations lead, sweetalert2",
      "display": "Toasts never take focus",
      "asOf": "2026-11-18"
    },
    "F77": {
      "label": "limitations, sweetalert2",
      "display": "Toast mode doesn't move focus or block the page.",
      "asOf": "2026-11-18"
    },
    "F78": {
      "label": "limitations lead, sweetalert2",
      "display": "HTML isn't sanitized",
      "asOf": "2026-11-18"
    },
    "F79": {
      "label": "limitations, sweetalert2",
      "display": "Pass untrusted messages as text, or escape them before using html.",
      "asOf": "2026-11-18"
    },
    "F80": {
      "label": "Quickstart, sweetalert2",
      "display": "const Toast = Swal.mixin({\n  toast: true,\n  position: 'top-end',\n  timer: 3000,\n  timerProgressBar: true\n})\nToast.fire('Something interesting happened', '', 'info')\n",
      "asOf": "2026-11-18"
    },
    "F81": {
      "label": "Quickstart source reference, sweetalert2",
      "display": "sweetalert2.d.ts",
      "asOf": "2026-11-18"
    },
    "F82": {
      "label": "Project function, sweetalert2",
      "display": "function initSwal(reducedMotion = false) {\n  const commonSwalOptions: SweetAlertOptions = {\n    target: `#${swalContainerWrapperId}`,\n    ...(reducedMotion && {\n      showClass: {\n        popup: '',\n        backdrop: '',\n        icon: '',\n      },\n      hideClass: {\n        popup: '',\n        backdrop: '',\n        icon: '',\n      },\n    }),\n    reverseButtons: dialogButtonOrder === 'ltr',\n  };\n\n  Swal = SwalRaw.mixin({\n    ...commonSwalOptions,\n  });\n\n  toast = Swal.mixin({\n    ...commonSwalOptions,\n    toast: true,\n    width: '50vw',\n    position: 'top',\n    showConfirmButton: false,\n    showCloseButton: true,\n    timer: 5000,\n    timerProgressBar: true,\n    didOpen: (self) => {\n      self.addEventListener('mouseenter', Swal.stopTimer);\n      self.addEventListener('mouseleave', Swal.resumeTimer);\n    },\n  });\n\n  ReactSwal = withReactContent(Swal);\n}\n",
      "asOf": "2026-11-18"
    },
    "F83": {
      "label": "Project function reference, sweetalert2",
      "display": "swal.ts · initSwal()",
      "asOf": "2026-11-18"
    },
    "F84": {
      "label": "Project repository, sweetalert2",
      "display": "mifi/lossless-cut",
      "asOf": "2026-11-18"
    },
    "F85": {
      "label": "Project stars, mifi/lossless-cut",
      "display": "46.1K",
      "asOf": "2026-11-18"
    },
    "F86": {
      "label": "Project push date, mifi/lossless-cut",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F87": {
      "label": "Library name, toastr",
      "display": "Toastr",
      "asOf": "2026-11-18"
    },
    "F88": {
      "label": "Monthly downloads, toastr",
      "display": "950.5K",
      "asOf": "2026-11-15"
    },
    "F89": {
      "label": "License, toastr",
      "display": "toastr",
      "asOf": "2026-11-18"
    },
    "F90": {
      "label": "Package release, toastr",
      "display": "2.1.4",
      "asOf": "2017-12-08"
    },
    "F91": {
      "label": "Package release date, toastr",
      "display": "Dec 2017",
      "asOf": "2017-12-08"
    },
    "F92": {
      "label": "Repository stars, toastr",
      "display": "12.1K",
      "asOf": "2026-11-18"
    },
    "F93": {
      "label": "Timed dismissal, toastr",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F94": {
      "label": "Pause on hover, toastr",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F95": {
      "label": "Install, toastr",
      "display": "npm install toastr@2.1.4 jquery@3.7.1",
      "asOf": "2026-11-18"
    },
    "F96": {
      "label": "What it does, toastr",
      "display": "Adds nonblocking notifications to jQuery applications with timeout, close-button, and duplicate controls.",
      "asOf": "2026-11-18"
    },
    "F97": {
      "label": "strengths lead, toastr",
      "display": "Suppresses repeated messages",
      "asOf": "2026-11-18"
    },
    "F98": {
      "label": "strengths, toastr",
      "display": "Enable preventDuplicates to suppress consecutive notifications with the same message.",
      "asOf": "2026-11-18"
    },
    "F99": {
      "label": "strengths lead, toastr",
      "display": "Offers notification lifecycle callbacks",
      "asOf": "2026-11-18"
    },
    "F100": {
      "label": "strengths, toastr",
      "display": "Register callbacks for showing, hiding, clicking, and closing notifications.",
      "asOf": "2026-11-18"
    },
    "F101": {
      "label": "limitations lead, toastr",
      "display": "Requires jQuery",
      "asOf": "2026-11-18"
    },
    "F102": {
      "label": "limitations, toastr",
      "display": "Include jQuery alongside Toastr when adding notifications to an application.",
      "asOf": "2026-11-18"
    },
    "F103": {
      "label": "Quickstart, toastr",
      "display": "<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <title>Toastr notification</title>\n  <link rel=\"stylesheet\" href=\"./node_modules/toastr/build/toastr.min.css\">\n</head>\n<body>\n  <!-- Save as index.html beside node_modules after running the install command. -->\n  <script src=\"./node_modules/jquery/dist/jquery.min.js\"></script>\n  <script src=\"./node_modules/toastr/build/toastr.min.js\"></script>\n  <script>\n\t// Display an info toast with no title\n\ttoastr.info('Are you the 6 fingered man?')\n\n  </script>\n</body>\n</html>\n",
      "asOf": "2026-11-18"
    },
    "F104": {
      "label": "Project function, toastr",
      "display": "function() {\n    var Toast = Swal.mixin({\n      toast: true,\n      position: 'top-end',\n      showConfirmButton: false,\n      timer: 3000\n    });\n\n    $('.swalDefaultSuccess').click(function() {\n      Toast.fire({\n        icon: 'success',\n        title: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.swalDefaultInfo').click(function() {\n      Toast.fire({\n        icon: 'info',\n        title: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.swalDefaultError').click(function() {\n      Toast.fire({\n        icon: 'error',\n        title: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.swalDefaultWarning').click(function() {\n      Toast.fire({\n        icon: 'warning',\n        title: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.swalDefaultQuestion').click(function() {\n      Toast.fire({\n        icon: 'question',\n        title: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n\n    $('.toastrDefaultSuccess').click(function() {\n      toastr.success('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.')\n    });\n    $('.toastrDefaultInfo').click(function() {\n      toastr.info('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.')\n    });\n    $('.toastrDefaultError').click(function() {\n      toastr.error('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.')\n    });\n    $('.toastrDefaultWarning').click(function() {\n      toastr.warning('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.')\n    });\n\n    $('.toastsDefaultDefault').click(function() {\n      $(document).Toasts('create', {\n        title: 'Toast Title',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultTopLeft').click(function() {\n      $(document).Toasts('create', {\n        title: 'Toast Title',\n        position: 'topLeft',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultBottomRight').click(function() {\n      $(document).Toasts('create', {\n        title: 'Toast Title',\n        position: 'bottomRight',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultBottomLeft').click(function() {\n      $(document).Toasts('create', {\n        title: 'Toast Title',\n        position: 'bottomLeft',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultAutohide').click(function() {\n      $(document).Toasts('create', {\n        title: 'Toast Title',\n        autohide: true,\n        delay: 750,\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultNotFixed').click(function() {\n      $(document).Toasts('create', {\n        title: 'Toast Title',\n        fixed: false,\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultFull').click(function() {\n      $(document).Toasts('create', {\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        icon: 'fas fa-envelope fa-lg',\n      })\n    });\n    $('.toastsDefaultFullImage').click(function() {\n      $(document).Toasts('create', {\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        image: '../../dist/img/user3-128x128.jpg',\n        imageAlt: 'User Picture',\n      })\n    });\n    $('.toastsDefaultSuccess').click(function() {\n      $(document).Toasts('create', {\n        class: 'bg-success',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultInfo').click(function() {\n      $(document).Toasts('create', {\n        class: 'bg-info',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultWarning').click(function() {\n      $(document).Toasts('create', {\n        class: 'bg-warning',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultDanger').click(function() {\n      $(document).Toasts('create', {\n        class: 'bg-danger',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n    $('.toastsDefaultMaroon').click(function() {\n      $(document).Toasts('create', {\n        class: 'bg-maroon',\n        title: 'Toast Title',\n        subtitle: 'Subtitle',\n        body: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.'\n      })\n    });\n  }\n",
      "asOf": "2026-11-18"
    },
    "F105": {
      "label": "Project function reference, toastr",
      "display": "modals.html · document-ready callback()",
      "asOf": "2026-11-18"
    },
    "F106": {
      "label": "Project repository, toastr",
      "display": "ColorlibHQ/AdminLTE",
      "asOf": "2026-11-18"
    },
    "F107": {
      "label": "Project stars, ColorlibHQ/AdminLTE",
      "display": "45.7K",
      "asOf": "2026-11-18"
    },
    "F108": {
      "label": "Project push date, ColorlibHQ/AdminLTE",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F109": {
      "label": "Library name, toastify-js",
      "display": "Toastify",
      "asOf": "2026-11-18"
    },
    "F110": {
      "label": "Monthly downloads, toastify-js",
      "display": "584.9K",
      "asOf": "2026-11-15"
    },
    "F111": {
      "label": "License, toastify-js",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F112": {
      "label": "Package release, toastify-js",
      "display": "1.12.0",
      "asOf": "2022-07-21"
    },
    "F113": {
      "label": "Package release date, toastify-js",
      "display": "Jul 2022",
      "asOf": "2022-07-21"
    },
    "F114": {
      "label": "Repository stars, toastify-js",
      "display": "2.5K",
      "asOf": "2026-11-18"
    },
    "F115": {
      "label": "Timed dismissal, toastify-js",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F116": {
      "label": "Pause on hover, toastify-js",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F117": {
      "label": "Install, toastify-js",
      "display": "npm install toastify-js",
      "asOf": "2026-11-18"
    },
    "F118": {
      "label": "What it does, toastify-js",
      "display": "Provides framework-independent JavaScript toast notifications with configurable placement and lifetime.",
      "asOf": "2026-11-18"
    },
    "F119": {
      "label": "strengths lead, toastify-js",
      "display": "Stacks simultaneous notifications",
      "asOf": "2026-11-18"
    },
    "F120": {
      "label": "strengths, toastify-js",
      "display": "Configure the order of stacked notifications with oldestFirst.",
      "asOf": "2026-11-18"
    },
    "F121": {
      "label": "strengths lead, toastify-js",
      "display": "Accepts existing DOM content",
      "asOf": "2026-11-18"
    },
    "F122": {
      "label": "strengths, toastify-js",
      "display": "Pass node to mount an element instead of the text value.",
      "asOf": "2026-11-18"
    },
    "F123": {
      "label": "limitations lead, toastify-js",
      "display": "Markup is escaped by default",
      "asOf": "2026-11-18"
    },
    "F124": {
      "label": "limitations, toastify-js",
      "display": "Disable escapeMarkup when the message intentionally contains HTML.",
      "asOf": "2026-11-18"
    },
    "F125": {
      "label": "Quickstart, toastify-js",
      "display": "import Toastify from 'toastify-js'\n\nimport \"toastify-js/src/toastify.css\"\n\nToastify({\n  text: \"This is a toast\",\n  duration: 3000,\n  destination: \"https://github.com/apvarun/toastify-js\",\n  newWindow: true,\n  close: true,\n  gravity: \"top\", // `top` or `bottom`\n  position: \"left\", // `left`, `center` or `right`\n  stopOnFocus: true, // Prevents dismissing of toast on hover\n  style: {\n    background: \"linear-gradient(to right, #00b09b, #96c93d)\",\n  },\n  onClick: function(){} // Callback after click\n}).showToast();\n",
      "asOf": "2026-11-18"
    },
    "F126": {
      "label": "Project function, toastify-js",
      "display": "function showToast(message: string, level: Intent = 'info', {gravity, position, duration, useHtmlBody, preventDuplicates = true, ...other}: ToastOpts = {}): Toast | null {\n  const duplicateKey = preventDuplicates ? (typeof preventDuplicates === 'string' ? preventDuplicates : `${level}-${message}`) : '';\n\n  // prevent showing duplicate toasts with the same level and message, and give visual feedback for end users\n  if (preventDuplicates) {\n    const toastEl = document.body.querySelector(`:scope > .toastify.on[data-toast-unique-key=\"${CSS.escape(duplicateKey)}\"]`);\n    if (toastEl) {\n      const toastDupNumEl = toastEl.querySelector('.toast-duplicate-number')!;\n      showElem(toastDupNumEl);\n      toastDupNumEl.textContent = String(Number(toastDupNumEl.textContent) + 1);\n      animateOnce(toastDupNumEl, 'pulse-1p5-200');\n      return null;\n    }\n  }\n\n  const {icon, duration: levelDuration} = levels[level];\n  const bodyHtml = useHtmlBody ? message : htmlEscape(message);\n  const toast = Toastify({\n    text: html`\n      <div class='toast-icon'>${svgRaw(icon)}</div>\n      <div class='toast-body'><span class=\"toast-duplicate-number tw-hidden\">1</span>${htmlRaw(bodyHtml)}</div>\n      <button class='btn toast-close'>${svgRaw('octicon-x')}</button>\n    `,\n    escapeMarkup: false,\n    className: `toast-${level}`,\n    gravity: gravity ?? 'top',\n    position: position ?? 'center',\n    duration: duration ?? levelDuration,\n    ...other,\n  });\n\n  toast.showToast();\n  const el = toast.toastElement as ToastifyElement;\n  el.querySelector('.toast-close')!.addEventListener('click', () => toast.hideToast());\n  el.setAttribute('data-toast-unique-key', duplicateKey);\n  el._giteaToastifyInstance = toast;\n  return toast;\n}\n",
      "asOf": "2026-11-18"
    },
    "F127": {
      "label": "Project function reference, toastify-js",
      "display": "toast.ts · showToast()",
      "asOf": "2026-11-18"
    },
    "F128": {
      "label": "Project repository, toastify-js",
      "display": "go-gitea/gitea",
      "asOf": "2026-11-18"
    },
    "F129": {
      "label": "Project stars, go-gitea/gitea",
      "display": "59.1K",
      "asOf": "2026-11-18"
    },
    "F130": {
      "label": "Project push date, go-gitea/gitea",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F131": {
      "label": "Library name, notyf",
      "display": "Notyf",
      "asOf": "2026-11-18"
    },
    "F132": {
      "label": "Monthly downloads, notyf",
      "display": "238.6K",
      "asOf": "2026-11-15"
    },
    "F133": {
      "label": "License, notyf",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F134": {
      "label": "Package release, notyf",
      "display": "3.10.0",
      "asOf": "2021-06-08"
    },
    "F135": {
      "label": "Package release date, notyf",
      "display": "Jun 2021",
      "asOf": "2021-06-08"
    },
    "F136": {
      "label": "Repository stars, notyf",
      "display": "2.9K",
      "asOf": "2026-11-18"
    },
    "F137": {
      "label": "Timed dismissal, notyf",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F138": {
      "label": "Install, notyf",
      "display": "npm install notyf",
      "asOf": "2026-11-18"
    },
    "F139": {
      "label": "What it does, notyf",
      "display": "Provides typed notification instances, custom notification types, and dismissal events.",
      "asOf": "2026-11-18"
    },
    "F140": {
      "label": "strengths lead, notyf",
      "display": "Dismisses individual notification instances",
      "asOf": "2026-11-18"
    },
    "F141": {
      "label": "strengths, notyf",
      "display": "Keep the returned notification and pass it to dismiss.",
      "asOf": "2026-11-18"
    },
    "F142": {
      "label": "strengths lead, notyf",
      "display": "Registers notification event handlers",
      "asOf": "2026-11-18"
    },
    "F143": {
      "label": "strengths, notyf",
      "display": "Use notification.on to react to notification clicks.",
      "asOf": "2026-11-18"
    },
    "F144": {
      "label": "limitations lead, notyf",
      "display": "Message HTML needs sanitizing",
      "asOf": "2026-11-18"
    },
    "F145": {
      "label": "limitations, notyf",
      "display": "Sanitize HTML messages or exclude untrusted content from notifications.",
      "asOf": "2026-11-18"
    },
    "F146": {
      "label": "Quickstart, notyf",
      "display": "import { Notyf } from 'notyf';\nimport 'notyf/notyf.min.css'; // for React, Vue and Svelte\n\n// Create an instance of Notyf\nconst notyf = new Notyf();\n\n// Display an error notification \nnotyf.error('Please fill out the form');\n",
      "asOf": "2026-11-18"
    },
    "F147": {
      "label": "Project function, notyf",
      "display": "export function notify(message: string, options: NoticeOptions = {}, id = Symbol('notice')): symbol {\n  if (!message) { dismissNotice(id); return id; }\n  const notyf = service(), kind = options.kind ?? 'info';\n  for (const [key, notice] of active) {\n    if (!notice.node.isConnected || notice.node.classList.contains('notyf__toast--disappear')) dismissNotice(key);\n  }\n  const current = active.get(id);\n  if (current?.kind === kind && current.message === message) return id;\n  if (current?.kind === 'loading' && kind === 'loading') {\n    current.message = message;\n    current.node.querySelector('.notyf__message')!.textContent = message;\n    return id;\n  }\n  dismissNotice(id);\n  if (active.size >= 3) dismissNotice(active.keys().next().value!);\n  const escaped = document.createElement('span'); escaped.textContent = message;\n  const notification = notyf.open({ type: kind, message: escaped.innerHTML, dismissible: kind !== 'loading',\n    duration: kind === 'loading' ? 0 : options.duration ?? Math.min(12_000, Math.max(6000, message.length * 100)),\n  });\n  const node = container!.lastElementChild as HTMLElement;\n  node.dataset.kind = kind;\n  const content = node.querySelector<HTMLElement>('.notyf__message')!;\n  content.setAttribute('role', kind === 'error' ? 'alert' : 'status');\n  content.setAttribute('aria-live', kind === 'error' ? 'assertive' : 'polite');\n  content.setAttribute('aria-atomic', 'true');\n  const close = node.querySelector('button');\n  if (close) { close.type = 'button'; close.setAttribute('aria-label', '关闭提示'); }\n  active.set(id, { notification, node, message, kind });\n  notification.on(NotyfEvent.Dismiss, () => dismissNotice(id));\n  return id;\n}\n",
      "asOf": "2026-11-18"
    },
    "F148": {
      "label": "Project function reference, notyf",
      "display": "notifications.ts · notify()",
      "asOf": "2026-11-18"
    },
    "F149": {
      "label": "Project repository, notyf",
      "display": "hectorqin/reader",
      "asOf": "2026-11-18"
    },
    "F150": {
      "label": "Project stars, hectorqin/reader",
      "display": "11.1K",
      "asOf": "2026-11-18"
    },
    "F151": {
      "label": "Project push date, hectorqin/reader",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F152": {
      "label": "Library name, izitoast",
      "display": "iziToast",
      "asOf": "2026-11-18"
    },
    "F153": {
      "label": "Monthly downloads, izitoast",
      "display": "99.5K",
      "asOf": "2026-11-15"
    },
    "F154": {
      "label": "License, izitoast",
      "display": "Apache-2.0",
      "asOf": "2026-11-18"
    },
    "F155": {
      "label": "Package release, izitoast",
      "display": "1.4.0",
      "asOf": "2018-08-13"
    },
    "F156": {
      "label": "Package release date, izitoast",
      "display": "Aug 2018",
      "asOf": "2018-08-13"
    },
    "F157": {
      "label": "Repository stars, izitoast",
      "display": "2.7K",
      "asOf": "2026-11-18"
    },
    "F158": {
      "label": "Timed dismissal, izitoast",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F159": {
      "label": "Pause on hover, izitoast",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F160": {
      "label": "Install, izitoast",
      "display": "npm install izitoast",
      "asOf": "2026-11-18"
    },
    "F161": {
      "label": "What it does, izitoast",
      "display": "Provides notification buttons, display modes, timeout controls, and lifecycle callbacks.",
      "asOf": "2026-11-18"
    },
    "F162": {
      "label": "strengths lead, izitoast",
      "display": "Adds notification action buttons",
      "asOf": "2026-11-18"
    },
    "F163": {
      "label": "strengths, izitoast",
      "display": "Attach buttons with callbacks that can close the notification.",
      "asOf": "2026-11-18"
    },
    "F164": {
      "label": "strengths lead, izitoast",
      "display": "Controls duplicate notification display",
      "asOf": "2026-11-18"
    },
    "F165": {
      "label": "strengths, izitoast",
      "display": "Use displayMode to replace notifications with the same id.",
      "asOf": "2026-11-18"
    },
    "F166": {
      "label": "limitations lead, izitoast",
      "display": "Duplicate identity follows message content",
      "asOf": "2026-11-18"
    },
    "F167": {
      "label": "limitations, izitoast",
      "display": "Set an explicit id when changing message text should replace an existing toast.",
      "asOf": "2026-11-18"
    },
    "F168": {
      "label": "Quickstart, izitoast",
      "display": "                        iziToast.show({\n                            title: 'Hey',\n                            message: 'What would you like to add?'\n                        });\n                    \n",
      "asOf": "2026-11-18"
    },
    "F169": {
      "label": "Project function, izitoast",
      "display": "function confirm(message, onConfirm = () => {}, onCancel = () => {}) {\n  iziToast.show({\n    ...BASE_OPTIONS,\n    message,\n    title: '',\n    class: 'iziToast__confirm-dialog',\n    icon: 'material-icons',\n    iconText: 'help_outline',\n    toastOnce: true,\n    buttons: [\n      [\n        '<button class=\"iziToast__destructive-btn\"><b>YES</b></button>',\n        (instance, toast) => {\n          instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');\n          onConfirm();\n        },\n        false,\n      ],\n      [\n        '<button class=\"iziToast__cancel-btn\"><b>No</b></button>',\n        (instance, toast) => {\n          instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');\n          onCancel();\n        },\n        false,\n      ],\n    ],\n  });\n}\n",
      "asOf": "2026-11-18"
    },
    "F170": {
      "label": "Project function reference, izitoast",
      "display": "izitoast-helper.js · confirm()",
      "asOf": "2026-11-18"
    },
    "F171": {
      "label": "Project repository, izitoast",
      "display": "Kloudless/meeting-scheduler",
      "asOf": "2026-11-18"
    },
    "F172": {
      "label": "Project stars, Kloudless/meeting-scheduler",
      "display": "132",
      "asOf": "2026-11-18"
    },
    "F173": {
      "label": "Project push date, Kloudless/meeting-scheduler",
      "display": "Sep 2021",
      "asOf": "2021-09-21"
    },
    "F174": {
      "label": "Developer need",
      "display": "React apps wanting a styled stack",
      "asOf": "2026-11-18"
    },
    "F175": {
      "label": "Why choose sonner",
      "display": "a compact stack that expands on hover",
      "asOf": "2026-11-18"
    },
    "F176": {
      "label": "Developer need in introduction",
      "display": "React apps wanting a styled stack",
      "asOf": "2026-11-18"
    },
    "F177": {
      "label": "When to consider react-hot-toast",
      "display": "for custom toast markup",
      "asOf": "2026-11-18"
    },
    "F178": {
      "label": "Developer need",
      "display": "Many toasts at once",
      "asOf": "2026-11-18"
    },
    "F179": {
      "label": "Why choose react-toastify",
      "display": "limits how many toasts are visible",
      "asOf": "2026-11-18"
    },
    "F180": {
      "label": "Developer need in introduction",
      "display": "React apps with busy notification queues",
      "asOf": "2026-11-18"
    },
    "F181": {
      "label": "When to consider sonner",
      "display": "for a compact styled stack",
      "asOf": "2026-11-18"
    },
    "F182": {
      "label": "Developer need",
      "display": "Custom toast design",
      "asOf": "2026-11-18"
    },
    "F183": {
      "label": "Why choose react-hot-toast",
      "display": "exposes a hook for custom toast markup",
      "asOf": "2026-11-18"
    },
    "F184": {
      "label": "Developer need in introduction",
      "display": "React apps with custom notification designs",
      "asOf": "2026-11-18"
    },
    "F185": {
      "label": "When to consider react-toastify",
      "display": "to cap how many toasts show",
      "asOf": "2026-11-18"
    },
    "F186": {
      "label": "Developer need",
      "display": "Plain JavaScript pages",
      "asOf": "2026-11-18"
    },
    "F187": {
      "label": "Why choose toastify-js",
      "display": "a vanilla JavaScript notification interface",
      "asOf": "2026-11-18"
    },
    "F188": {
      "label": "Developer need in introduction",
      "display": "plain JavaScript pages",
      "asOf": "2026-11-18"
    },
    "F189": {
      "label": "When to consider notyf",
      "display": "for simple success and error messages",
      "asOf": "2026-11-18"
    },
    "F190": {
      "label": "Developer need",
      "display": "Simple success and error messages",
      "asOf": "2026-11-18"
    },
    "F191": {
      "label": "Why choose notyf",
      "display": "ready-made notification types",
      "asOf": "2026-11-18"
    },
    "F192": {
      "label": "Developer need in introduction",
      "display": "simple success and error messages",
      "asOf": "2026-11-18"
    },
    "F193": {
      "label": "Developer need",
      "display": "Buttons inside plain JavaScript notifications",
      "asOf": "2026-11-18"
    },
    "F194": {
      "label": "Why choose izitoast",
      "display": "notification buttons with callbacks",
      "asOf": "2026-11-18"
    },
    "F195": {
      "label": "Developer need in introduction",
      "display": "buttons inside plain JavaScript notifications",
      "asOf": "2026-11-18"
    },
    "F196": {
      "label": "Developer need",
      "display": "Confirmations and toasts in one application",
      "asOf": "2026-11-18"
    },
    "F197": {
      "label": "Why choose sweetalert2",
      "display": "dialog controls alongside a separate toast mode",
      "asOf": "2026-11-18"
    },
    "F198": {
      "label": "Developer need in introduction",
      "display": "confirmations and toasts in one application",
      "asOf": "2026-11-18"
    },
    "F199": {
      "label": "Developer need",
      "display": "Existing jQuery applications",
      "asOf": "2026-11-18"
    },
    "F200": {
      "label": "Why choose toastr",
      "display": "a jQuery notification integration",
      "asOf": "2026-11-18"
    },
    "F201": {
      "label": "Developer need in introduction",
      "display": "existing jQuery applications",
      "asOf": "2026-11-18"
    },
    "F202": {
      "label": "Page introduction",
      "display": "JavaScript toast notification libraries let web developers show temporary notifications.",
      "asOf": "2026-11-18"
    },
    "F203": {
      "label": "Page introduction",
      "display": "For React apps wanting a styled notification stack, start with Sonner.",
      "asOf": "2026-11-18"
    },
    "F204": {
      "label": "Page introduction",
      "display": "For plain JavaScript pages, start with Toastify.",
      "asOf": "2026-11-18"
    },
    "F205": {
      "label": "Page introduction",
      "display": "Choose React-Toastify for notification queues and progress controls.",
      "asOf": "2026-11-18"
    },
    "F206": {
      "label": "Page introduction",
      "display": "Use react-hot-toast when the application owns the notification design.",
      "asOf": "2026-11-18"
    },
    "F207": {
      "label": "FAQ: Which JavaScript toast library should I use?",
      "display": "Start with Sonner for a ready-made React stack.",
      "asOf": "2026-11-18"
    },
    "F208": {
      "label": "FAQ: Which JavaScript toast library should I use?",
      "display": "Choose React-Toastify for notification queue controls.",
      "asOf": "2026-11-18"
    },
    "F209": {
      "label": "FAQ: Which JavaScript toast library should I use?",
      "display": "Choose react-hot-toast when the app owns the notification renderer.",
      "asOf": "2026-11-18"
    },
    "F210": {
      "label": "FAQ: Which JavaScript toast library should I use?",
      "display": "Use Toastify on plain JavaScript pages.",
      "asOf": "2026-11-18"
    },
    "F211": {
      "label": "FAQ: Sonner or react-hot-toast for a React app?",
      "display": "Sonner supplies a styled stack with action buttons.",
      "asOf": "2026-11-18"
    },
    "F212": {
      "label": "FAQ: Sonner or react-hot-toast for a React app?",
      "display": "Choose react-hot-toast for headless state behind an application-specific notification design.",
      "asOf": "2026-11-18"
    },
    "F213": {
      "label": "FAQ: When should I choose React-Toastify instead of Sonner?",
      "display": "Consider React-Toastify when controlling visible notification counts or progress is central to the interface.",
      "asOf": "2026-11-18"
    },
    "F214": {
      "label": "FAQ: How do I show loading, success, and error feedback for an async task?",
      "display": "Sonner updates a loading notification after the promise resolves or fails.",
      "asOf": "2026-11-18"
    },
    "F215": {
      "label": "FAQ: How do I show loading, success, and error feedback for an async task?",
      "display": "react-hot-toast also maps promise outcomes to notification updates.",
      "asOf": "2026-11-18"
    },
    "F216": {
      "label": "FAQ: How do I show loading, success, and error feedback for an async task?",
      "display": "React-Toastify supplies a promise helper for pending, success, and error feedback.",
      "asOf": "2026-11-18"
    },
    "F217": {
      "label": "FAQ: Do I need React or jQuery to show toast notifications?",
      "display": "Toastify exposes a vanilla JavaScript interface.",
      "asOf": "2026-11-18"
    },
    "F218": {
      "label": "FAQ: Do I need React or jQuery to show toast notifications?",
      "display": "Sonner is a React component.",
      "asOf": "2026-11-18"
    },
    "F219": {
      "label": "FAQ: Do I need React or jQuery to show toast notifications?",
      "display": "Toastr explicitly requires jQuery.",
      "asOf": "2026-11-18"
    },
    "F220": {
      "label": "FAQ: Which toast libraries support keyboard and screen-reader interaction?",
      "display": "React-Toastify provides an alert role and a configurable shortcut for focusing notifications.",
      "asOf": "2026-11-18"
    },
    "F221": {
      "label": "FAQ: Which toast libraries support keyboard and screen-reader interaction?",
      "display": "Its default shortcut focuses a notification so people can tab through the controls.",
      "asOf": "2026-11-18"
    },
    "F222": {
      "label": "Library name, sonner",
      "display": "Sonner",
      "asOf": "2026-11-18"
    },
    "F223": {
      "label": "Monthly downloads, sonner",
      "display": "226.6M",
      "asOf": "2026-11-18"
    },
    "F224": {
      "label": "License, sonner",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F225": {
      "label": "Package release, sonner",
      "display": "2.0.8",
      "asOf": "2026-11-18"
    },
    "F226": {
      "label": "Package release date, sonner",
      "display": "Aug 2026",
      "asOf": "2026-11-18"
    },
    "F227": {
      "label": "Install, sonner",
      "display": "npm install sonner",
      "asOf": "2026-11-18"
    },
    "F228": {
      "label": "Quickstart, sonner",
      "display": "import { Toaster, toast } from 'sonner';\n\n// ...\n\nfunction App() {\n  return (\n    <div>\n      <Toaster />\n      <button onClick={() => toast('My first toast')}>Give me a toast</button>\n    </div>\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F229": {
      "label": "Repository stars, sonner",
      "display": "13.2K",
      "asOf": "2026-11-18"
    },
    "F230": {
      "label": "Requires React host, sonner",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F231": {
      "label": "Pre-styled toast renderer, sonner",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F232": {
      "label": "Project function, sonner",
      "display": "export function showToast(\n  message: string,\n  variant: ToastVariants,\n  options: number | ExternalToast = TOAST_VISIBLE_DURATION\n) {\n  const _options: ExternalToast = typeof options === \"number\" ? { duration: options } : options;\n  if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;\n  if (!_options.position) _options.position = \"bottom-center\";\n\n  const onClose = (toastId: string | number) => {\n    toast.dismiss(toastId);\n  };\n\n  const toastElements: { [x in ToastVariants]: (t: number | string) => JSX.Element } = {\n    success: (toastId) => <SuccessToast message={message} onClose={onClose} toastId={toastId} />,\n    error: (toastId) => <ErrorToast message={message} onClose={onClose} toastId={toastId} />,\n    warning: (toastId) => <WarningToast message={message} onClose={onClose} toastId={toastId} />,\n  };\n\n  return toast.custom(\n    toastElements[variant] ||\n      ((toastId) => <SuccessToast message={message} onClose={onClose} toastId={toastId} />),\n    _options\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F233": {
      "label": "Project source file, sonner",
      "display": "packages/ui/components/toast/showToast.tsx",
      "asOf": "2026-11-18"
    },
    "F234": {
      "label": "Project full_name, sonner",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-18"
    },
    "F235": {
      "label": "Project stargazers_count, sonner",
      "display": "50.1K",
      "asOf": "2026-11-18"
    },
    "F236": {
      "label": "Library name, @radix-ui/react-toast",
      "display": "@radix-ui/react-toast",
      "asOf": "2026-11-18"
    },
    "F237": {
      "label": "Monthly downloads, @radix-ui/react-toast",
      "display": "168.4M",
      "asOf": "2026-11-18"
    },
    "F238": {
      "label": "License, @radix-ui/react-toast",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F239": {
      "label": "Package release, @radix-ui/react-toast",
      "display": "1.3.1",
      "asOf": "2026-11-18"
    },
    "F240": {
      "label": "Package release date, @radix-ui/react-toast",
      "display": "Oct 2026",
      "asOf": "2026-11-18"
    },
    "F241": {
      "label": "Install, @radix-ui/react-toast",
      "display": "npm install radix-ui",
      "asOf": "2026-11-18"
    },
    "F242": {
      "label": "Quickstart, @radix-ui/react-toast",
      "display": "import { Toast } from \"radix-ui\";\n\nexport default () => (\n  <Toast.Provider>\n    <Toast.Root>\n      <Toast.Description>Saved!</Toast.Description>\n      <Toast.Close>Dismiss</Toast.Close>\n    </Toast.Root>\n    <Toast.Viewport />\n  </Toast.Provider>\n);\n",
      "asOf": "2026-11-18"
    },
    "F243": {
      "label": "Official description, @radix-ui/react-toast",
      "display": "View docs here.",
      "asOf": "2026-11-18"
    },
    "F244": {
      "label": "Quickstart source file, @radix-ui/react-toast",
      "display": "data/primitives/docs/components/toast.mdx",
      "asOf": "2026-11-18"
    },
    "F245": {
      "label": "Repository stars, @radix-ui/react-toast",
      "display": "19.5K",
      "asOf": "2026-11-18"
    },
    "F246": {
      "label": "Requires React host, @radix-ui/react-toast",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F247": {
      "label": "Pre-styled toast renderer, @radix-ui/react-toast",
      "display": "No",
      "asOf": "2026-11-18"
    },
    "F248": {
      "label": "Project function, @radix-ui/react-toast",
      "display": "const Toast = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Root>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &\n    VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => {\n  return (\n    <ToastPrimitives.Root\n      ref={ref}\n      className={cn(toastVariants({ variant }), className)}\n      {...props}\n    />\n  );\n});\n",
      "asOf": "2026-11-18"
    },
    "F249": {
      "label": "Project source file, @radix-ui/react-toast",
      "display": "server/dashboard/src/components/ui/toast.tsx",
      "asOf": "2026-11-18"
    },
    "F250": {
      "label": "Project full_name, @radix-ui/react-toast",
      "display": "mem0ai/mem0",
      "asOf": "2026-11-18"
    },
    "F251": {
      "label": "Project stargazers_count, @radix-ui/react-toast",
      "display": "69.2K",
      "asOf": "2026-11-18"
    },
    "F252": {
      "label": "Library name, react-hot-toast",
      "display": "react-hot-toast",
      "asOf": "2026-11-18"
    },
    "F253": {
      "label": "Monthly downloads, react-hot-toast",
      "display": "19.7M",
      "asOf": "2026-11-18"
    },
    "F254": {
      "label": "License, react-hot-toast",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F255": {
      "label": "Package release, react-hot-toast",
      "display": "2.6.1",
      "asOf": "2026-11-18"
    },
    "F256": {
      "label": "Package release date, react-hot-toast",
      "display": "Sep 2026",
      "asOf": "2026-11-18"
    },
    "F257": {
      "label": "Install, react-hot-toast",
      "display": "npm install react-hot-toast",
      "asOf": "2026-11-18"
    },
    "F258": {
      "label": "Quickstart, react-hot-toast",
      "display": "import toast, { Toaster } from 'react-hot-toast';\n\nconst notify = () => toast('Here is your toast.');\n\nconst App = () => {\n  return (\n    <div>\n      <button onClick={notify}>Make me a toast</button>\n      <Toaster />\n    </div>\n  );\n};\n",
      "asOf": "2026-11-18"
    },
    "F259": {
      "label": "Repository stars, react-hot-toast",
      "display": "11.0K",
      "asOf": "2026-11-18"
    },
    "F260": {
      "label": "Requires React host, react-hot-toast",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F261": {
      "label": "Pre-styled toast renderer, react-hot-toast",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F262": {
      "label": "Project function, react-hot-toast",
      "display": "export function showToast(\n  message: string,\n  variant: ToastVariants,\n  // Options or duration (duration for backwards compatibility reasons)\n  options: number | ToastOptions = TOAST_VISIBLE_DURATION\n) {\n  //\n  const _options: ToastOptions = typeof options === \"number\" ? { duration: options } : options;\n  if (!_options.duration) _options.duration = TOAST_VISIBLE_DURATION;\n\n  const onClose = (toastId: string) => {\n    toast.remove(toastId);\n  };\n  const toastElements: { [x in ToastVariants]: (t: Toast) => JSX.Element } = {\n    success: (t) => (\n      <SuccessToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />\n    ),\n    error: (t) => <ErrorToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />,\n    warning: (t) => (\n      <WarningToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />\n    ),\n  };\n  return toast.custom(\n    toastElements[variant] ||\n      ((t) => <DefaultToast message={message} toastVisible={t.visible} onClose={onClose} toastId={t.id} />),\n    _options\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F263": {
      "label": "Project source file, react-hot-toast",
      "display": "packages/ui/components/toast/showToast.tsx",
      "asOf": "2026-11-18"
    },
    "F264": {
      "label": "Project full_name, react-hot-toast",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-18"
    },
    "F265": {
      "label": "Project stargazers_count, react-hot-toast",
      "display": "50.1K",
      "asOf": "2026-11-18"
    },
    "F266": {
      "label": "Library name, react-toastify",
      "display": "React-Toastify",
      "asOf": "2026-11-18"
    },
    "F267": {
      "label": "Monthly downloads, react-toastify",
      "display": "19.6M",
      "asOf": "2026-11-18"
    },
    "F268": {
      "label": "License, react-toastify",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F269": {
      "label": "Package release, react-toastify",
      "display": "11.2.0",
      "asOf": "2026-11-18"
    },
    "F270": {
      "label": "Package release date, react-toastify",
      "display": "Oct 2026",
      "asOf": "2026-11-18"
    },
    "F271": {
      "label": "Install, react-toastify",
      "display": "npm install --save react-toastify",
      "asOf": "2026-11-18"
    },
    "F272": {
      "label": "Quickstart, react-toastify",
      "display": "  import React from 'react';\n\n  import { ToastContainer, toast } from 'react-toastify';\n  \n  function App(){\n    const notify = () => toast(\"Wow so easy!\");\n\n    return (\n      <div>\n        <button onClick={notify}>Notify!</button>\n        <ToastContainer />\n      </div>\n    );\n  }\n",
      "asOf": "2026-11-18"
    },
    "F273": {
      "label": "Repository stars, react-toastify",
      "display": "13.4K",
      "asOf": "2026-11-18"
    },
    "F274": {
      "label": "Requires React host, react-toastify",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F275": {
      "label": "Pre-styled toast renderer, react-toastify",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F276": {
      "label": "Project function, react-toastify",
      "display": "export const toastError = (\n  err: string | Error | Error[],\n  option: ToastOptions = toastErrorOption,\n): void => {\n  const errs = toArrayIfNot(err);\n\n  if (errs.length === 0) {\n    return;\n  }\n\n  for (const err of errs) {\n    const message = typeof err === 'string' ? err : err.message;\n    toast.error(message, option);\n  }\n};\n",
      "asOf": "2026-11-18"
    },
    "F277": {
      "label": "Project source file, react-toastify",
      "display": "apps/app/src/client/util/toastr.ts",
      "asOf": "2026-11-18"
    },
    "F278": {
      "label": "Project full_name, react-toastify",
      "display": "growilabs/growi",
      "asOf": "2026-11-18"
    },
    "F279": {
      "label": "Project stargazers_count, react-toastify",
      "display": "1.5K",
      "asOf": "2026-11-18"
    },
    "F280": {
      "label": "Library name, vue-sonner",
      "display": "Vue Sonner",
      "asOf": "2026-11-18"
    },
    "F281": {
      "label": "Monthly downloads, vue-sonner",
      "display": "12.0M",
      "asOf": "2026-11-18"
    },
    "F282": {
      "label": "License, vue-sonner",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F283": {
      "label": "Package release, vue-sonner",
      "display": "2.0.9",
      "asOf": "2026-11-18"
    },
    "F284": {
      "label": "Package release date, vue-sonner",
      "display": "Oct 2025",
      "asOf": "2026-11-18"
    },
    "F285": {
      "label": "Install, vue-sonner",
      "display": "npm install vue-sonner",
      "asOf": "2026-11-18"
    },
    "F286": {
      "label": "Quickstart, vue-sonner",
      "display": "<!-- App.vue -->\n<template>\n  <Toaster />\n  <button @click=\"() => toast('My first toast')\">Render a toast</button>\n</template>\n\n<script lang=\"ts\" setup>\n  import 'vue-sonner/style.css'\n  import { Toaster, toast } from 'vue-sonner'\n</script>\n",
      "asOf": "2026-11-18"
    },
    "F287": {
      "label": "Official description, vue-sonner",
      "display": "[![NPM][npmBadge]][npmUrl] [![Minzip Package][bundlePhobiaBadge]][bundlePhobiaUrl] [![NPM Download][npmDtBadge]][npmDtUrl]",
      "asOf": "2026-11-18"
    },
    "F288": {
      "label": "Quickstart source file, vue-sonner",
      "display": "README.md",
      "asOf": "2026-11-18"
    },
    "F289": {
      "label": "Repository stars, vue-sonner",
      "display": "1.5K",
      "asOf": "2026-11-18"
    },
    "F290": {
      "label": "Requires React host, vue-sonner",
      "display": "No",
      "asOf": "2026-11-18"
    },
    "F291": {
      "label": "Pre-styled toast renderer, vue-sonner",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F292": {
      "label": "Project function, vue-sonner",
      "display": "function showStaticToast(title: string, data?: ExternalToast) {\n  const rest: Record<string, unknown> = data ? { ...data } : {};\n  delete rest.description;\n  delete rest.componentProps;\n\n  return sonnerToast.custom(markRaw(ToastStatic), {\n    ...(rest as ExternalToast),\n    componentProps: {\n      data: {\n        title,\n        description: staticDescription(data),\n      },\n    },\n  });\n}\n",
      "asOf": "2026-11-18"
    },
    "F293": {
      "label": "Project source file, vue-sonner",
      "display": "src/components/ui/toaster/app-toast.ts",
      "asOf": "2026-11-18"
    },
    "F294": {
      "label": "Project full_name, vue-sonner",
      "display": "aleksey-hoffman/sigma-file-manager",
      "asOf": "2026-11-18"
    },
    "F295": {
      "label": "Project stargazers_count, vue-sonner",
      "display": "6.9K",
      "asOf": "2026-11-18"
    },
    "F296": {
      "label": "Library name, notistack",
      "display": "Notistack",
      "asOf": "2026-11-18"
    },
    "F297": {
      "label": "Monthly downloads, notistack",
      "display": "10.5M",
      "asOf": "2026-11-18"
    },
    "F298": {
      "label": "License, notistack",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F299": {
      "label": "Package release, notistack",
      "display": "3.0.2",
      "asOf": "2026-11-18"
    },
    "F300": {
      "label": "Package release date, notistack",
      "display": "Jan 2025",
      "asOf": "2026-11-18"
    },
    "F301": {
      "label": "Install, notistack",
      "display": "npm install notistack",
      "asOf": "2026-11-18"
    },
    "F302": {
      "label": "Quickstart, notistack",
      "display": "import { SnackbarProvider, enqueueSnackbar } from 'notistack';\n\nconst App = () => {\n  return (\n    <div>\n      <SnackbarProvider />\n      <button onClick={() => enqueueSnackbar('That was easy!')}>Show snackbar</button>\n    </div>\n  );\n};\n",
      "asOf": "2026-11-18"
    },
    "F303": {
      "label": "Official description, notistack",
      "display": "Queues and stacks React snackbars through a provider and enqueue API.",
      "asOf": "2026-11-18"
    },
    "F304": {
      "label": "Quickstart source file, notistack",
      "display": "README.md",
      "asOf": "2026-11-18"
    },
    "F305": {
      "label": "Repository stars, notistack",
      "display": "4.1K",
      "asOf": "2026-11-18"
    },
    "F306": {
      "label": "Requires React host, notistack",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F307": {
      "label": "Pre-styled toast renderer, notistack",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F308": {
      "label": "Project function, notistack",
      "display": "function MyApp() {\n  const { enqueueSnackbar } = useSnackbar();\n\n  const handleClick = () => {\n    enqueueSnackbar('I love snacks.');\n  };\n\n  const handleClickVariant = (variant: VariantType) => () => {\n    // variant could be success, error, warning, info, or default\n    enqueueSnackbar('This is a success message!', { variant });\n  };\n\n  return (\n    <React.Fragment>\n      <Button onClick={handleClick}>Show snackbar</Button>\n      <Button onClick={handleClickVariant('success')}>Show success snackbar</Button>\n    </React.Fragment>\n  );\n}\n",
      "asOf": "2026-11-18"
    },
    "F309": {
      "label": "Project source file, notistack",
      "display": "docs/data/material/components/snackbars/IntegrationNotistack.tsx",
      "asOf": "2026-11-18"
    },
    "F310": {
      "label": "Project full_name, notistack",
      "display": "mui/material-ui",
      "asOf": "2026-11-18"
    },
    "F311": {
      "label": "Project stargazers_count, notistack",
      "display": "99.3K",
      "asOf": "2026-11-18"
    },
    "F312": {
      "label": "Library name, @zag-js/toast",
      "display": "@zag-js/toast",
      "asOf": "2026-11-18"
    },
    "F313": {
      "label": "Monthly downloads, @zag-js/toast",
      "display": "6.8M",
      "asOf": "2026-11-18"
    },
    "F314": {
      "label": "License, @zag-js/toast",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F315": {
      "label": "Package release, @zag-js/toast",
      "display": "1.48.0",
      "asOf": "2026-11-18"
    },
    "F316": {
      "label": "Package release date, @zag-js/toast",
      "display": "Nov 2026",
      "asOf": "2026-11-18"
    },
    "F317": {
      "label": "Install, @zag-js/toast",
      "display": "npm install @zag-js/toast",
      "asOf": "2026-11-18"
    },
    "F318": {
      "label": "Quickstart, @zag-js/toast",
      "display": "import * as toast from \"@zag-js/toast\"\n\nconst toaster = toast.createStore({\n  overlap: true,\n  placement: \"top-end\",\n})\n\ntoaster.create({\n  title: \"Hello World\",\n  description: \"This is a toast\",\n  type: \"info\",\n})\n",
      "asOf": "2026-11-18"
    },
    "F319": {
      "label": "Official description, @zag-js/toast",
      "display": "Core logic for the toast widget implemented as a state machine",
      "asOf": "2026-11-18"
    },
    "F320": {
      "label": "Quickstart source file, @zag-js/toast",
      "display": "website/data/snippets/react/toast/usage.mdx",
      "asOf": "2026-11-18"
    },
    "F321": {
      "label": "Repository stars, @zag-js/toast",
      "display": "5.3K",
      "asOf": "2026-11-18"
    },
    "F322": {
      "label": "Requires React host, @zag-js/toast",
      "display": "No",
      "asOf": "2026-11-18"
    },
    "F323": {
      "label": "Pre-styled toast renderer, @zag-js/toast",
      "display": "No",
      "asOf": "2026-11-18"
    },
    "F324": {
      "label": "Project function, @zag-js/toast",
      "display": "export const Toaster = forwardRef<HTMLDivElement, ToasterProps>((props, ref) => {\n  const { toaster, children, label, dir, getRootNode, ...localProps } = props\n\n  const locale = useLocaleContext()\n  const env = useEnvironmentContext()\n\n  const service = useMachine(toast.group.machine, {\n    store: toaster,\n    id: useId(),\n    dir: dir ?? locale?.dir,\n    getRootNode: getRootNode ?? env?.getRootNode,\n  })\n\n  const api = toast.group.connect(service, normalizeProps)\n\n  const mergedProps = mergeProps(api.getGroupProps({ label }), localProps)\n\n  return (\n    <ark.div {...mergedProps} ref={ref}>\n      {api.getToasts().map((toast, index) => (\n        <ToastActor key={toast.id} value={toast} parent={service} index={index}>\n          {(ctx) => children(ctx)}\n        </ToastActor>\n      ))}\n    </ark.div>\n  )\n})\n",
      "asOf": "2026-11-18"
    },
    "F325": {
      "label": "Project source file, @zag-js/toast",
      "display": "packages/react/src/components/toast/toaster.tsx",
      "asOf": "2026-11-18"
    },
    "F326": {
      "label": "Project full_name, @zag-js/toast",
      "display": "chakra-ui/ark",
      "asOf": "2026-11-18"
    },
    "F327": {
      "label": "Project stargazers_count, @zag-js/toast",
      "display": "5.5K",
      "asOf": "2026-11-18"
    },
    "F328": {
      "label": "Library name, sweetalert2",
      "display": "SweetAlert2",
      "asOf": "2026-11-18"
    },
    "F329": {
      "label": "Monthly downloads, sweetalert2",
      "display": "4.7M",
      "asOf": "2026-11-18"
    },
    "F330": {
      "label": "License, sweetalert2",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F331": {
      "label": "Package release, sweetalert2",
      "display": "11.26.25",
      "asOf": "2026-11-18"
    },
    "F332": {
      "label": "Package release date, sweetalert2",
      "display": "May 2026",
      "asOf": "2026-11-18"
    },
    "F333": {
      "label": "Install, sweetalert2",
      "display": "npm install sweetalert2",
      "asOf": "2026-11-18"
    },
    "F334": {
      "label": "Quickstart, sweetalert2",
      "display": "import Swal from 'sweetalert2'\n\nconst Toast = Swal.mixin({\n  toast: true,\n  position: 'top-end',\n  timer: 3000,\n  timerProgressBar: true\n})\nToast.fire('Something interesting happened', '', 'info')\n",
      "asOf": "2026-11-18"
    },
    "F335": {
      "label": "Repository stars, sweetalert2",
      "display": "18.1K",
      "asOf": "2026-11-18"
    },
    "F336": {
      "label": "Requires React host, sweetalert2",
      "display": "No",
      "asOf": "2026-11-18"
    },
    "F337": {
      "label": "Pre-styled toast renderer, sweetalert2",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F338": {
      "label": "Project function, sweetalert2",
      "display": "function initSwal(reducedMotion = false) {\n  const commonSwalOptions: SweetAlertOptions = {\n    target: `#${swalContainerWrapperId}`,\n    ...(reducedMotion && {\n      showClass: {\n        popup: '',\n        backdrop: '',\n        icon: '',\n      },\n      hideClass: {\n        popup: '',\n        backdrop: '',\n        icon: '',\n      },\n    }),\n    reverseButtons: dialogButtonOrder === 'ltr',\n  };\n\n  Swal = SwalRaw.mixin({\n    ...commonSwalOptions,\n  });\n\n  toast = Swal.mixin({\n    ...commonSwalOptions,\n    toast: true,\n    width: '50vw',\n    position: 'top',\n    showConfirmButton: false,\n    showCloseButton: true,\n    timer: 5000,\n    timerProgressBar: true,\n    didOpen: (self) => {\n      self.addEventListener('mouseenter', Swal.stopTimer);\n      self.addEventListener('mouseleave', Swal.resumeTimer);\n    },\n  });\n\n  ReactSwal = withReactContent(Swal);\n}\n",
      "asOf": "2026-11-18"
    },
    "F339": {
      "label": "Project source file, sweetalert2",
      "display": "src/renderer/src/swal.ts",
      "asOf": "2026-11-18"
    },
    "F340": {
      "label": "Project full_name, sweetalert2",
      "display": "mifi/lossless-cut",
      "asOf": "2026-11-18"
    },
    "F341": {
      "label": "Project stargazers_count, sweetalert2",
      "display": "46.1K",
      "asOf": "2026-11-18"
    },
    "F342": {
      "label": "Developer need, sonner",
      "display": "Styled toasts in React",
      "asOf": "2026-11-18"
    },
    "F343": {
      "label": "Pick reason, sonner",
      "display": "styled out of the box",
      "asOf": "2026-11-18"
    },
    "F344": {
      "label": "Pick alternative reason, notistack",
      "display": "for stacked snackbars",
      "asOf": "2026-11-18"
    },
    "F345": {
      "label": "Developer need, radix toast",
      "display": "A custom design system",
      "asOf": "2026-11-18"
    },
    "F346": {
      "label": "Pick reason, radix toast",
      "display": "unstyled parts with accessibility built in",
      "asOf": "2026-11-18"
    },
    "F347": {
      "label": "Pick alternative reason, zag toast",
      "display": "for Vue or Svelte apps too",
      "asOf": "2026-11-18"
    },
    "F348": {
      "label": "Developer need, sweetalert2",
      "display": "Plain JavaScript, no framework",
      "asOf": "2026-11-18"
    },
    "F349": {
      "label": "Pick reason, sweetalert2",
      "display": "works without a framework or dependencies",
      "asOf": "2026-11-18"
    },
    "F350": {
      "label": "Developer need, vue-sonner",
      "display": "Vue or Nuxt apps",
      "asOf": "2026-11-18"
    },
    "F351": {
      "label": "Pick reason, vue-sonner",
      "display": "Sonner's API, ported to Vue",
      "asOf": "2026-11-18"
    },
    "F352": {
      "label": "Pick alternative reason, zag toast for Vue",
      "display": "for fully custom styling",
      "asOf": "2026-11-18"
    },
    "F353": {
      "label": "Developer need, notistack",
      "display": "Snackbars in React",
      "asOf": "2026-11-18"
    },
    "F354": {
      "label": "Pick reason, notistack",
      "display": "stacks snackbars with one function call",
      "asOf": "2026-11-18"
    },
    "F355": {
      "label": "Pick alternative reason, react-toastify",
      "display": "for keyboard controls",
      "asOf": "2026-11-18"
    },
    "F356": {
      "label": "Developer need, zag toast",
      "display": "One toast across frameworks",
      "asOf": "2026-11-18"
    },
    "F357": {
      "label": "Pick reason, zag toast",
      "display": "the same toast logic in React, Vue, and Svelte",
      "asOf": "2026-11-18"
    },
    "F358": {
      "label": "Pick alternative reason, radix toast",
      "display": "for React-only apps",
      "asOf": "2026-11-18"
    },
    "F359": {
      "label": "What, radix toast",
      "display": "Provides unstyled, accessible toast parts for React, with styling left to the app.",
      "asOf": "2026-11-18"
    },
    "F360": {
      "label": "strengths lead, radix toast",
      "display": "Pauses on hover and focus",
      "asOf": "2026-11-18"
    },
    "F361": {
      "label": "strengths, radix toast",
      "display": "The close timer stops on hover, focus, and window blur.",
      "asOf": "2026-11-18"
    },
    "F362": {
      "label": "strengths lead, radix toast hotkey",
      "display": "Keyboard hotkey to toasts",
      "asOf": "2026-11-18"
    },
    "F363": {
      "label": "strengths, radix toast hotkey",
      "display": "A hotkey moves keyboard focus to the toast area.",
      "asOf": "2026-11-18"
    },
    "F364": {
      "label": "limitations lead, radix toast",
      "display": "No toast() function",
      "asOf": "2026-11-18"
    },
    "F365": {
      "label": "limitations, radix toast",
      "display": "Render toasts from state, or write a custom imperative helper.",
      "asOf": "2026-11-18"
    },
    "F366": {
      "label": "limitations lead, react-hot-toast",
      "display": "Loading toasts stay open",
      "asOf": "2026-11-18"
    },
    "F367": {
      "label": "limitations, react-hot-toast",
      "display": "Update or dismiss a toast.loading notification when the work finishes.",
      "asOf": "2026-11-18"
    },
    "F368": {
      "label": "What, vue-sonner",
      "display": "Brings Sonner's styled toasts to Vue and Nuxt.",
      "asOf": "2026-11-18"
    },
    "F369": {
      "label": "strengths lead, vue-sonner",
      "display": "Nuxt module included",
      "asOf": "2026-11-18"
    },
    "F370": {
      "label": "strengths, vue-sonner",
      "display": "Add vue-sonner/nuxt to the Nuxt modules, then call $toast in any component.",
      "asOf": "2026-11-18"
    },
    "F371": {
      "label": "strengths lead, vue-sonner promise",
      "display": "Promise toasts",
      "asOf": "2026-11-18"
    },
    "F372": {
      "label": "strengths, vue-sonner promise",
      "display": "One toast.promise call shows loading, then success or error.",
      "asOf": "2026-11-18"
    },
    "F373": {
      "label": "limitations lead, vue-sonner",
      "display": "Import the stylesheet",
      "asOf": "2026-11-18"
    },
    "F374": {
      "label": "limitations, vue-sonner",
      "display": "Import vue-sonner/style.css alongside the Toaster component.",
      "asOf": "2026-11-18"
    },
    "F375": {
      "label": "What, notistack",
      "display": "Shows stacked React snackbars triggered with one function call.",
      "asOf": "2026-11-18"
    },
    "F376": {
      "label": "strengths lead, notistack",
      "display": "Caps the stack",
      "asOf": "2026-11-18"
    },
    "F377": {
      "label": "strengths, notistack",
      "display": "Set maxSnack to limit how many snackbars show at once.",
      "asOf": "2026-11-18"
    },
    "F378": {
      "label": "strengths lead, notistack duplicates",
      "display": "Blocks duplicate messages",
      "asOf": "2026-11-18"
    },
    "F379": {
      "label": "strengths, notistack duplicates",
      "display": "Turn on preventDuplicate to stop the same message from showing twice.",
      "asOf": "2026-11-18"
    },
    "F380": {
      "label": "limitations lead, notistack",
      "display": "Needs a provider",
      "asOf": "2026-11-18"
    },
    "F381": {
      "label": "limitations, notistack",
      "display": "Wrap the app in SnackbarProvider before calling the useSnackbar hook.",
      "asOf": "2026-11-18"
    },
    "F382": {
      "label": "What, zag toast",
      "display": "Runs toast behavior as a state machine, with adapters for React, Solid, and Vue.",
      "asOf": "2026-11-18"
    },
    "F383": {
      "label": "strengths lead, zag toast",
      "display": "Follows promises",
      "asOf": "2026-11-18"
    },
    "F384": {
      "label": "strengths, zag toast",
      "display": "One toast tracks a promise from loading to its result.",
      "asOf": "2026-11-18"
    },
    "F385": {
      "label": "strengths lead, zag toast queue",
      "display": "Priority queue",
      "asOf": "2026-11-18"
    },
    "F386": {
      "label": "strengths, zag toast queue",
      "display": "Queued toasts wait in priority order.",
      "asOf": "2026-11-18"
    },
    "F387": {
      "label": "limitations lead, zag toast",
      "display": "The app builds the markup",
      "asOf": "2026-11-18"
    },
    "F388": {
      "label": "limitations, zag toast",
      "display": "Write the toast and toaster components and their styles by hand.",
      "asOf": "2026-11-18"
    }
  },
  "dataCheckedAt": "2026-11-18",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript toast notification libraries Toastify Notyf iziToast SweetAlert2 Toastr code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
