A file-upload web component with drag and drop, previews, validation, an upload queue (progress, pause / resume, cancel, retry) and multiple display modes — plus decoupled picker / list / indicator / progress elements and a headless store for your own renderer.
This repository is a workspaces monorepo with two published packages:
| Package | What | Docs |
|---|---|---|
@keenmate/web-dropzone |
<web-dropzone> (store + built-in UI) and the satellites <web-dropzone-picker>, <web-dropzone-list>, <web-dropzone-indicator>, <web-dropzone-progress> |
README (what's new, install, quick start) · usage · theming · examples · accessibility |
@keenmate/web-dropzone-core |
The headless store — DropzoneEngine, DropzoneController, file / upload / label helpers. No DOM, no CSS |
README · usage · examples |
- ARCHITECTURE.md — the store + satellites topology and the core / renderer split.
- CHANGELOG.md — release history of both packages.
- VALIDATION-NOTES.md — accepted deviations from the BlissFramework guidelines.
npm install @keenmate/web-dropzone
<script type="module">
import '@keenmate/web-dropzone';
</script>
<web-dropzone accept="image/*,.pdf" max-file-size="5MB" max-file-count="10"
display-mode="detailed" name="files"></web-dropzone>
npm install
npm run dev # example pages (examples-*.html) on the devkit dev server
npm run build # builds web-dropzone-core, then web-dropzone (+ custom-elements.json)
npm run build:examples # static examples site into dist-examples/
npm run test:unit # vitest (packages/web-dropzone)
npm run test:e2e # Playwright, against the fixture pages under test/
npm run doctor # kmwc doctor (the BlissFramework rulebook checks)
Authored and maintained by Keenmate s.r.o..
The component ships standalone with sensible light/dark defaults;
when mounted inside Pure Admin — or any
host that publishes the --base-* taxonomy via
@keenmate/theme-designer — it adopts the host's colors,
typography, and sizing automatically. There is no runtime
dependency on Pure Admin; the integration is opt-in via CSS
variables.
Follows the BlissFramework component guidelines for structure, theming, color-scheme, and accessibility.
MIT — see LICENSE.