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

Advanced AI Prompt for Multi-Step Radix UI Dialog Forms

Customize the variables below to instantly engineer your prompt.

Required Variables

multi-step-radix-dialog-validation.txt
Act as a Form Architecture Specialist. Engineer a complex, [STEP_COUNT]-step wizard entirely encapsulated within a Radix UI Dialog portal. Each individual step must be strictly validated using the [VALIDATION_SCHEMA] (e.g., Zod or Yup). Implement a dynamic progress indicator that is actively announced to screen readers via ARIA-live regions. The dialog logic must explicitly prevent accidental closure (via 'onPointerDownOutside' or 'onEscapeKeyDown') if the form state is marked 'dirty', triggering a secondary 'Confirmation Alert' interceptor. Detail the [PERSISTENCE_STRATEGY] (e.g., session storage) to guarantee data is not wiped if the user hard-refreshes. The component code must adhere to WAI-ARIA Authoring Practices for multi-page dialogs.

Example Text Output

"The AI generates a state machine-driven Dialog where each step is a sub-component, featuring custom onClose-prevention logic and ARIA-describedby updates for error states."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Multi-Step Radix UI Dialog Forms" prompt used for?

The AI generates a state machine-driven Dialog where each step is a sub-component, featuring custom onClose-prevention logic and ARIA-describedby updates for error states.

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.