More Premium Hugo Themes Premium React Themes

File Uploader

File uploader built with shadcn/ui and Radix UI.

File Uploader

File uploader built with shadcn/ui and Radix UI.

Author Avatar Theme by sadmann7
Github Stars Github Stars: 1233
Last Commit Last Commit: Apr 13, 2025 -
First Commit Created: Aug 27, 2024 -
default image

Overview

The File Uploader is a file uploading component that is built using shadnc/ui and react-dropzone. It is created with create-t3-app and utilizes Next.js framework, Tailwind CSS for styling, shadcn/ui for UI components, react-dropzone for Drag-and-Drop functionality, and Zod for validation. This File Uploader provides features like a reusable useFileUpload hook, Drag-and-Drop file upload with progress bar, integration with react-hook-form and shadnc/ui form components, and a file dialog demo.

Features

  • Reusable useFileUpload hook: for uploading files with uploadthing
  • Drag and drop file upload component: with progress bar
  • React-hook-form integration: with shadnc/ui form components
  • File dialog demo: with the ability to add and remove files from the scrollable list

Installation

To run this file uploader locally, follow these steps:

  1. Clone the repository
  2. Install dependencies using pnpm
pnpm install
  1. Copy the .env.example to .env and update the variables
  2. Start the development server
pnpm dev

Summary

The File Uploader is a versatile tool for file uploading, offering features such as reusable hooks, drag-and-drop functionality, integration with form components, and a file dialog demo. Installation is straightforward, involving cloning the repository, installing dependencies, updating environment variables, and starting the development server. Additionally, deployment guides for Vercel, Netlify, and Docker are available for deploying this file uploader to various platforms.