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 codeStop 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 FeaturesSmart 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 examplesCard/Header/Title selects "Title" inside "Header" inside "Card".App//Icon finds "Icon" anywhere inside "App".Advanced examplesIcon[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 logicSupportIf 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
Stats3 installs, 2 likes
PricingFree

Technical Details

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