Library components
Is each component, and every component inside it, from the library we agreed on? Copied or detached ones are flagged.
- Checked at
- Every nested level
Figma plugin · Design system
Design System Scanner is a Figma plugin I built in 2026. Select any frame and it shows, layer by layer, what follows the design system and what does not. Then you fix it in the same panel.
The problem
Before the plugin, we checked designs layer by layer, by hand. The Figma plugin we had read only the top layer of a component, not the instances nested deep inside it. Our components hold many components, so one check took most of the day.
Then we migrated to new tokens and text styles. Replacing every old one by hand took even longer. That is why I built this plugin.
Before the plugin
What it automates
The plugin walks every layer of a frame and checks it against the right library. These are the three things we missed most.
Is each component, and every component inside it, from the library we agreed on? Copied or detached ones are flagged.
Finds raw colors where a token should be, and suggests the closest token to swap in.
Finds text set by hand or with an old style, and points to the new style from the migration.
How it connects
We have many illustrations, and they don’t use tokens: they go up to S3 as PNG files. The documentation tags them, so engineers know which layers are illustrations, which need a token and which don’t.
Every frame gets a token score, and we need 100% before work continues. It keeps token mistakes out of handoff and shows we really use the design system.
Impact
We keep scanning our components and screens before they go to engineering, so every team delivers to the same standard.
A teammate owns the design system. When he publishes a new version, we scan to see whether it has reached our components yet.
The thinking
Each rule keeps the result from misleading you.
You list the libraries that count. A real token from any other library is still flagged. That is the point of the list.
The plugin suggests one closest token, or none. If it cannot trace a layer, the layer passes. The score never drops because of something the plugin cannot see.
The score is passing layers out of checked layers. A fix moves a layer from failing to passing. It never changes what was counted, so two scans can be compared.
Excluding a finding is a judgement call, so it is saved with a reason. It stays excluded in later scans and shows in the copied report.
The panel
{{ scShotDesc }}
{{ k.text }}
{{ k.text }}
{{ scSay }}
The build
Figma does not tell a plugin which library a component or a style came from. That one gap shaped much of the design. The plugin asks Figma’s web service instead, with a personal access token that stays on your own computer.
Without a token the plugin still works. It just cannot name the libraries.
01 · Two parts
One part reads the file, looks things up and keeps the score. The other part is the panel you see. They talk only through messages.
02 · Two passes
The scan walks every layer first. Then it loads only the tokens and styles those layers use, once, and checks each layer against them.
03 · Trace
Finding a component’s library takes one lookup over the network. Each answer is kept, so the same component is never asked twice.
04 · Judge
If a lookup fails, the plugin could not ask, so the layer passes. If Figma answers “not found”, the component is listed but never scored.