Archivo Elements is a collection of web components that helps developers to integrate file upload and file download features to their web applications. Archivo Elements contains two button elements to handle file upload and file download. These two buttons are customizable. You can use these elements in any web framework. Archivo Elements was build using Stencil.js.
Getting Started
- Usage via Script Tag:
- Installation from NPM:
Using Archivo Upload Button
- Attributes of Archivo Upload Button:
artitle: [String] Specify the title of the button.
araccept: [String] Specify what file types the user can pick from the file input dialog box. Learn More
artitle: [boolean] Specify whether to accept multiple files or not. (Default: false).
- Methods of Archivo Upload Button
getFileData(): Returns uploaded file(s) as an array of Data URLs.
Using Archivo Download button
- Attributes of Archivo Download Button:
artitle: [String] Specify the title of the button.
arfilename: [String] Specify name of the downloading file.
armimetype: [String] Specify the format of the file. Learn More.
ardata: [any] Pass file data to download. (Note: for media file types like images, audio, videos data should be passed in Data URL format)
Send Suggestions or Report an Issue
![]() |
Archivo Elements Logo |