Socket
Socket
Sign inDemoInstall

@uppy/react

Package Overview
Dependencies
Maintainers
5
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/react

React component wrappers around Uppy's official UI plugins.


Version published
Weekly downloads
100K
decreased by-0.14%
Maintainers
5
Weekly downloads
 
Created

What is @uppy/react?

@uppy/react is a React wrapper for Uppy, a sleek, modular file uploader for web browsers. It allows you to integrate Uppy’s file uploading capabilities into your React applications with ease.

What are @uppy/react'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 a basic drag-and-drop file upload component using Uppy and React.

import React from 'react';
import Uppy from '@uppy/core';
import { DragDrop } from '@uppy/react';

const uppy = Uppy();

function App() {
  return (
    <div>
      <h1>Upload your files</h1>
      <DragDrop uppy={uppy} />
    </div>
  );
}

export default App;

Dashboard UI

The Dashboard UI provides a comprehensive interface for file uploading, including previews, progress bars, and the ability to add files from various sources. The code sample shows how to integrate the Dashboard component into a React application.

import React from 'react';
import Uppy from '@uppy/core';
import { Dashboard } from '@uppy/react';

const uppy = Uppy();

function App() {
  return (
    <div>
      <h1>Upload your files</h1>
      <Dashboard uppy={uppy} />
    </div>
  );
}

export default App;

Progress Bar

The Progress Bar component provides a visual indicator of the upload progress. The code sample demonstrates how to add a progress bar to your React application using Uppy.

import React from 'react';
import Uppy from '@uppy/core';
import { ProgressBar } from '@uppy/react';

const uppy = Uppy();

function App() {
  return (
    <div>
      <h1>Upload your files</h1>
      <ProgressBar uppy={uppy} />
    </div>
  );
}

export default App;

Other packages similar to @uppy/react

Keywords

FAQs

Package last updated on 19 Apr 2019

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc