{"id":22788980,"url":"https://github.com/ripeworks/react-native-toasty","last_synced_at":"2026-01-21T07:26:15.459Z","repository":{"id":232844043,"uuid":"784743210","full_name":"ripeworks/react-native-toasty","owner":"ripeworks","description":"Tiny toast library for react-native and react-native-web","archived":false,"fork":false,"pushed_at":"2025-06-24T14:11:39.000Z","size":401,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T19:59:44.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ripeworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-10T13:20:23.000Z","updated_at":"2025-06-24T14:11:43.000Z","dependencies_parsed_at":"2024-12-12T01:39:32.137Z","dependency_job_id":"3e88502a-d634-426c-89d9-62a137ddfc27","html_url":"https://github.com/ripeworks/react-native-toasty","commit_stats":null,"previous_names":["ripeworks/react-native-toasty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ripeworks/react-native-toasty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Freact-native-toasty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Freact-native-toasty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Freact-native-toasty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Freact-native-toasty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripeworks","download_url":"https://codeload.github.com/ripeworks/react-native-toasty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Freact-native-toasty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"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":[],"created_at":"2024-12-12T01:39:25.849Z","updated_at":"2026-01-21T07:26:15.444Z","avatar_url":"https://github.com/ripeworks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-dan-forden\n\n![](./misc/toasty.gif)\n\n---\n\n## Features\n\n- Works on native platforms (iOS, Android), Expo, and Web\n- Works with react-navigation and Modal (doesn't get hidden)\n- Animations using Reanimated\n- Override with your own simple Toast component\n\n## Getting Started\n\n### Installation\n\n```sh\nyarn add react-native-dan-forden\n```\n\n#### Dependencies\n\nIf you are using something like Expo, you should be all set.\n\nIf you are using a vanilla React Native setup, you will need some dependencies that you probably should have installed anyways: `react-native-gesture-handler react-native-reanimated react-native-safe-area-context react-native-screens`\n\n\u003e Note: dependencies only required for native platforms\n\n### Usage\n\n1. Add `ToastProvider` to your horizontal tree:\n\n```tsx\n// App.tsx\nimport { ToastProvider } from \"react-native-dan-forden\";\n\nexport default function App() {\n  return \u003cToastProvider\u003e...\u003c/ToastProvider\u003e;\n}\n```\n\n2. Use `showToast` when stuff happens:\n\n```tsx\nimport { showToast } from \"react-native-dan-forden\";\n\nexport default function SignUp() {\n  async function onSubmit() {\n    try {\n      await login();\n      showToast({\n        type: \"success\",\n        message: \"Welcome!\",\n      });\n    } catch (err) {\n      showToast({\n        type: \"danger\",\n        message: \"Your signup failed\",\n      });\n    }\n  }\n\n  return (\n    \u003cPressable onPress={onSubmit}\u003e\n      \u003cText\u003eSign Up\u003c/Text\u003e\n    \u003c/Pressable\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripeworks%2Freact-native-toasty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripeworks%2Freact-native-toasty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripeworks%2Freact-native-toasty/lists"}