{"id":43976542,"url":"https://github.com/sudhucodes/react-toast-msg","last_synced_at":"2026-04-02T16:24:52.510Z","repository":{"id":296407036,"uuid":"992355582","full_name":"sudhucodes/react-toast-msg","owner":"sudhucodes","description":"Fast, flexible, developer-friendly React toast notifications with a clean black \u0026 white design.","archived":false,"fork":false,"pushed_at":"2026-03-28T06:52:31.000Z","size":1413,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T11:45:37.151Z","etag":null,"topics":["contribute","notification","open-source","react","react-toast","toast","toast-notifications"],"latest_commit_sha":null,"homepage":"https://rtm.sudhucodes.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sudhucodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-29T02:55:01.000Z","updated_at":"2026-03-28T06:43:10.000Z","dependencies_parsed_at":"2025-10-30T17:34:18.551Z","dependency_job_id":null,"html_url":"https://github.com/sudhucodes/react-toast-msg","commit_stats":null,"previous_names":["sudhucodes/react-toast-msg"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sudhucodes/react-toast-msg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhucodes%2Freact-toast-msg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhucodes%2Freact-toast-msg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhucodes%2Freact-toast-msg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhucodes%2Freact-toast-msg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudhucodes","download_url":"https://codeload.github.com/sudhucodes/react-toast-msg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhucodes%2Freact-toast-msg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31309834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contribute","notification","open-source","react","react-toast","toast","toast-notifications"],"created_at":"2026-02-07T08:10:33.743Z","updated_at":"2026-04-02T16:24:52.496Z","avatar_url":"https://github.com/sudhucodes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![banner](https://rtm.sudhucodes.com/opengraph-image.png)\n\n# React Toast MSG\n\nFast, flexible, developer-friendly React toast notifications with a clean black \u0026 white design.\n\n![Version](https://img.shields.io/npm/v/react-toast-msg)\n![License](https://img.shields.io/npm/l/react-toast-msg)\n![Downloads](https://img.shields.io/npm/dt/react-toast-msg)\n\n## ✨ Features\n\n- **Zero Config**: Works out of the box with sensible defaults.\n- **Tailwind Driven**: Styled with Tailwind CSS for modern aesthetics.\n- **Performance**: Built with tsup for high performance and small bundle size.\n- **Customizable**: Easily customize duration, type, and icons.\n- **Promise Support**: First-class support for `toast.promise`.\n\n## Installation\n\n\u003e Before installing, make sure you have Tailwind CSS installed in your project.\n\n```bash\nnpm install react-toast-msg\n# or\npnpm add react-toast-msg\n# or\nyarn add react-toast-msg\n```\n\n## Usage\n\n1. **Add the ToastContainer** to the root of your application:\n\n```tsx\nimport { ToastContainer } from 'react-toast-msg';\nimport 'react-toast-msg/style.css';\n\nfunction App() {\n    return (\n        \u003c\u003e\n            \u003cYourApp /\u003e\n            \u003cToastContainer /\u003e\n        \u003c/\u003e\n    );\n}\n```\n\n2. **Trigger toasts** from anywhere:\n\n```tsx\nimport { toast } from 'react-toast-msg';\n\n// Basic toast\ntoast('Hello World!');\n\n// Typed toasts\ntoast.success('Your changes have been saved.');\ntoast.error('An error occurred. Please try again.');\ntoast.warning('Check your internet connection.');\ntoast.loading('Saving results...');\n\n// Promise toast\ntoast.promise(saveData(), {\n    loading: 'Saving...',\n    success: 'Saved successfully!',\n    error: 'Failed to save.'\n});\n```\n\n## Documentation\n\nLearn more and explore examples at [rtm.sudhucodes.com](https://rtm.sudhucodes.com/docs?ref=github).\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for more details.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhucodes%2Freact-toast-msg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudhucodes%2Freact-toast-msg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhucodes%2Freact-toast-msg/lists"}