Skip to main content
Question

Is it possible to select all component instances based on a specific component property?

  • January 14, 2025
  • 4 replies
  • 81 views

EduardB

Hello community,

I was wondering if it is possible (either natively or through a plugin some of you may have come across) to select all component instances on a page based on a specific component property?

For example, suppose I have a button component with different "size" variants. One size property is called "desktop" and the other is called "mobile". I want to select only the instances with the "desktop" property.

How would I go about doing this? I couldn't find any specific plugin on my own that could help me do this, so I thought I would ask here since someone else may have come across this specific need and solved it.

4 replies

johntk22
  • New Participant
  • 11 replies
  • January 14, 2025

you have to use the Select Similar plugin


Dennis_N
  • Power Member
  • 186 replies
  • January 14, 2025

I’m curious what’s your goal once you have these components selected.


EduardB
  • Author
  • New Member
  • 1 reply
  • January 14, 2025
Dennis_N wrote:

I’m curious what’s your goal once you have these components selected.

I'm working from an existing comprehensive design system and want to see which specific variants of a component I've used and how often. This is my main use case at the moment, although I can think of others.


Maya4
  • New Participant
  • 6 replies
  • May 23, 2025

I have the same need. I would like to select a certain component with a specific color variant so I can swap it out for a component a different library.

Currently, the “Select Matching Layers” does not discriminate between the various properties of a component/its instance. See below: I am only wanting to select the instances with a yellow arrow, but it selects all arrows. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings