Skip to main content
filecheck-react wraps the Element in an idiomatic React component: props map to Element options, events become callback props, and the element lifecycle (create, subscribe, mount, update, teardown) is handled for you. Requires React 18 or newer; every entry point carries 'use client', so it works in the Next.js App Router without configuration.

Quickstart

Then verify the jobId server-side before fulfilling — client-side gating alone can be bypassed.

<FilecheckIntake /> props

The component is safe under React 18 StrictMode — the dev double-mount produces exactly one iframe.

Imperative access

Expose the element instance through a ref when you need focus(), blur(), or respondToProof():
useFilecheck() returns the resolved factory (or null while the CDN script loads) for anything the component does not cover — for example creating a report element yourself. All filecheck-js types are re-exported, so one import site covers both packages.