{"id":16584177,"url":"https://github.com/b3nnyl/react-zendesk","last_synced_at":"2025-04-13T06:42:11.382Z","repository":{"id":36154895,"uuid":"196499713","full_name":"B3nnyL/react-zendesk","owner":"B3nnyL","description":" A component simplifies Zendesk widget usage in your React application","archived":false,"fork":false,"pushed_at":"2023-12-21T12:49:25.000Z","size":445,"stargazers_count":44,"open_issues_count":22,"forks_count":18,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:47:40.069Z","etag":null,"topics":["embedded","react","widget","zendesk"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-zendesk","language":"JavaScript","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/B3nnyL.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":"2019-07-12T03:07:19.000Z","updated_at":"2025-02-22T12:24:43.000Z","dependencies_parsed_at":"2024-06-18T16:51:11.850Z","dependency_job_id":"edc83cad-4fa4-448e-9cbf-9d1a932cd655","html_url":"https://github.com/B3nnyL/react-zendesk","commit_stats":{"total_commits":36,"total_committers":8,"mean_commits":4.5,"dds":0.25,"last_synced_commit":"9d60be1f9a10bce74acda1e6539996eac934e906"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3nnyL%2Freact-zendesk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3nnyL%2Freact-zendesk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3nnyL%2Freact-zendesk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3nnyL%2Freact-zendesk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B3nnyL","download_url":"https://codeload.github.com/B3nnyL/react-zendesk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675440,"owners_count":21143763,"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":["embedded","react","widget","zendesk"],"created_at":"2024-10-11T22:44:07.282Z","updated_at":"2025-04-13T06:42:11.362Z","avatar_url":"https://github.com/B3nnyL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-zendesk\n\n\u003e A component simplifies Zendesk widget usage in your React application\n\n## Introduction\n\nThis component applies to Zendesk Web Widget including contact form, live chat, talk, answer bot and help center. For more information on widget and API, please check [Zendesk official documentation](https://developer.zendesk.com/embeddables/docs/widget/introduction)\n\n## Installation\n\n```sh\nnpm i react-zendesk --save\n```\n\n## Component Usage\n\n```js\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport Zendesk from \"react-zendesk\";\nconst ZENDESK_KEY = \"your zendesk embed key\";\n\n// Take contact form as an example\n// Let's customise our contact form appearance, launcher and add prefill content\nconst setting = {\n  color: {\n    theme: \"#000\"\n  },\n  launcher: {\n    chatLabel: {\n      \"en-US\": \"Need Help\"\n    }\n  },\n  contactForm: {\n    fields: [\n      { id: \"description\", prefill: { \"*\": \"My pre-filled description\" } }\n    ]\n  }\n};\n\nconst App = () =\u003e {\n  return \u003cZendesk defer zendeskKey={ZENDESK_KEY} {...setting} onLoaded={() =\u003e console.log('is loaded')} /\u003e;\n};\n\nReactDOM.render(\u003cApp /\u003e, document.getElementById(\"#app\"));\n```\n\n## Zendesk API usage\n\n```js\nimport { ZendeskAPI } from \"react-zendesk\";\n...\n// Set Zendesk widgets in German\nZendeskAPI(\"webWidget\", \"setLocale\", \"de\");\n...\n\n```\n\n## Resources\n\n[Zendesk Widget Documentation](https://developer.zendesk.com/embeddables/docs/widget)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3nnyl%2Freact-zendesk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb3nnyl%2Freact-zendesk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3nnyl%2Freact-zendesk/lists"}