Component identification for React screenshots. Zero configuration.
npm install pixelprovenanceAdd one line to your app:
import 'pixelprovenance/auto'
// That's it - everything auto-taggednode decode-screenshot.js screenshot.pngOutput:
=== Found 3 components ===
✓ App/Header (component, 25.5%)
src/App.tsx:6-18
✓ App/ActionsPanel (panel, 21.9%)
src/App.tsx:50-66
- Auto-detects components via React internals
- Renders invisible identification markers
- Decoder extracts component paths from screenshots
- Shows exact source file + line numbers
Markers only render in development mode (NODE_ENV === 'development'). Zero production impact.
For more control:
import { DevTag, DevTagRoot } from 'pixelprovenance'
function App() {
return (
<DevTagRoot pageId="DASHBOARD">
<DevTag id="header" type="panel">
<Header />
</DevTag>
</DevTagRoot>
)
}This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).