The Uploader component allows users to upload files via clicking or drag-and-drop. It supports image previews and various display modes such as thumbnails, text descriptions, or single-file avatar uploads. Common use cases include:
- Basic Upload: Automatically uploads files upon selection.
- Picture/Avatar: Displays thumbnails or single images.
- Drag and Drop: Enables dropping files into a designated area.
- Initial File List: Displays existing files with preview and delete capabilities.
- Manual Upload: Allows users to select files first and then trigger the upload manually.
- Controlled Mode: Allows managing the file list via external state.