CodeBrowser / npm / @zag-js/file-upload
@zag-js/file-upload@1.42.0
// Core logic for the file-upload widget implemented as a state machine
$ npm install @zag-js/file-upload
downloads/wk
1,041,092
license
MIT
version
1.42.0
published
Jun 29, 2026
What is @zag-js/file-upload?
@zag-js/file-upload provides the core state machine logic for building file upload widgets, handling the complex interactions and state transitions involved in file selection and upload flows. It's part of the Zag.js library and can be integrated into any JavaScript framework to add predictable, accessible file upload functionality without reinventing the logic. Use this package if you need a framework-agnostic, tested foundation for file upload components rather than building the state management from scratch.
Keywords
#js #machine #xstate #statechart #component #chakra-ui #file-upload
Maintainers
segunadebayo