Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#UI

Advanced AI Prompt for Radix UI Dialog with File Upload Progress

Customize the variables below to instantly engineer your prompt.

Required Variables

radix-dialog-file-upload-a11y.txt
Act as a Frontend Infrastructure Engineer. Design a sophisticated Radix UI Dialog that serves as a centralized file upload hub. The modal must natively support drag-and-drop file events within its bounds. During the [UPLOAD_PROTOCOL] (e.g., chunked multipart upload or direct-to-S3), the Dialog must morph its content to display a real-time [PROGRESS_UI]. You must engineer solutions for: complex focus management during the transition from 'Upload' to 'Processing' states, strict ARIA 'progressbar' role integration ('aria-valuenow', 'aria-valuemin', 'aria-valuemax'), and ensuring screen readers verbosely announce the final success or failure of the upload. Intercept the 'onInteractOutside' event to physically prevent the user from closing the modal during critical I/O phases. Inject the [MAX_FILE_SIZE] byte-validation logic directly into the dropzone state.

Example Text Output

"The AI outputs a 'FileUploaderDialog' that integrates Radix primitives with a progress state, using aria-valuemin/max/now attributes to communicate upload status."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Radix UI Dialog with File Upload Progress" prompt used for?

The AI outputs a 'FileUploaderDialog' that integrates Radix primitives with a progress state, using aria-valuemin/max/now attributes to communicate upload status.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.