https://github.com/wonism/react-mail-form
React component for simple contact form with zero dependencies
https://github.com/wonism/react-mail-form
contact contact-form mail react reactjs
Last synced: about 1 year ago
JSON representation
React component for simple contact form with zero dependencies
- Host: GitHub
- URL: https://github.com/wonism/react-mail-form
- Owner: wonism
- License: mit
- Created: 2018-05-07T08:13:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T16:17:23.000Z (over 3 years ago)
- Last Synced: 2025-04-18T20:56:00.375Z (about 1 year ago)
- Topics: contact, contact-form, mail, react, reactjs
- Language: TypeScript
- Homepage: https://wonism.github.io/open-sources/react-mail-form
- Size: 1.12 MB
- Stars: 9
- Watchers: 1
- Forks: 6
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# react-mail-form
> React component for simple contact form with zero dependencies
## Getting Started
```
$ npm i -S react-mail-form
```
## Development
```sh
$ npm run dev
```
- access [localhost:8888](http://localhost:8888)
## Production Bundle
```sh
$ npm run build
```
## How to Use
```jsx
import ReactContactForm from 'react-mail-form';
```
### Parameters
| Parameter | Type | Remarks |
|:--------------------|:----------------|:----------------|
| to | string | Required |
| className | string | Optional |
| titleMaxLength | string / number | - |
| titlePlaceholder | string | - |
| contentsRows | string / number | - |
| contentsMaxLength | string / number | - |
| contentsPlaceholder | string | - |
| buttonText | string | - |