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

Advanced AI Prompt for State-Aware Cursor with Tooltip Integration

Customize the variables below to instantly engineer your prompt.

Required Variables

state-aware-cursor-tooltip-integration.txt
Act as a Frontend Component Architect. Construct an ultra-premium, state-aware custom cursor that seamlessly physically transforms its own geometry into an informational tooltip specifically when hovering over anchor tags or images possessing a defined [CONTENT_ATTR] (e.g., `data-cursor-text`). Program the logic to execute the expansion and text-injection only after a strict [TOOLTIP_DELAY] debounce (to prevent flashing during rapid swipes) utilizing a complex CSS/GSAP [ANIMATION_IN] spatial transition. You must mathematically calculate the tooltip's bounding box relative to `window.innerWidth/innerHeight` to intelligently force the tooltip to flip its origin axis, guaranteeing it never clips outside the visible viewport boundaries. Detail the exact semantic HTML relationship required using `aria-describedby` to ensure the dynamic text injected into this floating cursor is perfectly legible and announced to visually impaired users relying on screen readers.

Example Text Output

"A robust tooltip system where the cursor's 'follower' expands into a text bubble, pulling its content from data-attributes of the hovered element."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for State-Aware Cursor with Tooltip Integration" prompt used for?

A robust tooltip system where the cursor's 'follower' expands into a text bubble, pulling its content from data-attributes of the hovered element.

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.