JavaScript File Uploader
Use this integration when you want to work directly with Web Components in a plain JavaScript or vanilla HTML app.
Minimal setup
- Install the package:
-
Register components and include styles in your entry file.
-
Add
uc-config, an uploader component, anduc-upload-ctx-providerto your page.
Read setup details in:
Examples
This example includes:
- minimal uploader
- regular uploader
- headless regular uploader with custom trigger
- custom Unsplash source plugin usage
Related File Uploader docs
Notes and pitfalls
- Make sure
UC.defineComponents(UC)runs before custom elements are used. - If you integrate custom source plugins, use the Plugin API example as a reference.
- For secure upload flows, review Security settings.