Count Layers
<p>This is a small plugin that counts layers in a selection and specifies how many of them are selected directly (so-called top-level elements) or entirely hidden.</p><p><br></p><p>This information can be useful in the process of optimising the file and creating scalable and performant design system.</p><p><br></p><p>Another potentially useful feature of this plugin is that it logs to the console how many layers of different kinds are presented in the selection. In practice, it looks something like this (see the <code>types</code> property):</p><p><br></p><pre class="ql-syntax" spellcheck="false">{ "total": 298, "hidden": 32, "topLevel": 47, "types": { "RECTANGLE": 71, "COMPONENT": 2, "TEXT": 50, "INSTANCE": 24, "GROUP": 21, "FRAME": 73, "VECTOR": 51, "ELLIPSE": 6 } } </pre><p><br></p><p>This information is rarely needed but can be useful in some cases.</p><p><br></p>
Plugin Preview
About this plugin
This is a small plugin that counts layers in a selection and specifies how many of them are selected directly (so-called top-level elements) or entirely hidden.
This information can be useful in the process of optimising the file and creating scalable and performant design system.
Another potentially useful feature of this plugin is that it logs to the console how many layers of different kinds are presented in the selection. In practice, it looks something like this (see the types
property):
{ "total": 298, "hidden": 32, "topLevel": 47, "types": { "RECTANGLE": 71, "COMPONENT": 2, "TEXT": 50, "INSTANCE": 24, "GROUP": 21, "FRAME": 73, "VECTOR": 51, "ELLIPSE": 6 } }
This information is rarely needed but can be useful in some cases.
Plugin Details
Version | 2 |
---|---|
Created | October 21, 2020 |
Last Updated | April 9, 2022 |
Category | Software development |
Creator | Misha Goncharov |
Stats | 2631 installs, 34 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- main:dist/index.js
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.