Choose a folder, drop files, or paste
The whole directory is added. Paste images with ⌘/Ctrl + V.
Choose folder
{dz.files.map((file) => {
const meta = badge(file.name);
return (
{file.name}
{formatFileSize(file.size)}
dz.removeFile(file.id)} />
);
})}
{dz.files.length > 0 ? (
{dz.files.length} files · {formatFileSize(dz.totalSize)}
) : null}
);
}
```
## Related Components
- **ProgressBar**: Shows determinate or indeterminate progress of an operation
- **Button**: Allows a user to perform an action
- **Label**: Accessible label for form controls
## Styling
### Customizing the component classes
To customize the DropZone component classes, you can use the `@layer components` directive.