![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@vaadin/upload
Advanced tools
A web component for uploading files.
<vaadin-upload accept=".pdf">
<span slot="drop-label">Drop your favourite Novels here (PDF files only)</span>
</vaadin-upload>
Install the component:
npm i @vaadin/upload
Once installed, import the component in your application:
import '@vaadin/upload';
Vaadin components come with two built-in themes, Lumo and Material. The main entrypoint of the package uses the Lumo theme.
To use the Material theme, import the component from the theme/material
folder:
import '@vaadin/upload/theme/material/vaadin-upload.js';
You can also import the Lumo version of the component explicitly:
import '@vaadin/upload/theme/lumo/vaadin-upload.js';
Finally, you can import the un-themed component from the src
folder to get a minimal starting point:
import '@vaadin/upload/src/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 usage statistics at development time 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 6,021 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 12 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.