An advanced Chrome DevTools extension for frontend developers.
Initial scaffold with working DevTools panel.
Shows the latest updated version panel and is subjected to change frequently
Have a look at the CHANGELOG.md for the clean updation history
Dev Companion is a Chrome DevTools extension, not a popup-based extension.
It runs inside Chrome DevTools and interacts with the currently inspected page.
Follow the steps below to use it correctly.
- Open Chrome and go to
chrome://extensions - Enable Developer mode (top-right)
- Click Load unpacked
- Select the project folder (
dev-companion-css-live-edit)
Open any webpage where you want to inspect or extract components, for example:
- Wikipedia
- A blog page
- Your own website or app
Use any of the following:
F12Ctrl + Shift + I- Right-click → Inspect
Inside DevTools:
- Look at the top tab bar (
Elements,Console,Network, etc.) - Scroll right if needed
- Click on Dev Companion
This opens the extension’s custom DevTools panel.
Dev Companion works with the currently selected DOM element.
- Go to the Elements tab
- Click the element picker (cursor icon in the top-left)
- Click any element on the page
(e.g., a paragraph, div, heading, button)
The selected element becomes available to the extension.
- Switch back to the Dev Companion tab
- Click Inspect Selected Element
You will see information such as:
- HTML tag name
- Class name
- Sample computed CSS properties
The Capture Component button will:
- Extract the selected DOM subtree
- Convert it into JSX-safe markup
- Extract styles into a CSS file
- Export everything as a downloadable React component
⚠️ This feature is currently under development and will be enabled in future updates.
- Selecting text on the page does not select a DOM element
- Always use the DevTools element picker
- The extension does not show a clickable toolbar popup — this is expected behavior for DevTools extensions
- Live CSS editing
- DOM subtree extraction
- React component + CSS module export
This project is under active development.
