React component inspection
React Anatomy is a browser extension for understanding how a React page is composed. It adds an Anatomy panel to DevTools that connects what you see on a running page with the components React rendered for it, and separates the page into layers you can explore in 3D.
You can try the interactive example in your browser or follow the steps below to use the extension.
Make your first capture
Section titled “Make your first capture”- Install React Anatomy from the Chrome Web Store or Firefox Add-ons.
- Open the Orbit sample in a new tab. Open DevTools on that tab and choose Anatomy. If DevTools was open during installation, close and reopen it. Look under » if the tab is hidden. The first capture runs automatically.
- Choose Pick on page and click just inside the edge of a project card. Look for ProjectCard in the component tree, then expand its project prop in the inspector.
Prefer a separate inspector window? Click the React Anatomy extension button while viewing Orbit.
No React components to inspect
Section titled “No React components to inspect”The landing page embeds Orbit in an iframe. The extension captures the top-level page, so use the standalone sample in step 2 to inspect Orbit. If the sample works but your app shows this message, check its React DOM version. For a server-rendered app, wait for hydration to finish, then choose Capture page.
The mental model
Section titled “The mental model”Think of the layout diagram you might sketch by hand to understand a screen or explain a change: boxes for regions, nested the way the page is built. Anatomy draws that diagram from the running page. The boxes come from what is on screen; the names, nesting, and inputs come from React.
The panel has three connected views:
- Component tree: the hierarchy React rendered, from the root down to the smallest captured component.
- 3D view: the visible page, split into planes that belong to those components.
- Inspector: the selected component’s live props, size, key, and the chain of components above it.
Selecting a component in one view selects it in the others. When you know what something looks like but not what it is called, pick it directly on the page.
A sample workspace layout in the real extension. The tree and the 3D scene show the same page from two perspectives. Select the image to open it at full size.
Rendered structure, not source structure
Section titled “Rendered structure, not source structure”Anatomy shows the components that rendered for this page, in its current state. That is a different map from your files and imports:
| Anatomy shows | Anatomy does not show |
|---|---|
Function and class components, including memo and forwardRef |
Imports, modules, files, or package dependencies |
| Each rendered instance, with its own key and props | Components that are imported but not rendered right now |
| Props received by the selected component | State, Hooks, and context values as separate inspector fields |
| How components nest at runtime | Where a component is defined in your source |
| Which part of the page each component’s DOM output covers | DOM elements as tree rows (they are the output of components) |
A component rendered three times by a list appears three times. A conditional branch that is not rendered right now does not appear until the page shows it. To see another state — an empty list, an error, a different route — put the page in that state and capture again.
What it is, and what it isn’t
Section titled “What it is, and what it isn’t”React Anatomy is an inspector. It helps you read and explain structure. It does not review code, judge whether a structure is good, open source files, or compare two captures. Those decisions and explanations stay with you, and the guides show manual workflows for them.
Choose a guide
Section titled “Choose a guide”- Understand a page: go from something you see to the component behind it, and follow the data.
- Explain a change: show the structure of your change in a pull request.
- Read generated code: look at what an AI agent actually rendered before you take ownership of it.
For details on the controls, see Layers, focus, and controls and Props inspector.
How it works
Section titled “How it works”The extension reads the running app’s React Fiber tree and captures the visible DOM with computed styles. It builds an explorable scene from those snapshots. It does not require a package in your app, source changes, or React DevTools to be installed.
Inspection runs in your browser. The extension does not upload captures or props to a service. A rendered snapshot may still load images and fonts referenced by the inspected page.
The capture is a reconstruction, not the browser’s exact paint output. React’s private internals and production name minification also affect what can be shown. Read the current limitations for what it can capture today.
