# Vue Integration: Email Validation

URL: https://email-validation.org/integrations/vue/
Updated: 2026-11-29

> Documentation index: https://email-validation.org/llms.txt

Put the FormGuard component around a form in your Vue or Nuxt app and its email fields are checked when the visitor moves on, with a verdict event for your own code. A typo gets a fix the visitor can take with one click, and only the results you pick stop the form.

[Read the full setup guide](https://email-validation.org/docs/form-guard/frameworks/#vue) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- Two files, one component with a verdict event

**form-guard/vue** Vue 3.3 or later

Template

```text
<FormGuard browser-key="YOUR_BROWSER_KEY" @verdict="onVerdict">
  <form action="/signup" method="post">
    <input type="email" name="email" />
  </form>
</FormGuard>
```

## At a glance.

- **Status**: **Setup guide.** Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- **For**: Teams building with Vue 3 or Nuxt who want sign-up, newsletter and contact forms to catch an address that cannot receive mail before it reaches their backend.
- **You need**: Vue 3.3 or later (Nuxt included), and a browser key made just for the site: only the Validate addresses permission, your site’s addresses as allowed origins, and a [daily credit cap](https://email-validation.org/docs/authentication/#limits).
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/form-guard/frameworks/#vue)

## Typical uses.

- **React to each verdict**: The verdict event fires each time a field’s verdict changes, with the address, its status, whether it stops the form, the message, any suggestion and the error when there was no answer.
- **Keep throwaway inboxes out**: invalid and disposable results stop the form by default, each with its own short message. Change the messages to your own wording, or add catch\_all to the results that stop.
- **Guard only the fields you mark**: Set auto to false and only the fields marked data-ev-guard are guarded. Otherwise every email field on the page is, on every route of your app.

## Set it up. 4 steps.

The short version of the [full setup guide](https://email-validation.org/docs/form-guard/frameworks/#vue), which stays the reference when a step does not match what you see.

1. **Download the files**: There is no npm package yet: download the form guard files from the guide and copy core.ts and vue.ts from the zip’s src/ folder into one folder of your app.
2. **Create a browser key**: Under API keys, click Create API key and pick “On a public web page” (browser key) under “Where will you use this key?”: such a key can only validate addresses. Add your site and any test address as allowed origins, and a daily credit cap a little above a busy day’s sign-ups.
3. **Add the component**: Wrap your form in `<FormGuard>` with your key in `browser-key`, and listen to `@verdict` if you want each result. Mark your log-in and password forms `data-ev-guard="off"`.
4. **Try the test addresses**: `no_mailbox@sandbox.email-validation.org` stops the form with a message, `likely_typo@sandbox.email-validation.org` also offers a fix, and `accepted@sandbox.email-validation.org` goes through. They cost nothing. On a form that mails the address, try only the ones that stop it.

## Good to know.

- Each address is checked at most once while the page is open: leaving the field again, pressing submit twice or a second form never pays for it again.
- When something goes wrong (no answer in time, a refused key, no credits left, a network error), the field passes and the form submits, so no real sign-up is lost.
- The key is in the page’s source and so public: anyone can copy it. The allowed origins keep other websites from using it in a browser, and the daily credit cap limits what it can spend.
- For [EU data residency](https://email-validation.org/docs/eu-data-residency/), set `region` to `eu` on every component of the page: the script reads it once, when it loads.
- The script sets no cookie, uses no browser storage and writes nothing to the console, except one warning when its key is not a browser key. Typo fixes never leave the browser.

## Related

- [The full Vue setup guide](https://email-validation.org/docs/form-guard/frameworks/#vue)
- [Settings, messages and the verdict](https://email-validation.org/docs/form-guard/frameworks/#settings)
- [What the form guard does, step by step](https://email-validation.org/docs/form-guard/#behaviour)
- [Test addresses that cost nothing](https://email-validation.org/docs/test-addresses/)
- [BigQuery integration](https://email-validation.org/integrations/bigquery/)
- [Django integration](https://email-validation.org/integrations/django/)
- [Laravel integration](https://email-validation.org/integrations/laravel/)
- [Postman integration](https://email-validation.org/integrations/postman/)
- [All integrations](https://email-validation.org/integrations/)
