React File Saver OverviewPremium
The Kendo UI File Saver package is a framework-agnostic utility for saving files on the client machine. It ships as a standalone npm package (@progress/kendo-file-saver) and works with any JavaScript or TypeScript project. You can save files from a data URI or a Blob and optionally encode string content to base64 before saving.
React File Saver Example
The following example demonstrates how to use the Kendo UI File Saver package to save a file from a data URI.
React File Saver Key Features
Saving Files
saveAs triggers a file download on the client machine. It accepts a data URI or a Blob and a file name, with an optional proxy URL for browsers that do not support the download attribute. Read more about saving files...
Server Proxy Fallback
When the browser does not support the download attribute, you can use a server proxy to stream the file to the end user. Read more about the server proxy...
Base64 Encoding
encodeBase64 encodes a string to base64, which you can use to construct a valid data URI before passing it to saveAs. Read more about base64 encoding...
Support Options
For any questions about the use of the React File Saver, or any of our other components, there are several support options available:
- Kendo UI license holders and anyone in an active trial can take advantage of the outstanding customer support delivered by the actual developers who built the library. To submit a support ticket, use the Kendo UI support system.
- KendoReact forums are part of the free support you can get from the community and from the Kendo UI team on all kinds of general issues.
- KendoReact feedback portal and roadmap provide information on the features in discussion and also the planned ones for release.
- KendoReact uses GitHub Issues as its bug tracker and you can submit any related reports there. Also, check out the closed list.