overview.md

Documentation Index

Fetch the complete documentation index at: https://filecheck.io/docs/llms.txt Use this file to discover all available pages before exploring further.

The Element Overview

What the Filecheck Element is, how it works, and how it handles real-time file preflight and gating.

[!NOTE]

Using an e-commerce platform? If you are running WooCommerce, Shopify, OpenCart, or PrestaShop, you do not need to write any code or manually embed this Element.

Simply install the respective Filecheck plugin/module and assign a Workflow to your products inside your store admin. The plugin will handle loading, mounting, and gating the Element automatically!

Go to the Quickstart → or pick your platform's installation guide: WordPress, Shopify, PrestaShop, OpenCart.

The Filecheck Element is a secure, self-rendering front-end widget that embeds directly into your website's product page, upload form, or checkout stream. It sits in front of your action buttons (such as Add to Cart or Submit) and acts as the interactive portal where customers upload, preview, and approve their files.

graph LR
    A[Customer File] --> B[Filecheck Element]
    B -->|Preflight Sandboxed| C[Real-Time Feedback]
    C -->|Approved / Passes| D[canProceed = true]
    D -->|Enables| E[Add to Cart / Submit]

What the Element does

Integrating the Element on your frontend handles several critical jobs automatically:


Two presentation modes

The Element can be styled to fit your storefront's user experience with two standard presentation modes:

[card] Inline presentation

The upload target renders directly in the page flow as a drop-zone box. Ideal for products that always require custom artwork.

[card] Dialog presentation

Renders as a customizable button (e.g., "Upload Artwork"). Clicking the button opens the upload interface in a secure modal/drawer dialog over the page.


How it works under the hood

The Element is loaded dynamically from our CDN. Under the hood, it renders inside a secure iframe wrapped in a Shadow DOM boundary.


Integration options

Depending on your project's technical architecture, you can integrate the Element in two ways:

[card] Zero-JS (Plugins)

For WordPress, Shopify, OpenCart, and PrestaShop, use the simplified Filecheck.mount(config) API. It automatically handles mounting, button gating, dialog windows, and lightbox proof galleries with zero manual code.

[card] Standard JS / Custom stacks

Load the library from the CDN, initialize the Filecheck factory manually, subscribe to real-time events, and programmatically bind them to your custom checkout flow.

This documentation is built and hosted on Mintlify, a developer documentation platform.