Back to Plugins

Name Layers
Rename Frames Automatically
documentationlayersauto layoutlayer namerename
Plugin Preview
About this plugin
This plugin automatically renames layers based on predefined naming conventions.
Select frames and rectangles, then run the plugin from the menu.
Menu:
- Set Names: Rename frame and rectangle layers based on the naming conventions (excluding those with unique names).
- Reset Names: Reset renamed frames and rectangles to default names without numbers (excluding those with unique names).
- Reset All Frames and Rectangles: Reset all frames and rectangles to default names without numbers.
- Add Suffix: Add size or date suffixes to the names of selected frame layers.
- Remove Suffix: Remove suffixes from the names of selected frame layers.
- Override Naming with Local Variables: Replace naming labels with local variables.
Naming Conventions:
You can change the value of a variable to any name.
To skip renaming, comment out the value using /* */ or delete the variable.
Layout
- root: 'wrapper' // A frame located under a page or section.
- container: 'container' // A frame with a max-width that is centered.
- grid: 'grid' // A frame with a horizontal layout and children of the same width.
- cell: 'cell' // Frames of the same width within a horizontal layout.
- row: 'row' // A frame within a horizontal layout that is also horizontal.
- col: 'col' // A frame within a horizontal layout that is also vertical.
- center: 'center' // A frame that aligns items to the center.
- verticalLayout: 'stack' // A frame with a vertical layout.
- horizontalLayout: 'flex' // A frame with a horizontal layout.
- wrap: 'wrap' // A frame with a horizontal layout and wrapping.
- space: 'space' // An empty frame.
- image: 'image' // A rectangle filled with an image.
- line: 'line' // A frame and rectangle determined by aspect ratio.
- minWidth: 'min' // A frame with a min-width.
- maxWidth: 'max' // A frame with a max-width.
Suffix
- suffix: '_{width}x{height}_{yy}{mm}{dd}' // The parts enclosed in curly braces are variables (width, height, year, month, and day). You can customize the format. For example:
- '-w{width}px-h{height}px' => LayerName-w375px-h640px
- '{yyyy}-{mm}-{dd}' => LayerName 2024-08-31
Plugin Details
Version | 6 |
---|---|
Created | August 6, 2023 |
Last Updated | August 29, 2024 |
Category | File organization plugins |
Creator | 見野 伸太郎 |
Stats | 316 installs, 21 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- main:dist/code.js
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the File organization plugins category.