Swapping Variants Using Variables | A Figma Tutorial

  Рет қаралды 12,175

UI Collective

UI Collective

Күн бұрын

Пікірлер: 52
@BhuvanaNarayanamurthy-rb3mi
@BhuvanaNarayanamurthy-rb3mi Ай бұрын
Very clear explanation! Thank you! I landed on your tutorial after looking through a bunch of others.
@UICollectiveDesign
@UICollectiveDesign Ай бұрын
Thanks!! Please subscribe and share where you can :)
@SoulaORyvall
@SoulaORyvall 11 ай бұрын
I would suggest setting the name of the variables to semantically match the options. So "Starting Active/Inactive" in this case would become "Notifications Yes/No". At 5:45 the action would read: "Set variable 'Notifications Yes' to inactive", which is much easier to maintain
@UICollectiveDesign
@UICollectiveDesign 11 ай бұрын
Great idea! Appreciate the dialogue :)
@Shteuf
@Shteuf Жыл бұрын
Excellent, scrolling through a dozen videos: those with logic made it even more complex than the ones without. Your take is brilliant, well done! Following your channel now, you've got awesome design tips, and you're very clear. Kudos to you sir!
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Appreciate the love! Lots more videos on the way :)
@suniljadhav1889
@suniljadhav1889 11 ай бұрын
Its true.......Nice series.....Thanx
@UICollectiveDesign
@UICollectiveDesign 11 ай бұрын
No problem! Happy you liked them. Please subscribe and share our channel!@@suniljadhav1889
@mirkocaccia9388
@mirkocaccia9388 9 ай бұрын
Thanks for the video!! I think in this case you don't need the second mode variables (Mode 2), if you delete them it should still work.
@UICollectiveDesign
@UICollectiveDesign 9 ай бұрын
Great call out!
@SoulaORyvall
@SoulaORyvall 11 ай бұрын
Around 2:22, I believe the issue isn't that the component instance is inside a frame, but it's the fact that it's inside another instance (of another component) named Form
@UICollectiveDesign
@UICollectiveDesign 11 ай бұрын
Great call out!
@Underhills
@Underhills Жыл бұрын
When prototyping that way the radio label is excluded from the hit area, common UX practice is to include the radio label as trigger.
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Great call out! Lots of different ways to build components.
@chrisronan
@chrisronan 10 ай бұрын
You guys are really good! Appreciate the videos very much. Going to get in touch with you through your channels.
@UICollectiveDesign
@UICollectiveDesign 10 ай бұрын
Thanks!! Please subscribe and share our channel where you can :) & Sweet - Looking forward to the convo!
@djashawe88923
@djashawe88923 Жыл бұрын
Thanks a lot for the tutorial. I tried to do a radio button exercise with 4 multiple choices and it was kind of hard. Although variables are created to reduce the number of variants, due to Figma's limited capabilities, I find that it's just easier to create all possible variants, assign a string variable that matches with one of the variants, use "set variable" to go from variant A to variant B upon clicking.
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Good call out! Variables could definitley be improved on
@AmirNoyman
@AmirNoyman 7 ай бұрын
Is there any way to act on multiple options, such as a color picker? with swatchs? Choosing one color out of 12 options...
@UICollectiveDesign
@UICollectiveDesign 7 ай бұрын
Can you elaborate on the scenario?
@MCbyGracjan
@MCbyGracjan 8 ай бұрын
I would like to do this based on the game inventory checkbox. There are five images, each has a state before clicking and after clicking . How do I create so that the selected image takes the post-click state, and the previously selected image turns into the pre-click state?
@UICollectiveDesign
@UICollectiveDesign 7 ай бұрын
Sorry, can you elaborate on this one?
@benjamincranwell
@benjamincranwell Жыл бұрын
Brilliant video
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Appreciate it!
@uxdworld
@uxdworld Жыл бұрын
Great info, thanks 👏
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Glad you liked it!
@ytRap007
@ytRap007 Жыл бұрын
thanks this is very helpful.
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Glad it helped!
@guillaumegoulet1480
@guillaumegoulet1480 Жыл бұрын
The issue I'm facing is that when adding the component inside another component, the variable for the state gets removed. Any suggestions?
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Join our slack channel and I can help you troubleshoot!
@IvanZburlyuk
@IvanZburlyuk Жыл бұрын
You're a genius!!!
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
haha thanks!
@whennn
@whennn Жыл бұрын
Nice !!!
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Thanks!!
@ossimatasaho5977
@ossimatasaho5977 Жыл бұрын
Could you do dropwdown lists that swap variant based on selection of another dropdown list?
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
This should definitley be possible!
@ossimatasaho5977
@ossimatasaho5977 Жыл бұрын
@@UICollectiveDesign Any tips for it? Haven't figured it out.
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Let me try to recreate it and get back to you
@ossimatasaho5977
@ossimatasaho5977 Жыл бұрын
thanks👌
@AjayJaiswal-p4e
@AjayJaiswal-p4e Жыл бұрын
@@ossimatasaho5977 @UICollectiveDesign, if you looking for chnage in the value of the dropdown then it is easily possible by using string variable. Define string variable first and then assign it to the first value from the list of dropdown and then prototype using set variable and then change to select value. Hope this will help.
@sachinroy11
@sachinroy11 6 ай бұрын
I have created two different variable for it ( i have make two radio button on click only one of them clickable for single time to change its stage )
@UICollectiveDesign
@UICollectiveDesign 6 ай бұрын
Can you elaborate more on the problem you're facing?
@MusabNaveed
@MusabNaveed Жыл бұрын
Cant we just make these two options one component (with two states - x highlighted, y highlighted) instead of linking 2 separate components through variables?
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Also an option!
@marcinukleja
@marcinukleja Жыл бұрын
Do you really need modes to achieve that? Seems like you're just manipulating values of variables; there is always the same mode selected. Or did I miss something?
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Don't necessarily need modes. It's a good variable exercise though.
@MyDigitalHub
@MyDigitalHub Жыл бұрын
Amazing
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Glad you enjoyed!
@Rahul_Lata_
@Rahul_Lata_ Жыл бұрын
i think creating local variables is only for paid figma version ... how can learners do it :( sad
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Variables should be free!
@jjung
@jjung Жыл бұрын
This is unnecessarily complex. There is no reason to use modes and boolean variables make more sense for this use case.
@UICollectiveDesign
@UICollectiveDesign Жыл бұрын
Thanks for the feedback!
Prototyping with Figma Variables - The Ultimate Guide for Beginners!
32:46
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,6 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 37 МЛН
Variants vs variables
15:11
Figma
Рет қаралды 37 М.
How to create a working Accordion in Figma | #uxtrim
17:30
Figma Tips ⚡ - Change variants in prototypes with variables
8:01
Interactive Checkbox Selection Menu with variables in Figma (2023)
20:23
Create Beautiful Things
Рет қаралды 8 М.
Figma Tutorial: Use Figma Variables Like a Pro (+ Practice File)
30:30
DesignWithArash
Рет қаралды 336 М.
Figma Token and Variable Setup: Top Mistakes to Avoid
14:18
UI Collective
Рет қаралды 16 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,6 МЛН