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

Advanced AI Prompt for Radix UI Dropdown with Async Shimmer States

Customize the variables below to instantly engineer your prompt.

Required Variables

radix-dropdown-async-loading-a11y.txt
Build an accessible Radix UI Dropdown Menu that fetches its items from [API_ENDPOINT] upon opening. Implement a [LOADING_PATTERN] (e.g., Shimmer/Skeleton) that maintains focus and is announced as 'Loading' by screen readers. Handle edge cases: [RETRY_LOGIC] for failed fetches and empty states. Ensure the 'DropdownMenu.Content' does not shift layout abruptly once data loads. Use Radix's 'forceMount' if necessary for entrance animations. The output should include the fetching hook and the accessible ARIA-busy states.

Example Text Output

"The AI outputs a DropdownMenu component that uses a useEffect to trigger fetches onOpenChange, utilizing skeleton items with role='menuitem' to maintain keyboard navigation during the load."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Radix UI Dropdown with Async Shimmer States" prompt used for?

The AI outputs a DropdownMenu component that uses a useEffect to trigger fetches onOpenChange, utilizing skeleton items with role='menuitem' to maintain keyboard navigation during the load.

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.