Skip to main content
Question

Managing huge Component Sets


fille1

I’m having trouble managing a collection of icons within a component set. When we use multiple icons as variants, it becomes necessary to categorize them in order to quickly find icons for specific purposes. I attempted to categorize the icons using a single variant as a spacer, which I named the category, such as “Socialmedia.” This method works well if we know the order of the categories before setting up the variants within the component. However, the problem arises when we add a new category after setting up the variants. The idea doesn’t work as intended because the order is not editable.

This topic has been closed for replies.

3 replies

apretov
  • Active Member
  • 42 replies
  • July 13, 2023

Best practice for icons is to make each as independent component and group them in section.


fille1
  • Author
  • New Member
  • 1 reply
  • July 13, 2023

@apretov thanks for your reply. This is a way i know. I dont want to swap instances to change the icon. The main idea was to make it possible to arrange the Variants in the dropdown list. I think this would be also helpful for other purposes like you want a special variant always on top or want to group up the list. My inner monk needs this sometimes 😃


apretov
  • Active Member
  • 42 replies
  • July 14, 2023

yeah, I agree, searchable dropdown is ideal for properties with many variants (like component property).

Btw Managing icons is basically inconvenient, it seems we need a separate object for isolated svgs…


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