📜 ⬆️ ⬇️

My way to create master components in Figum

I noticed that many product designers ask themselves the question “How to organize different states of components?”. The whole design world is divided into 2 parts. The first make one component, in which several folders for all states. The latter make for each state of the element a separate component.

First, I will analyze the advantages and disadvantages of each of them, and then I would venture to suggest another option. I talk about the implementation in Figm. Perhaps in other editors something is not applicable.

1. One component with multiple states


image
')

Benefits



disadvantages




2. Many components for each of the states




Benefits



disadvantages




3. What I offer


Everyone knows about atomic design , it makes no sense to talk about it. I will only pay attention to the fact that many interface elements are similar. For example, input, select, button, menu bar can be made on the same principle: rectangle + text + icon. In this case, we can make a component that consists of these basic elements and build the rest of the components on the basis of it: buttons, inputs and everything else. Just came up with a name for this element "Top Component". That is, the master components of the button, input, select and even the menu bar will consist of the top component.



Benefits:



Features (I would not call it flaws):



My proposal closes the question raised at the beginning only partially. So how do you draw element states? It does not work for the input and the button to make the same states. Here I can offer the following:

Source: https://habr.com/ru/post/445764/


All Articles