form-mate.dev valid
Form Mate [](https://www.npmjs.com/package/form-mate) [](https://www.npmjs.com/package/form-mate) [](https://github.com/franciscop/form-mate/actions) [](https://github.com/franciscop/form-mate/blob/master/index.min.js)
A tiny and elegant library to handle forms with React:
```js
import Form from "form-mate";
// { fullname: "Francisco", email: "xxxxxx@francisco.io" }
export default () => (
<Form onSubmit={(data) => console.log(data)}>
<input name="fullname" required />
<input name="email" type="email" required />
<button>Subscribe!</button>
</Form>
);
```
Benefits over a plain `<form>`:
- Parse the form fields into an object for easy access and consumption. For example, for a form on a TODO list: `onSubmit(newItem => setItems([...items, newItem]))`.
- Disable the form while it's submitting to avoid double-submit.
- Prop [`onError`](#onerror) for easy error handling, integrates well with other options.
- Prop [`onChange`](#onchange) to listen to the form changes as they happen.
- Prop [`autoReset`](#autoreset) to clear the form after `onSubmit` finishes successfully.
- Prop [`encType`](#enctype) (like `encType="multipart/form-data"`) for file handling. It makes the callback receive an instance of `FormData` instead of a plain object. This makes it easy to submit files with `fetch()`, Axios, etc.
- Sub Component `<Form.Error />` for more advanced error management.
- Sub Component `<Form.Loading />` for more advanced loading state handling.
## Getting Started
Install `form-mate` with npm:
```
npm install form-mate
```
Import it and use it anywhere in your React project:
```js
import Form from "form-mate";
export default () => (
<Form onSubmit={(data) => console.log(data)} autoReset>
{/* ... */}
</Form>
);
```
## API
### onSubmit
Mandatory prop that accepts a sync or `async` callback. It will receive the values in the form when submitted:
```js
import Form from "form-mate";
export default function Subscribe() {
return (
<Form onSubmit={(data) => console.log(data)}>
…
Related sites
Similar publisher descriptions and documentation. Similarity does not imply affiliation or equivalent capabilities.
| Domain | Title | Category | Country | Authority | llms.txt | llms-full.txt | Save |
|---|---|---|---|---|---|---|---|
| formwerk.dev | Formwerk Documentation | documentation Design Developer tools +1 | DE | 50 | ✓ | ✓ | |
| formbold.com | Formbold | interface Developer tools Business software | — | 55 | ✓ | ✓ | |
| formspree.io | Formspree | interface Developer tools APIs and SDKs | — | 57 | ✓ | ||
| forminit.com | Forminit | interface APIs and SDKs Developer tools | GB | 53 | ✓ | ||
| formcarry.com | formcarry | interface AI and machine learning Developer tools +1 | — | 53 | ✓ | ||
| bestax.io | Bestax-Bulma | documentation Developer tools | — | 45 | ✓ | ✓ | |
| angular.cn | Angular | documentation Developer tools | CN | 50 | ✓ | ||
| surveyjs.io | SurveyJS | interface Developer tools APIs and SDKs | US | 50 | ✓ |
Machine-readable: GET /v1/resolve?q=form-mate.dev · GET /v1/domain/form-mate.dev · this page as Accept: application/json or text/markdown · MCP lookup_domain
Automatically discovered from public files. Inclusion does not imply endorsement or publisher participation.
Own or manage this website?
If you own or manage form-mate.dev, you can update its listing and review file health, discovery activity and score history.
Manage this listing — optional
What verification unlocks
See how your site is discovered—and control what agents see.
- See your website in the map
Review your indexed topics, nearby publishers sharing headings, measured listing exposure and map snapshots in a private report for your website.
- Control what agents see
Edit your listing description, tags, public contact details and additional llms.txt paths. Publish your terms for automated access, attribution and pricing.
- Make your profile eligible for search
A valid, listed, unblocked, verified profile can appear in our publisher sitemap and become eligible for search-engine visibility. Search engines decide what to index and rank.
- Appear in our llms-full.txt
Eligible verified publishers are listed by name, with their file links and summaries, in the service overview agents can read.
Free. No account registration, backlink or payment required. Public discovery remains available without verification.
Let your coding agent verify it
If your coding agent is authorized to manage this website, paste these instructions into it.
Claim my listing on Agent Web Map for form-mate.dev:
1. POST https://agentwebmap.com/v1/sites/form-mate.dev/claims and keep claim_id and claim_secret private.
2. Publish the verification line "AgentWebMap verification: <token>" (token from step 1) in https://form-mate.dev/llms.txt, or use the DNS, meta-tag or well-known method the response describes. This only verifies the listing; your website and domain remain yours.
3. POST https://agentwebmap.com/v1/sites/form-mate.dev/verify with {"claim_id": "...", "claim_secret": "..."}.
4. Save the api_key from the answer; it manages the listing (PATCH https://agentwebmap.com/v1/sites/form-mate.dev).
MCP equivalent: tools begin_ownership_claim, then verify_domain, at https://agentwebmap.com/mcp. Docs: https://agentwebmap.com/docs#verifyCorrections or removal requests: contact the directory.