Description
Salesforce retired the Lightning Inspector extension in February 2024, leaving developers without a way to identify which Lightning Web Component owns a given element on the page. LWC Lens fills that gap.
Hover over any element on a Salesforce Lightning page and instantly see:
- Which LWC component owns it
- The component's tag name and namespace
- Its position in the component hierarchy
Key features:
Hover-to-inspect — Activate with Ctrl+Shift+L (Cmd+Shift+L on Mac) or via the toolbar popup. Hover over any element to see a color-coded highlight overlay with the component name in a tooltip.
Component tree — Open Chrome DevTools and navigate to the LWC Lens panel to see a full, searchable tree of every LWC component on the page. Click any node to highlight it on the page, or hover on the page to highlight the corresponding tree node.
Copy with right-click — Right-click any element while LWC Lens is active to copy the component name, tag name, or full component path directly to your clipboard.
Color-coded namespaces — Custom components (c-*) are highlighted in blue, Salesforce base components (lightning-*) in orange, and other custom elements in purple, so you can quickly distinguish component origins.
Works everywhere Salesforce does — Supports Lightning Experience, Experience Cloud sites, Visualforce pages with embedded LWC, and localhost development. Handles native shadow DOM, synthetic shadow DOM, Lightning Web Security (LWS), and Locker Service.
Zero overhead when off — No event listeners, no DOM observers, and no retained references when the extension is inactive. When active, hover detection is debounced to stay within a 60fps budget.
Built for Salesforce developers who need to understand page structure, debug component boundaries, or trace which custom component renders a specific element — without digging through the Elements panel.
Reviews
Loading reviews...
Permissions (4)
Permissions
activeTabℹ Can access the current tab when you click the extension clipboardWriteℹ Can write to your clipboard contextMenusℹ Can add items to the right-click menu storageℹ Can store data locally in your browser
Details
| Version | 1.0.0 |
| Updated | Feb 15, 2026 |
| Size | 34.6KiB |
| First Seen | Mar 29, 2026 |
Popular in developer
GoFullPage - Full Page Screen Capture
by GoFullPage
10M
★ 4.89
developer
10M
★ 4.89
developer
TouchEn PC보안 확장
by 라온시큐어
8M
★ 1.33
developer
8M
★ 1.33
developer
React Developer Tools
by Meta
5M
★ 3.95
developer
5M
★ 3.95
developer
Meta Pixel Helper
by Meta
4M
★ 3.91
developer
4M
★ 3.91
developer
WhatFont
by Chengyin Liu
3M
★ 4.01
developer
3M
★ 4.01
developer
Popular Extensions
Adobe Acrobat: PDF edit, convert, sign tools
by Adobe Inc.
331M
★ 4.40
workflow
331M
★ 4.40
workflow
Grammarly: AI Writing Assistant and Grammar Checker App
by Grammarly
42M
★ 4.50
communication
42M
★ 4.50
communication
Chrome Remote Desktop
by Chrome Remote Desktop Release Managers
38M
★ 3.14
workflow
38M
★ 3.14
workflow
Microsoft Single Sign On
by Microsoft
36M
★ 2.27
workflow
36M
★ 2.27
workflow
Cisco Webex Extension
by cisco.chromestore
23M
★ 2.34
social
23M
★ 2.34
social