Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@vaadin/upload
Advanced tools
Live Demo ↗ | API documentation ↗
<vaadin-upload> is a Web Component for uploading files, part of the Vaadin components.
<vaadin-upload accept=".pdf">
<span slot="drop-label">Drop your favourite Novels here (PDF files only)</span>
</vaadin-upload>
Install vaadin-upload
:
npm i @vaadin/upload --save
Once installed, import it in your application:
import '@vaadin/upload/vaadin-upload.js';
Vaadin components use the Lumo theme by default.
To use the Material theme, import the correspondent file from the theme/material
folder.
The component with the Lumo theme:
theme/lumo/vaadin-upload.js
The component with the Material theme:
theme/material/vaadin-upload.js
Alias for theme/lumo/vaadin-upload.js
:
vaadin-upload.js
Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
Apache License 2.0
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
FAQs
Web Component for uploading files with drag and drop support
The npm package @vaadin/upload receives a total of 18,614 weekly downloads. As such, @vaadin/upload popularity was classified as popular.
We found that @vaadin/upload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.