Skip to main content
Question

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

  • January 14, 2025
  • 3 replies
  • 49 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.

3 replies

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

you have to use the Select Similar plugin


Dennis_N
  • Power Member
  • 181 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.


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