Back to Plugins
Layer Path Selector

Layer Path Selector

Select layers using structural queries and XPath syntax

Plugin Preview

Layer Path Selector 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

  1. Smart Traversal: Use `/` for direct children and `//` for deep recursive searching.
  2. Wildcards: Use `*` to match any layer name (e.g., `Table/*/Cell`).
  3. Attribute Filters: Filter by properties (e.g., `[@visible]`, `[@locked]`, `[@type=TEXT]`).
  4. Relationship Logic: Select based on parents or ancestors (e.g., `Button[not(ancestor::Card)]`).


Basic examples

  1. Card/Header/Title selects "Title" inside "Header" inside "Card".
  2. App//Icon finds "Icon" anywhere inside "App".


Advanced examples

  1. Icon[parent::Button]selects Icons only if they are inside a Button.
  2. Label[not(ancestor::Form)] finds "orphaned" Labels that aren't inside a Form.


Syntax Cheat Sheet

  1. / Direct Child
  2. // Any Descendant
  3. * Wildcard (Any Name)
  4. [...] Filter / Predicate
  5. parent:: Check immediate parent
  6. ancestor:: Check any parent up the tree
  7. not(...)Invert logic


Support

If you find this tool useful for your workflow, you can support me at: buymeacoffee.com/damienthedesigner

Plugin Details

Version2
CreatedJanuary 18, 2026
Last UpdatedJanuary 18, 2026
CategoryFile organization plugins
CreatorDamien
Stats2 installs, 1 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none