You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Universal Web Component to identify DOM elements and communicate better with AI. Click any element, get its unique identifier, and tell AI exactly what to modify. Compatible with React, Vue, Angular, and Vanilla JS. Zero dependencies.
That’s it. Load the page and you’ll see a floating button (wheel). Activate it to hover and click elements; the panel will show the selector and details.
show-wheel: true | false (default true) — show the floating button (wheel).
show-panel: true | false (default true) — allow the info panel.
auto-start: alias for active.
Notes
If you don’t see the button, verify the CDN script loaded and no blockers prevented it.
You can toggle the tool from the on-screen controls. No additional JS is required for basic use.
Recommendation: use data-component
For more stable, human- and tool-friendly selectors, add a data-component attribute to your component root or key nodes (e.g., product card, image, or button).
Example:
<divclass="card" data-component="ProductCard"><imgsrc="/img.jpg" alt="..." data-component="ProductImage" /><buttondata-component="AddToCartButton">Add to cart</button></div>
React usage (Example)
If you use React, you can load the Web Component dynamically to ensure the custom element is defined before rendering it.
import{useEffect}from"react";declare global {namespaceJSX{interfaceIntrinsicElements{'element-identifier': {active?: string;'show-wheel'?: string;'show-panel'?: string;};}}}exportdefaultfunctionHome(){useEffect(()=>{import('element-identifier');},[]);return(<main><element-identifieractive="false"show-wheel="carview.php?tsp=true"show-panel="carview.php?tsp=true"/></main>);}
The dynamic import registers the custom element (<element-identifier>) in the browser when the component mounts.
You can then use the tag directly in your JSX with the optional attributes.
Screenshot
About
Universal Web Component to identify DOM elements and communicate better with AI. Click any element, get its unique identifier, and tell AI exactly what to modify. Compatible with React, Vue, Angular, and Vanilla JS. Zero dependencies.