Scans your workspace and shows your React components and hooks in a dedicated editor panel, grouped by dependency level: the length of the longest chain of internal components each one depends on.
Level 0 — components with no internal project dependencies
Level N — components whose deepest internal dependency is at level N − 1
Usage
Run React Explorer: Open from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
The workspace is analyzed the first time the panel opens; use the ⟳ button to re-analyze after changes.
Views
Board — one column per level. Select a component to highlight what it renders (green) and what renders it (purple).
Hierarchy — top-level components (not rendered by any other component) at the root; expand one to see the components it renders, recursively. Circular references are marked ↻ circular.
Hooks — every custom hook and the components that use it.
Features
Details pane for the selected component: file, level, renders, rendered by, and hooks
Filter by name and an Unused only toggle (components not referenced anywhere)
Follows the active editor: switching files selects that file's component
Double-click a component (or use Open file) to open its source beside the panel
Supports JSX/TSX and modern React syntax; uses your VS Code theme colors
Feedback
If you have suggestions or encounter issues, please open an issue in the repository.