Overview
Inspect in SXL Studio: diagnostics, recovery, token bindings, Ghost Heal, Swap, Rebind, Composition Drift, and cross-file variable sync.
What Inspect is
Inspect is the diagnostics and recovery workspace for selected Figma nodes.
Use it when you need to:
- audit token/variable/style bindings on a node tree;
- recover broken or remote instances;
- clean stale mode references (ghost modes/collections);
- compare a component with its Composition JSON and repair drift;
- run variable/style migration between libraries.
Inspect layout
1) Left tree
The left tree shows the current selection hierarchy and status badges:
- node type and node name;
- binding count per node;
- instance link state:
Linked,Remote,Broken; - ghost mode counter
!Nfor unresolved explicit mode references; - composition marker for composition-linked nodes.
Bottom actions in the tree:
- Ghost Heal: opens document repair for ghost modes/variables.
- Swap libs & variables: opens two-column file/page swap flow.
2) Main panel
The main panel shows details for the selected tree node.
Depending on node type and enabled features, sections include:
- Mode Diagnostics: explicit mode references and cleanup actions.
- Composition Tracking:
Linked/Unlinkedstate andRe-linkfor diff-id mapping. - Out of Sync: composition drift summary with
Show DiffandRe-apply. - Instance Recovery: instance state plus
Rebind/Rebind All. - Token Bindings: merged binding list with
OverrideandUnlink.
3) Related flows outside the panel
Some inspect-related actions are adjacent to Inspect:
- Header -> Rebind: quick entry for broken-instance recovery.
- Footer -> Sync modal -> Cross-file Sync: remote file variable compare/apply.
Feature availability
Inspect tools are feature-gated by license:
| Tool | Feature flag |
|---|---|
| Inspect tab core | INSPECT |
| Swap / Swap libs & variables | TOKEN_SWAP |
| Rebind / Rebind All / Create Component | INSTANCE_REBIND |
| Composition Tracking / Drift / Re-apply | COMPOSITION |
If a feature is unavailable, its action is disabled or returns a license notice.
Recommended workflows
| Scenario | Recommended flow |
|---|---|
| Need to understand bindings on an object | Select node in tree -> Token Bindings |
| Broken instance | Instance Recovery -> Rebind |
| Multiple broken children in a selected subtree | Select parent -> Rebind All |
| Duplicate/ghost modes in file | Left tree -> Ghost Heal |
| Migrate library/local variables or styles | Swap (instance flow) or Swap libs & variables (file/page flow) |
| Component differs from Composition JSON | Out of Sync -> Show Diff -> Re-apply |
| Sync variables from another file | Sync modal -> Cross-file Sync |
Figma API notes
- Under
dynamic-pageconstraints, some ghost references can be detected but not fully removed by Plugin API. - Remote component navigation depends on Figma library access and publication state.