Back to Plugins

Layer Path Selector
Select layers using structural queries and XPath syntax
Plugin Preview
About this plugin
Select layers with the precision of code
Stop endlessly double-clicking to find nested layers. This plugin allows you to select layers based on their name, hierarchy, attributes, and relationships using a syntax similar to XPath.
Perfect for Design Systems management, bulk cleanup, and complex refactoring.
Key Features
- Smart Traversal: Use `/` for direct children and `//` for deep recursive searching.
- Wildcards: Use `*` to match any layer name (e.g., `Table/*/Cell`).
- Attribute Filters: Filter by properties (e.g., `[@visible]`, `[@locked]`, `[@type=TEXT]`).
- Relationship Logic: Select based on parents or ancestors (e.g., `Button[not(ancestor::Card)]`).
Basic examples
Card/Header/Titleselects "Title" inside "Header" inside "Card".App//Iconfinds "Icon" anywhere inside "App".
Advanced examples
Icon[parent::Button]selects Icons only if they are inside a Button.Label[not(ancestor::Form)]finds "orphaned" Labels that aren't inside a Form.
Syntax Cheat Sheet
/Direct Child//Any Descendant*Wildcard (Any Name)[...]Filter / Predicateparent::Check immediate parentancestor::Check any parent up the treenot(...)Invert logic
Support
If you find this tool useful for your workflow, you can support me at: buymeacoffee.com/damienthedesigner
Plugin Details
| Version | 2 |
|---|---|
| Created | January 18, 2026 |
| Last Updated | January 18, 2026 |
| Category | File organization plugins |
| Creator | Damien |
| Stats | 2 installs, 1 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the File organization plugins category.