Skip to main content

Enable selecting subfolders when selecting preferred values for an instance swap property


xlc

When I create an instance swap property I have the ability to add preferred values. However I’ve arranged my components (icons) into multiple subfolders. And to my dismay, selecting the top-level folder does not automatically also select subfolders. So now I have to click into each subfolder in order to select its contents. It feels like I’m being punished for being organized.

Request:

  • Please enable the selection of subfolders from the parent folder level (without having to click into it first).
  • Please make the default behavior such that selecting a parent folder also selects all the subfolders and all the contents within it and any other nested subsubfolders and their contents, etc.

3 replies

  • 0 replies
  • October 17, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


Armin_Rouhanian

Continuing the discussion from this link:

While we create a component (like a simple button with an icon) with an instance property, we need to select many components for preferred values all at once. It would be good to have an option to select all components inside one of the items in the following list:

  • Group
  • Section
  • Page
  • Different file
  • Library/part of library

I’m looking forward to get any comments, suggestions, or alternative solutions for this 😃


r_sh
  • Active Member
  • 28 replies
  • May 28, 2025

+1. We are working on a base icon library where all the icons are organized in a very general way.

As an example:

General: icon/general/star, icon/general/heart

Notification: icon/notification/badge, icon/notification/alert

System: icon/system/settings, icon/system/calendar

 

We would like to be able to make a secondary organization of the icons for a specific product, and access that using Preferred Instances.

As part of this, we are making sets of icon Instances in Sections. In this case, I might need a set of icons called “Control Menu” which uses the star, heart, badge, alert, settings gear, and calendar. This “Control Menu” is like a sticker sheet so that designers and developers have a clear visual reference to the icons allowed to go here. Any button or other component that needs access to the “Control Menu” icons set will use Preferred Instances.

 

We would like to be able to make an Instance Swap property for a component and to have the option to select Preferred Instance values from that “Control Menu” Section-- instead of going to the Preferred Instance settings and manually selecting each relevant icon from “General”, “Notification”, and “System” every time that we make a component which uses the Control Menu icon options.

This is easier to do if we make a Component Set with Variants, and each Variant is an Instance from the icon library, but Variants do not offer the same type of granular control and flexibility that Instance Swaps with Preferred Instance values do. Instance Swapping allows our overrides such as color and size to preserve.


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