Official libraries

### Vue

Embed the Element in Vue 3 with the FilecheckIntake component, v-model the jobId, and gate submit on canProceed.

filecheck-vue

wraps the Element for Vue 3 (Composition API): a plugin loads the CDN script, the

&lt;FilecheckIntake&gt;

component manages the element lifecycle, events are re-emitted Vue-style, and

v-model:job-id

binds the job id straight into your form state. SSR-safe for Nuxt — nothing touches

window

until

onMounted

. Requires Vue ≥ 3.3.

npm

install

filecheck-vue

filecheck-js

### Navigate to header: Quickstart Quickstart

Install the plugin once:

// main.ts

import

\{

FilecheckPlugin

\}

from

'filecheck-vue'

;

app

.

use

(

FilecheckPlugin

, \{

publishableKey:

'pk\_…'

\});

Then drop the component into your page:

&lt;

script

setup

lang

=

"ts"

&gt;

import

\{

FilecheckIntake

\}

from

'filecheck-vue'

;

import

\{

ref

\}

from

'vue'

;

const

jobId

=

ref

(

''

);

const

canProceed

=

ref

(

false

);

&lt;/

script

&gt;

&lt;

template

&gt;

&lt;

FilecheckIntake

workflow-id

=

"wf\_…"

v-model:job-id

=

"jobId"

@status

=

"(s) =&gt; (canProceed = s.canProceed)"

/&gt;

&lt;

form

method

=

"post"

action

=

"/checkout"

&gt;

&lt;

input

type

=

"hidden"

name

=

"fc\_job\_id"

:value

=

"jobId"

/&gt;

&lt;

button

type

=

"submit"

:disabled

=

"\!canProceed"

&gt;

Continue

&lt;/

button

&gt;

&lt;/

form

&gt;

&lt;/

template

&gt;

Then

verify the

jobId

server-side

before fulfilling — client-side gating alone can be bypassed.

### Navigate to header: Props and events Props and events

| Prop | Kind | Behavior on change |
| --- | --- | --- |
| workflowId , ui , locale | Mutable | Applied via element.update() — no remount. |
| connector | Mutable | Applied via element.setConnector() — no remount. |
| jobId , presentation , connectorId , preview , workflow | Identity | Changing one recreates the element. A v-model:job-id write-back from a status event never triggers a recreate — only an externally-set jobId does. |

Events:

@ready

,

@status

,

@facts

,

@ui

,

@error

,

@proof

,

@file-select

,

@download

,

@destroy

,

@connector-apply

, and

@update:jobId

(the

v-model:job-id

channel). Payloads match the

Element events

exactly.

### Navigate to header: Imperative access Imperative access

A template ref exposes

element

(the raw element instance),

focus()

,

blur()

, and

respondToProof(approved)

:

&lt;

FilecheckIntake

ref

=

"intake"

workflow-id

=

"wf\_…"

/&gt;

&lt;\!-- intakeRef.value?.focus() --&gt;

useFilecheck()

returns a

ShallowRef&lt;FilecheckInstance \| null&gt;

for anything the component does not cover — for example creating a

report

element yourself. All

filecheck-js

types are re-exported.

Already have a

loadFilecheck

promise (for example from a Nuxt plugin)? Pass it directly:

app.use(FilecheckPlugin, \{ filecheck: promise \})

.

Suggest edits

Raise issue

[verify the jobId server-side](https://filecheck.io/docs/server/verify-jobs)

[Element events](https://filecheck.io/docs/element/events)

[Suggest edits](https://github.com/sterlyai/mintlify-docs/edit/main/integrations/vue.mdx)

[Raise issue](https://github.com/sterlyai/mintlify-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/integrations/vue)

[Navigate to header: Quickstart](https://filecheck.io/docs/integrations/vue#quickstart)

[Navigate to header: Props and events](https://filecheck.io/docs/integrations/vue#props-and-events)

[Navigate to header: Imperative access](https://filecheck.io/docs/integrations/vue#imperative-access)