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

Advanced AI Prompt for Grid-Snapping Custom Cursor for Dashboards

Customize the variables below to instantly engineer your prompt.

Required Variables

grid-snapping-custom-cursor-dashboards.txt
Act as a Data Visualization UX Engineer. Develop a highly specialized, precision custom cursor tailored for a complex data dashboard or vector editor that physically 'snaps' to an invisible, mathematical [GRID_SIZE] pixel matrix (e.g., 20x20px blocks). Program the JavaScript to intercept the raw `mousemove` event, utilizing `Math.round` and a defined [SNAPPING_STRENGTH] threshold to aggressively lock the cursor's X/Y coordinates to the nearest grid intersection before updating the DOM. Force the cursor to transition its border stroke to an [ACTIVE_COLOR] whenever it perfectly aligns over a manipulatable data node. Inject dynamic typography into the cursor head that actively prints the current X/Y grid coordinates in real-time. Ensure the cursor translation is executed exclusively via hardware-accelerated `transform: translate3d()` and absolutely guarantee that native `Tab` keyboard navigation remains completely unhindered by this overlay.

Example Text Output

"A snapping logic function that rounds mouse coordinates to the nearest grid interval, perfect for precision UI/UX like editors or dashboards."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Grid-Snapping Custom Cursor for Dashboards" prompt used for?

A snapping logic function that rounds mouse coordinates to the nearest grid interval, perfect for precision UI/UX like editors or dashboards.

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.