--- title: Upload sidebar_label: Upload --- import { StoryWithControls } from '../../../src/components/StorybookWrapper'; # Upload Upload component for file selection and uploading. Supports drag-and-drop, multiple files, and different list display styles. ## Live Example ## Try It Edit the code below to experiment with the component: ```tsx live function Demo() { return ( ); } ``` ## Picture Card Style ```tsx live function PictureCard() { return ( + Upload ); } ``` ## Drag and Drop ```tsx live function DragDrop() { return (

+

Click or drag file to this area to upload

Support for single or bulk upload.

); } ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `multiple` | `boolean` | `false` | Support multiple file selection. | | `disabled` | `boolean` | `false` | Disable the upload button. | | `listType` | `string` | `"text"` | Built-in style for the file list display. | | `showUploadList` | `boolean` | `true` | Whether to show the upload file list. | ## Import ```tsx import { Upload } from '@superset/components'; ``` --- :::tip[Improve this page] This documentation is auto-generated from the component's Storybook story. Help improve it by [editing the story file](https://github.com/apache/superset/edit/master/superset-frontend/packages/superset-ui-core/src/components/Upload/Upload.stories.tsx). :::