File Upload Standard 1 component design & features
This file upload example uses the diceui FileUpload component with a simple button trigger. It demonstrates the basic FileUploadTrigger pattern wrapped in a shadcn Button component, allowing single file selection with a maximum file size limit. Selected files are displayed below the button with their filename.
Simple button triggers work well for basic file upload needs where a dropzone would be unnecessary, such as document uploads in forms, profile picture selection, or single file attachments in messaging interfaces.
