Rename Layers From Children
by noidwasavailable
A Figma plugin that makes renaming multiple nested layers a breeze.
Installs
9
Likes
3
Users
67
Views
58
Preview
About this plugin
Rename Layers From ChildrenIf you have a complex component or group design (like a card, a list item, or a data row), you can use this plugin to automatically rename the parent layer using the data from its child layers.
Features- Template-Based Renaming: Construct flexible naming templates that pull text or layer names directly from a selection's descendants.- PascalCase Auto-Formatting: Extracted text content is automatically formatted into clean PascalCase formatting to keep your layer names tidy.- History Storage: Automatically remembers the last 5 templates you used in your document, saving time on repetitive renames.
How to UseSelect the root layers you want to rename (e.g., MyCard1, MyCard2).
Run the plugin from Plugins > Development > Rename-Layers-From-Children.
Enter your naming template into the text box.
Click Rename.
The Templating LanguageThe templating language relies on tags formatted as {Layer Name}.property.-{Layer Name} refers to the exact name of the child element you want to target (it must exist somewhere within the selected root layer)..property defines what information to extract from that layer.
Properties.content: Extracts the actual text content of a `TEXT` node and converts it to PascalCase. (e.g. "marauder king" becomes "MarauderKing")..layer: Extracts the name of the layer itself.
ExampleImagine you have a selection of Framed components with the following structure:
MyCard [Frame]- Card Layout [Frame]- Card Cost [Text] -> content is "7"- Card Title [Text] -> content is "marauder king"If you apply the template {Card Cost}.content_{Card Title}.content to your selection, the MyCard frame will be renamed to 7_MarauderKing.
If you apply {Card Cost}.layer, the frame will be renamed to Card Cost.
GitHub Link
More file organization plugins plugins
View allTable Creator
by Gavin McFarland
Easily create tables that can be edited, resized and maintained using your design system
Rename It
by Rodrigo Soares
Clean Document
Paidby Yuan Qing Lim
Automagically organize and clean up your Figma document
Table Generator & Creator
Paidby Appcano
Generate and customize tables in seconds