Browser Extension
Extension Overview
The UI Inspect browser extension — 35+ visual QA tools for Chrome, Edge, Brave, and Arc.
The UI Inspect Chrome extension is the most comprehensive free design QA toolkit available, with 35+ tools across 30 feature modules.
Feature Categories
Inspect & Measure
- Element Picker — Hold Ctrl to pick any element, see box model and computed styles
- Box Model Visualization — Margin, border, padding, content with colored overlays
- Alignment Guides — Full-page crosshair lines from element edges
- Distance Measurement — Red/blue lines showing spacing between selected and hovered elements
- Sibling Spacing — Auto-detect gaps between sibling elements (flex/grid aware)
- Rulers & Guides — Pixel rulers with draggable cyan guide lines
- Element Outlines — Toggle CSS outlines on all page elements (like Pesticide)
- Layout Visualizer — Grid tracks, flex items, gaps, and direction arrows
Edit & Export
- Visual CSS Editor — 7 property sections with number scrubbing, arrow keys, undo/redo
- Text Editor — Double-click to edit text content inline (Enter to confirm, Esc to revert)
- Element Manipulator — Drag-to-move and resize handles with live size labels
- Copy Selector/Styles/HTML/Tailwind — One-click copy from element toolbar
- Changes Tracker — Export as CSS, Tailwind classes, AI prompt, or CSS file
- Design Tokens — Extract page colors, fonts, spacing, radii, shadows as CSS/Tailwind/JSON
Analyze & Audit
- Accessibility Checker — WCAG contrast, ARIA, headings, touch targets, focus indicators, alt text
- Pseudo-State Inspector — View :hover/:focus/:active style diffs, force pseudo-states
- Eye Dropper — Screenshot-based color picker with HEX/RGB/HSL display
- Font Inspector — WhatFont-style hover to identify fonts, click to pin for comparison
- Color Palette — Extract all colors from element tree (text, bg, border, shadow)
- Page Overview — Scan all colors and fonts used across the page
- Asset Extractor — Find all images, SVGs, videos, background images with download/copy
Preview & Compare
- Responsive Preview — Mobile/tablet/desktop viewport width overlay
- Design Comparison — Upload design mockup, overlay on page, crop and analyze
- Isolate Mode — Dim everything except the selected element
AI & Integration
- AI Prompt Generation — 5 prompt types (fix-styles, match-design, responsive, accessibility, general)
- MCP Bridge — Connect to MCP server for automated fix generation and code application
- Cursor IDE Workflow — Copy prompts optimized for Cursor AI agent
Navigation & UI
- Floating Toolbar — Draggable, collapsible dark glassmorphism toolbar with all tools
- Popup Page — Quick-start from toolbar icon with feature grid
- Side Panel — Full inspector with AI tab, DOM tree, and settings
- DOM Tree — Interactive tree with search, hover-to-highlight, click-to-select
- Breadcrumb — Navigate up the DOM via parent tag clicks
- Shortcuts Overlay — Press ? for complete keyboard shortcuts reference
- Draw/Annotate — Freehand, rectangle, circle, arrow, text annotations with export
- Onboarding — Welcome hint on first use with quick-start tips
Installation
From source (development)
Build the extension
pnpm --filter @ui-inspect/extension buildLoad in Chrome
- Open
chrome://extensions/ - Enable Developer mode (top right)
- Click Load unpacked
- Select
apps/extension/build/chrome-mv3-prod
Verify
Click the UI Inspect icon in the toolbar. The popup shows all available tools and a button to start inspecting.
Development mode
For hot-reload during development:
pnpm --filter @ui-inspect/extension devThe extension uses the Plasmo framework with Manifest V3. Hot reload works automatically during development.
Architecture
| Component | File | Description |
|---|---|---|
| Popup | popup.tsx | Toolbar icon click — quick-start and feature grid |
| Side Panel | sidepanel.tsx | Full inspector with AI tab, DOM tree, settings |
| Content Script | content.tsx | Injected into pages — orchestrates all 30 features |
| Background | background.ts | Screenshot capture, message routing |
Feature modules (30)
accessibility, ai-bridge, asset-extractor, breadcrumb, changes-tracker,
comparison, css-editor, design-tokens, diff, distance, dom-tree, draw,
element-manipulator, element-toolbar, eye-dropper, font-inspector,
inspector, isolate, layout-visualizer, onboarding, outline, page-overview,
panel, pseudo-states, responsive, rulers, shortcuts, spacing,
text-editor, widgetKeyboard Shortcuts
| Shortcut | Action |
|---|---|
Hold Ctrl | Activate element picker |
Esc | Layered dismiss (draw → font → dropper → panel → element → picker) |
D | Toggle draw/annotate mode |
E | Toggle eye dropper |
F | Toggle font inspector |
R | Toggle rulers & guides |
O | Toggle element outlines |
? | Toggle shortcuts overlay |
Ctrl+Z | Undo CSS change |
Ctrl+Shift+Z | Redo CSS change |
| Double-click | Edit text content inline |
Permissions
| Permission | Purpose |
|---|---|
sidePanel | Display extension UI in the side panel |
tabs | Access tab information for screenshot targeting |
activeTab | Capture screenshots of the active tab |
scripting | Inject content scripts |
clipboardWrite | Copy selectors, styles, prompts to clipboard |
storage | Persist onboarding state and settings |
<all_urls> | Inspect elements on any page |
http://localhost:3000/* | Connect to the MCP server |
http://localhost:3002/* | Connect to the web app |