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

Advanced AI Prompt for Radix UI Context Menu with Hotkey Integration

Customize the variables below to instantly engineer your prompt.

Required Variables

radix-context-menu-hotkeys.txt
Act as a Desktop-to-Web Application Developer. Implement a robust Radix UI Context Menu designed for a specific [TARGET_ZONE] (e.g., a complex data table or file explorer). Every actionable menu item must be mapped programmatically to a global [SHORTCUT_MAP]. Handle complex [OS_SPECIFIC_LOGIC] (dynamically rendering 'Cmd' for macOS vs 'Ctrl' for Windows) for the visual keyboard shortcut hints. The context menu must be fully accessible via the keyboard (responding to 'Shift+F10' or the Context Menu key). Detail the exact JavaScript event prevention required to block the default browser context menu, while ensuring the Radix menu accurately calculates and positions itself at the exact 'clientX/clientY' click coordinates without clipping off-screen.

Example Text Output

"The AI provides a ContextMenu component with integrated global hotkey listeners that trigger the same callbacks as the menu items, with visual 'Kbd' components inside the menu."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Radix UI Context Menu with Hotkey Integration" prompt used for?

The AI provides a ContextMenu component with integrated global hotkey listeners that trigger the same callbacks as the menu items, with visual 'Kbd' components inside the menu.

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.