components

File Upload

Allow users to upload files

Source Code

Installation

Imports

Props

Prop NameDefault ValuesValues
variantinputinput/container
acceptimage/*
roundedlgxs,sm,md,lg,xl,2xl
sizeslgxs,sm,md,lg,xl,2xl
maxSize (in mb)5
maxFiles4
labeltruetrue/false
disabledfalsetrue/false
maxFiles4
titleDrag and drop files to upload
descriptionJPG, PNG, GIF or other image files
hintHint text to help the user with input

Usage