A Chrome browser extension for annotating React components on any webpage. Click elements to add comments, automatically detect React component names, and export annotations in a Claude-friendly markdown format.
- Click to Annotate - Select any element on a React page and add comments
- React Component Detection - Automatically detects component names from React fiber
- Smart Path Suggestions - Suggests file paths based on component names (with uncertainty markers)
- Screenshot Capture - Captures element screenshots (stored locally in extension)
- Dark Theme UI - Clean, readable popup interface
- DevTools Integration - "Inspect" button to help locate components in React DevTools
- Claude-Friendly Export - Copy annotations as markdown with classes, HTML, and context
- Full Export - Download markdown file + all screenshots, with path auto-copied to clipboard
- Open Chrome and go to
chrome://extensions/ - Enable Developer mode (toggle in top-right corner)
- Click "Load unpacked"
- Select the
react-annotator-chromefolder
- Enable annotation mode: Click the extension icon → "Start Annotating"
- Click an element: A popup appears with auto-detected component info
- Add your comment: Describe what you want to change
- Save: The annotation is stored with a comment icon on the page
- Export:
- Click "Copy for Claude" to copy markdown to clipboard
- Click "Export All" to download markdown + screenshots
### 1. WaitlistSection
- **File (suggested):** `components/waitlist-section.tsx` ⚠️ *search for "WaitlistSection" to verify*
- **Classes:** `relative rounded-2xl border p-8 transition-all`
- **Comment:** Change the heading color to blue
- **Screenshot:** 
<details>
<summary>Element HTML</summary>
```html
<div class="relative rounded-2xl border...">...</div>The extension injects a script into the page context to access React's internal fiber tree:
- Finds
__reactFiber$keys on DOM elements - Traverses the fiber tree to find component names or keys
- Skips library wrappers like
motion.div,Suspense, etc. - Falls back to data attributes or PascalCase class names
Note: File paths are suggested based on kebab-case conversion. Marked with
A Firefox version is also available at react-annotator-extension.
MIT