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:
- Secure, direct uploads: Files are uploaded directly from the client to Filecheck's secure, sandboxed cloud infrastructure—keeping upload bandwidth off your web server.
- Real-time inspection feedback: Filecheck inspects PDFs or raster images in milliseconds and displays clean, customer-friendly status banners directly inside the widget (e.g. reporting missing bleed, low DPI, or un-embedded fonts).
- Interactive soft-proofing: If soft-proofing is enabled on the active Workflow, the Element renders a visual, high-fidelity crop and color preview for the customer to review and approve.
- Synchronous checkout gating: The Element emits real-time status payloads. It exposes a
canProceedflag which controls whether your store's purchase button remains locked or active.
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.
- Isolation: Because it runs within a Shadow DOM, your store's style rules (such as global CSS styles) cannot break the widget's layout.
- Responsiveness: The widget self-sizes dynamically based on its contents and state. You only need to set a fixed width on the parent container
<div>; you should never hardcode a height.
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
Filecheckfactory 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.