Image Dropzone

A component to allow users to upload images with drag-and-drop or click-to-upload.

Images are uploaded to Supabase storage, followed by a "success" toast shown for a few seconds.

Image Dropzone

You can customize the accepted file types and the storage bucket according to your requirements.

import ImageDropzone from "@/components/ImageDropzone";
<ImageDropzone />

⚠️ The component relies on Supabase for storage, so make sure your Supabase client is configured correctly and you've ran all migrations after linking your project.

Last Updated: June 7