{"id":15984285,"url":"https://github.com/weblineindia/reactjs-email","last_synced_at":"2025-07-17T06:05:17.092Z","repository":{"id":57151875,"uuid":"282212524","full_name":"weblineindia/ReactJS-Email","owner":"weblineindia","description":"ReactJS based Email component, provides input field to add single / multiple emails with validation. The email value is automatically validated on blur event. You can change validation message using props. You can also disable email field using disable props.","archived":false,"fork":false,"pushed_at":"2024-04-29T05:19:31.000Z","size":351,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T01:48:14.359Z","etag":null,"topics":["email-component","email-validation","react-components","react-demo","react-email-component","react-libraries","reactjs","reactjs-components","reactjs-demo","reactjs-email","reactjs-library","reactjs-mail-validation","reusable-components"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/communities.html","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/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-24T12:19:03.000Z","updated_at":"2024-04-29T05:19:34.000Z","dependencies_parsed_at":"2024-04-29T06:29:18.417Z","dependency_job_id":"e9474043-fda2-4238-bc49-f283b038f6b9","html_url":"https://github.com/weblineindia/ReactJS-Email","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weblineindia/ReactJS-Email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/ReactJS-Email/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Email/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265571221,"owners_count":23790043,"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":["email-component","email-validation","react-components","react-demo","react-email-component","react-libraries","reactjs","reactjs-components","reactjs-demo","reactjs-email","reactjs-library","reactjs-mail-validation","reusable-components"],"created_at":"2024-10-08T02:06:17.317Z","updated_at":"2025-07-17T06:05:17.071Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactJS - Email Component\n\nReactJS based Email component, provides input field to add single / multiple emails with validation. The email value is automatically validated on blur event. You can change validation message using props. You can also disable email field using disable props.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| 83.0 ✔                                                                                   | 77.0 ✔                                                                                      | 13.1.1 ✔                                                                                 | 83.0 ✔                                                                             | 11.9 ✔                                                                                                                       |\n\n## Demo\n\n[![](email.gif)](https://github.com/weblineindia/ReactJS-Email/email.gif)\n\n## Getting started\n\nInstall the npm package:\n\n```bash\nnpm install react-weblineindia-email\n#OR\nyarn add react-weblineindia-email\n```\n\n## Usage\n\nUse the `\u003creact-weblineindia-email\u003e` component:\n\n```js\nimport React ,{ Component } from 'react';\nimport Email from 'react-weblineindia-email'\nclass Test extends Component {\nconstructor(props) {\n    super(props);\n    this.state = {\n      emailValue:[{email:\"\"}]\n    };\n  }\n    onMultipleEmail() {\n        this.state.emailValue.push({\n        email: \"\",\n        });\n    }\n    onChange(event, index) {\n        let value = this.state.emailValue;\n        value[index].email = event.target.value;\n        this.setState({\n        emailValue: value,\n        });\n    }\n    render() {\n    return (\n      \u003cdiv className=\"App\"\u003e\n        {this.state.emailValue.map((item, i) =\u003e {\n          return (\n            \u003cdiv key={i}\u003e\n              \u003cEmail\n                isShowPlus={this.state.emailValue.length - 1 === i}\n                value={this.state.emailValue}\n                index={i}\n                onMultipleEmail={this.onMultipleEmail.bind(this)}\n                onChange={this.onChange.bind(this)}\n              /\u003e\n            \u003c/div\u003e\n          );\n        })}\n      \u003c/div\u003e\n    );\n  }\n}\nexport default Test;\n\n```\n\n## Available Props\n\n| Prop                | Type          | default                 | Description                                   |\n| ------------------- | ------------- | ----------------------- | --------------------------------------------- |\n| maxlength           | Number        | 50                      | maxlength for email                           |\n| id                  | String        |                         | email id                                      |\n| emailFormateError   | String        | Email is not valid      | email formate validation                      |\n| duplicateEmailError | String        | Do not enter same email | duplicate email error                         |\n| onMultipleEmail     | Function      |                         | when click on plus icon on email              |\n| name                | String        | email                   | email name.                                   |\n| index               | Number        | 0                       | email index.                                  |\n| values              | Array[Object] | [{email : ''}]          | email default array                           |\n| isMultiple          | Boolean       | true                    | flag to implement multiple email              |\n| isShowPlus          | Boolean       | false                   | flag to show plus icon for add multiple email |\n| placeholder         | String        | Email                   | email placeholder                             |\n| disabled            | Boolean       | false                   | disable input field                           |\n| tabindex            | Number        | 0                       | email tabIndex                                |\n\n## Methods\n\n| Name        | Description                                         |\n| ----------- | --------------------------------------------------- |\n| focus       | Gets triggered when the input field receives focus. |\n| blur        | Gets triggered when the input field loses focus.    |\n| inputChange | Gets triggered every time input got changed.        |\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n---\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html)\n\n---\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/ReactJS-Email/blob/master/LICENSE\n\n## Keywords\n \nreact-weblineindia-email, react-email, reactjs-email, email-component, email-validation, react-mail-validation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freactjs-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-email/lists"}