Socket
Socket
Sign inDemoInstall

@uppy/dashboard

Package Overview
Dependencies
12
Maintainers
8
Versions
133
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/dashboard


Version published
Weekly downloads
153K
decreased by-8.06%
Maintainers
8
Created
Weekly downloads
 

Package description

What is @uppy/dashboard?

@uppy/dashboard is a versatile file uploader UI plugin for Uppy, a modular file uploader for web applications. It provides a drag-and-drop interface, file previews, and progress indicators, making it easy to integrate file uploading capabilities into your web application.

What are @uppy/dashboard's main functionalities?

Drag-and-Drop File Upload

This feature allows users to drag and drop files into a designated area for uploading. The code sample demonstrates how to set up the Uppy Dashboard with drag-and-drop functionality.

const Uppy = require('@uppy/core');
const Dashboard = require('@uppy/dashboard');

const uppy = Uppy();
uppy.use(Dashboard, {
  target: '#drag-drop-area',
  inline: true
});

File Previews

This feature provides previews of the files that are being uploaded. The code sample shows how to configure the Uppy Dashboard to display file previews and upload progress details.

const Uppy = require('@uppy/core');
const Dashboard = require('@uppy/dashboard');

const uppy = Uppy();
uppy.use(Dashboard, {
  target: '#file-preview-area',
  inline: true,
  showLinkToFileUploadResult: true,
  showProgressDetails: true
});

Progress Indicators

This feature shows progress indicators for file uploads. The code sample demonstrates how to set up the Uppy Dashboard to display detailed progress indicators for each file being uploaded.

const Uppy = require('@uppy/core');
const Dashboard = require('@uppy/dashboard');

const uppy = Uppy();
uppy.use(Dashboard, {
  target: '#progress-indicator-area',
  inline: true,
  showProgressDetails: true
});

Other packages similar to @uppy/dashboard

Changelog

Source

3.0.0-beta.3

Released: 2022-07-27

  • @uppy/react: Fix exports in propTypes.js to fix website build (Murderlon)
  • @uppy/dashboard,@uppy/webcam: Add support for mobileNativeCamera option to Webcam and Dashboard (Artur Paikin / #3844)
  • @uppy/aws-s3-multipart: make headers part indexed too in prepareUploadParts (Merlijn Vos / #3895)
  • @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: upgrade nanoid to v4 (Antoine du Hamel / #3904)
  • @uppy/companion: update minimal supported Node.js version in the docs (Antoine du Hamel / #3902)
  • @uppy/companion: upgrade redis to version 4.x (Antoine du Hamel / #3589)
  • @uppy/companion: remove unnecessary ts-ignores (Mikael Finstad / #3900)
  • meta: use node: protocol when using Node.js built-in core modules (Antoine du Hamel / #3871)
  • meta: upgrade to Vite v3 (Antoine du Hamel / #3882)
  • @uppy/companion: remove COMPANION_S3_GETKEY_SAFE_BEHAVIOR env variable (Antoine du Hamel / #3869)
  • meta: fix release script for major beta versions (Antoine du Hamel)

Readme

Source

@uppy/dashboard

Uppy logo: a superman puppy in a pink suit

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

Dashboard is a universal UI plugin for Uppy:

  • Drag and Drop, paste, select from local disk / my device
  • UI for Webcam and remote sources: Google Drive, Dropbox, Instagram (all optional, added via plugins)
  • File previews and info
  • Metadata editor
  • Progress: total and for individual files
  • Ability to pause/resume or cancel (depending on uploader plugin) individual or all files

Read the docs | Try it

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

import Uppy from '@uppy/core'
import Dashboard from '@uppy/dashboard'

const uppy = new Uppy()
uppy.use(Dashboard, {
  target: 'body',
  inline: true,
})

Installation

$ npm install @uppy/dashboard

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit’s CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.

Keywords

FAQs

Last updated on 03 Aug 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc