{"id":25480089,"url":"https://github.com/teneplaysofficial/toast","last_synced_at":"2026-03-03T18:32:12.900Z","repository":{"id":278187632,"uuid":"934434890","full_name":"TenEplaysOfficial/toast","owner":"TenEplaysOfficial","description":"Effortless Toasts.","archived":false,"fork":false,"pushed_at":"2025-03-17T09:47:44.000Z","size":237,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T18:51:46.659Z","etag":null,"topics":["frontend","library","motion","npm","react","reusable-components","tailwindcss"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@tenedev/toast","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/TenEplaysOfficial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"patreon":"teneplays"}},"created_at":"2025-02-17T20:36:22.000Z","updated_at":"2025-02-28T03:25:06.000Z","dependencies_parsed_at":"2025-02-18T13:37:19.966Z","dependency_job_id":"ce108095-cea5-4661-8eba-5820be2a5cf8","html_url":"https://github.com/TenEplaysOfficial/toast","commit_stats":null,"previous_names":["teneplaysofficial/toast"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TenEplaysOfficial%2Ftoast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TenEplaysOfficial%2Ftoast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TenEplaysOfficial%2Ftoast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TenEplaysOfficial%2Ftoast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TenEplaysOfficial","download_url":"https://codeload.github.com/TenEplaysOfficial/toast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248068266,"owners_count":21042464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["frontend","library","motion","npm","react","reusable-components","tailwindcss"],"created_at":"2025-02-18T15:27:20.820Z","updated_at":"2026-03-03T18:32:12.840Z","avatar_url":"https://github.com/TenEplaysOfficial.png","language":"TypeScript","funding_links":["https://patreon.com/teneplays"],"categories":[],"sub_categories":[],"readme":"# @tenedev/toast - Effortless Toasts\n\n@tenedev/toast is a lightweight, customizable React component library for displaying toast notifications. It enables developers to show alerts, success messages, and other notifications in a smooth, non-intrusive way. [View Demo](https://reactprojectsbytene.vercel.app/package/toast)\n\n## Features\n\n- 🚀 **Smooth animations**\n- 🎨 **Highly customizable**\n- ⚡ **Lightweight \u0026 easy to integrate**\n- 🛠 **Supports any React content**\n\n## Installation\n\nInstall via npm or yarn:\n\n```bash\nnpm install @tenedev/toast\n\n```\n\n```bash\nyarn add @tenedev/toast\n\n```\n\n## Usage\n\n### Basic Example\n\n```jsx\nimport { Toaster } from '@tenedev/toast';\n\nexport default function App() {\n  return \u003cToaster /\u003e;\n}\n```\n\n### Adding Toast Notifications\n\n```jsx\nimport { Toaster, toast } from '@tenedev/toast';\n\nexport default function App() {\n  return (\n    \u003c\u003e\n      \u003cToaster /\u003e\n      \u003cbutton onClick={() =\u003e toast('Hello, World!')}\u003eShow Toast\u003c/button\u003e\n      \u003cbutton onClick={() =\u003e toast.success('Success!')}\u003e\n        Show Success Toast\n      \u003c/button\u003e\n      \u003cbutton\n        onClick={() =\u003e\n          toast.info('Custom Toast', {\n            description: 'this is a description',\n          })\n        }\n      \u003e\n        Show Info Toast\n      \u003c/button\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n## Props\n\n### Toaster Props\n\n| Prop          | Type      | Default        | Description                       |\n| ------------- | --------- | -------------- | --------------------------------- |\n| `position`    | `string`  | `bottom-right` | Position of the toast component   |\n| `gap`         | `number`  | `5`            | Space between toast items         |\n| `closeButton` | `boolean` | `false`        | Show close button on toast        |\n| `richColors`  | `boolean` | `false`        | give rich color to toast          |\n| `duration`    | `number`  | `4000`         | Time (ms) before toast disappears |\n\n### Toast Function Props\n\n| Prop   | Type     | Default | Description                                           |\n| ------ | -------- | ------- | ----------------------------------------------------- |\n| `type` | `string` | -       | Type of toast (`success`, `error`, `warning`, `info`) |\n\n## Contributing\n\n1.  Fork the repository\n2.  Create a feature branch\n3.  Submit a pull request 🚀\n\n## License\n\nThis project is licensed under the [MIT License](https://chatgpt.com/c/LICENSE).\n\n⭐ **[Star on GitHub](https://github.com/TenEplaysOfficial/toast)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteneplaysofficial%2Ftoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteneplaysofficial%2Ftoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteneplaysofficial%2Ftoast/lists"}