{"id":13594203,"url":"https://github.com/pavkout/react-mailkit","last_synced_at":"2025-05-06T22:11:01.299Z","repository":{"id":38085623,"uuid":"387925980","full_name":"pavkout/react-mailkit","owner":"pavkout","description":"Create awesome and fully responsive emails without stress.","archived":false,"fork":false,"pushed_at":"2024-09-06T04:24:09.000Z","size":4978,"stargazers_count":64,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-23T02:21:52.112Z","etag":null,"topics":["javascript","kit","mjml","mjml-framework","mjml-template","mjml4","react","typescript","ui"],"latest_commit_sha":null,"homepage":"https://www.react-mailkit.io","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/pavkout.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":"2021-07-20T22:14:14.000Z","updated_at":"2025-03-16T21:13:08.000Z","dependencies_parsed_at":"2024-06-21T16:51:47.475Z","dependency_job_id":"1c8079ce-64f6-4747-9a3b-416208f357b7","html_url":"https://github.com/pavkout/react-mailkit","commit_stats":{"total_commits":209,"total_committers":3,"mean_commits":69.66666666666667,"dds":0.0861244019138756,"last_synced_commit":"e62959a43562028d326577c6f958e1d3c381c335"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavkout%2Freact-mailkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavkout%2Freact-mailkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavkout%2Freact-mailkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavkout%2Freact-mailkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavkout","download_url":"https://codeload.github.com/pavkout/react-mailkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776600,"owners_count":21802469,"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":["javascript","kit","mjml","mjml-framework","mjml-template","mjml4","react","typescript","ui"],"created_at":"2024-08-01T16:01:30.180Z","updated_at":"2025-05-06T22:11:00.883Z","avatar_url":"https://github.com/pavkout.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.react-mailkit.io\"\u003e\n  \u003cimg\n    src='./logo.png'\n    height='84'\n  /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003e\n  Welcome to react-mailkit \n\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/intent/tweet?text=@reactjs%20@mjmlio%20Create%20awesome%20and%20fully%20responsive%20emails%20without%20stress.\u0026url=https://github.com/pavkout/react-mailkit\u0026hashtags=react,email,templates,blocks,developers\" target=\"_blank\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/twitter/url/http/shields.io.svg?style=social\"\u003e\n  \u003c/a\u003e\n\u003cp\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"./logo-icon.png\" height='64' /\u003e\u003c/p\u003e\n\n\u003cp align=\"center\" style=\"font-size: 18px\"\u003e\n  \u003ca href=\"https://www.react-mailkit.io\"\u003e\n  www.react-mailkit.io \n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dw/react-mailkit\"\u003e\n\n\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/react-mailkit\"/\u003e\n\n\u003cimg alt=\"score\" src=\"https://img.shields.io/npms-io/maintenance-score/react-mailkit\"/\u003e\n\n\u003cimg alt=\"license\" src=\"https://img.shields.io/github/license/pavkout/react-mailkit\"/\u003e\n\n\u003cimg alt=\"contributors\" src=\"https://img.shields.io/github/contributors/pavkout/react-mailkit\"/\u003e\n\u003c/p\u003e\n\n---\n\nOnce upon a time, email creation wasn't an easy part using pure `html` and `css`.\n\n`Now it is!` Create awesome and fully responsive emails without stress.\n\n## Documentation\n\n### You can see more docs and examples in our [Storybook](https://pavkout.github.io/react-mailkit).\n\n## Getting Started\n\n### What We Use\n\n\u003cimg\n  src='https://cdn.worldvectorlogo.com/logos/mjml-by-mailjet.svg'\n  height='64'\n/\u003e \u0026middot; \u003cimg\n  src='https://logos-download.com/wp-content/uploads/2016/09/React_logo_wordmark-700x235.png'\n  height='64'\n/\u003e \u0026middot; \u003cimg\n  src='https://www.techgeeknext.com/img/typescript/typescript-logo.png'\n  height='64'\n/\u003e\n\n## 📦 Install\n\n```bash\nyarn add react-mailkit\n```\n\nOR\n\n```bash\nnpm install react-mailkit\n```\n\n## 👨‍💻 Tests\n\nOver 350 🆙 unit tests\n\n## ✍️ Example\n\n```js\nimport {\n  useEmail,\n  EMail,\n  EHead,\n  ETitle,\n  EPreview,\n  EBody,\n  ESection,\n  EColumn,\n  ECarousel,\n  ECarouselImage\n} from 'react-mailkit';\n\nconst { html, errors } = useEmail(\n  \u003cEMail\u003e\n    \u003cEHead\u003e\n      \u003cETitle\u003eExample\u003c/ETitle\u003e\n      \u003cEPreview\u003eExample\u003c/EPreview\u003e\n    \u003c/EHead\u003e\n    \u003cEBody width={600}\u003e\n      \u003cESection\u003e\n        \u003cEColumn width='550px'\u003e\n          \u003cECarousel\n            iconWidth='16px'\n            leftIcon='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/arrow-left.png'\n            rightIcon='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/arrow-right.png'\n            tbBorder='0px'\n            tbBorderRadius='0px'\n            tbHoverBorderColor='red'\n            tbWidth='50px'\n          \u003e\n            \u003cECarouselImage\n              alt='Side view of the Royal in Baby Pink'\n              href='http://www.ugg.com/'\n              src='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/product1.jpg'\n              thumbnailsSrc='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/BPNK.gif'\n            \u003e\u003c/ECarouselImage\u003e\n            \u003cECarouselImage\n              href='http://www.ugg.com/'\n              src='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/product2.jpg'\n              thumbnailsSrc='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/NOPK.gif'\n            \u003e\u003c/ECarouselImage\u003e\n            \u003cECarouselImage\n              href='http://www.ugg.com/'\n              src='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/product3.jpg'\n              thumbnailsSrc='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/BBLU.gif'\n            \u003e\u003c/ECarouselImage\u003e\n            \u003cECarouselImage\n              alt='Side view of the Royal in Black'\n              href='http://www.ugg.com/'\n              src='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/product4.jpg'\n              thumbnailsSrc='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/BLK.gif'\n            \u003e\u003c/ECarouselImage\u003e\n            \u003cECarouselImage\n              alt='Side view of the Royal in Seal'\n              href='http://www.ugg.com/'\n              src='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/product5.jpg'\n              thumbnailsSrc='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/SEL.gif'\n            \u003e\u003c/ECarouselImage\u003e\n            \u003cECarouselImage\n              alt='Side view of the Royal in White'\n              href='http://www.ugg.com/'\n              src='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/product6.jpg'\n              thumbnailsSrc='https://static.cdn.responsys.net/i2/responsysimages/uggs/contentlibrary/promotional/2017/06-june/20170615_u_royale-b/images/WHT.gif'\n            \u003e\u003c/ECarouselImage\u003e\n          \u003c/ECarousel\u003e\n        \u003c/EColumn\u003e\n      \u003c/ESection\u003e\n    \u003c/EBody\u003e\n  \u003c/EMail\u003e\n);\n```\n\nAnd this is the result (works in mobile too!)\n\n\u003cimg\n    src='./example.png'\n  /\u003e\n\n## ✍️ Example project\n\nYou can find an example project\n[here](https://github.com/pavkout/react-mailkit/tree/main/packages/react-mailkit-example)\n\n## ⌨️ Try it live\n\nYou can try it [live](https://www.react-mailkit.io/#/try-it-live)\n\n## TODO\n\n- Add ability to convert the MJML format to react-mailkit via js and CLI. (Working)\n- Add more custom components\n\n## Reporting Bugs\n\nHave a bug or a feature request? Please open a new\n[bug report](https://github.com/pavkout/react-mailkit/issues).\n\nBefore opening a new issue, please search through any [existing issues](https://github.com/pavkout/react-mailkit/issues)\nto avoid submitting duplicates.\n\n## Contributing\n\nAll contributions are welcome! ❤️\n\n## License Information\n\n```\nMIT License\n\nCopyright (C) 2021\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavkout%2Freact-mailkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavkout%2Freact-mailkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavkout%2Freact-mailkit/lists"}