How to Swap Icons in Figma

  Рет қаралды 60,685

Coding in Public

Coding in Public

Күн бұрын

Пікірлер: 51
@studiokaralis3622
@studiokaralis3622 Жыл бұрын
Straight to the point. No time wasted. Really enjoyed the video - thanks!
@CodinginPublic
@CodinginPublic Жыл бұрын
Wonderful! Thanks for saying something!
@skm2809
@skm2809 3 ай бұрын
Watched 1st time = Quite confusing. Watched 2nd time = Quite easy to understand. Thanks for this.!
@AmeliaPrasad
@AmeliaPrasad 7 ай бұрын
Thank you so much!! Figma's tutorials didn't really include this with their component properties, so this is really helpful!!!
@CodinginPublic
@CodinginPublic 7 ай бұрын
Glad it was helpful!
@ThanujSKashyap
@ThanujSKashyap 9 күн бұрын
Great Tutorial All the best keep up the good work.
@CodinginPublic
@CodinginPublic 9 күн бұрын
Glad you liked it!
@kadekeqw23
@kadekeqw23 9 ай бұрын
EXACTLY WHAT I NEEDED, THANK YOU!
@CodinginPublic
@CodinginPublic 9 ай бұрын
You’re welcome!
@grafitica6794
@grafitica6794 5 ай бұрын
First time I see a video in which no time is wasted and is far from egocentric. Hope to see more useful tutorials. Thanks!
@Cloe-l6d
@Cloe-l6d 11 ай бұрын
HI! Thanks for the video. I have a quick question. on 2:19, how the frame changed its size when you start to type text?
@freefaler
@freefaler 11 ай бұрын
Create Frame > Auto layout > choose the text tool > click inside and start typing ... This will create a new frame and when you make it autolayout it will resize to the text.
@sophiemulders
@sophiemulders 7 ай бұрын
on the badge component you can add the nested component properties, so all the properties are visible on the main component. ( this was probably not yet possible when this video was made)
@CodinginPublic
@CodinginPublic 7 ай бұрын
Yes! Love the nested access we have now!
@EmHuHuHu
@EmHuHuHu Жыл бұрын
at 03:50 what did you do to duplicate a new button and made it toggable? why I couldn't replicate it on my end?
@CodinginPublic
@CodinginPublic Жыл бұрын
Hold option (macOS) or alt (Windows) and click and drag! Sorry if that wasn't clear.
@joshuasiegal
@joshuasiegal 8 ай бұрын
Great tutorial, thank you!
@CodinginPublic
@CodinginPublic 8 ай бұрын
You're very welcome!
@Atractiondj
@Atractiondj 3 ай бұрын
how about for different icon size with different stroke size?
@circle4106
@circle4106 7 ай бұрын
Absolutely helpful!
@CodinginPublic
@CodinginPublic 7 ай бұрын
Glad it was helpful!
@ancartprinlack2858
@ancartprinlack2858 Жыл бұрын
Thank you very much. Very well explained, just that when I create the prototype, the color change doesn't work properly and it reverts to the main icon. If someone can help me with that, I would greatly appreciate it.
@lcsbrg
@lcsbrg 11 ай бұрын
Thanks! That´s good! What if I have different aspect ratios for Icons and as instances, I want that they preserve these aspect ratios "locking" only the height but with a dynamic width (to maintain the aspect ratio)?
@CodinginPublic
@CodinginPublic 10 ай бұрын
You're welcome! I'm not sure you can do this? But I'm no Figma expert, but let me know if you figure it out.
@LordKamephis
@LordKamephis 8 ай бұрын
I figured it out. You have to use nested auto layouts, both in the single icon components, then in the image swap variant components and in the image swap icon instance compoent too. Set it to center with 0 margins. Now you're able to swap the instance and the aspect ratio as well as the frame border adjusts to the icon. Doen't matter if the with is different.
@lcsbrg
@lcsbrg 7 ай бұрын
@@LordKamephis Let me try that! Sorry for being late, I was having a break from YT. :) I answer you here.
@peter.wiltfang
@peter.wiltfang 10 ай бұрын
Hello there, thanks for this! But I still can't make it work to have like three different icons sizes. What would be a ideal instance swap setup for icon size change? Cheers!
@CodinginPublic
@CodinginPublic 10 ай бұрын
I'd set this up where the icons are all in a component set and have the instance swap on that set to switch between sizes. Then when you pull the icons into another component, you can have an additional instance swap to switch out between different kinds of icons. Does that make sense?
@cmkaniak
@cmkaniak 3 ай бұрын
@@CodinginPublic Do you mean that every "base" icon type - "base" meaning those icons that are referenced by a separate component like your "Badge icon" - needs to be made into a component set with variants for each size (just as you did to create light and dark mode icons)? Or do you mean that all base icons should be made into ONE component set? e.g., If I have 100 icons, should I create 100 component sets containing size variants for each icon type, or ONE component set containing all 100 base icons?
@JessicaHord-x8m
@JessicaHord-x8m Жыл бұрын
Have you been able to figure out the bug? I have been having the same issue with the icons that you had at the end and it messes with prototyping on large scale design systems
@CodinginPublic
@CodinginPublic Жыл бұрын
I don't know that I have a better solution than I presented here. I am curious if the new variables would help with this though? I need to apply that knowledge here. If I do, I'll be sure to update with a new video.
@Dimonov19
@Dimonov19 Жыл бұрын
Hey! Thanks for the video! I have question, is it possible to accept this approach to switch between 3 type of icons like outline, filled and doutone? I'm playing with it but can't reach the result
@CodinginPublic
@CodinginPublic Жыл бұрын
Not quite as directly as you’re thinking, I think. I’d make all the versions as separate components and then using the instance swap switch between them all. Does that make sense?
@ahzootube
@ahzootube 6 ай бұрын
How about size variants? I am using tabler icons so they are vectors and resizing wont work
@MadanPatil
@MadanPatil Жыл бұрын
Thanks for the help sir, god bless you!
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad it was a help!
@icugab
@icugab 3 ай бұрын
I was wondering if you have anything that explains ICON WRAPPERS, what they are, and if you think they are still helpful even with the updates to Figma? I've seen people use them for managing icons and icon sizes. Thank you so very much for your video. Super helpful!
@Sponsi_PL
@Sponsi_PL 2 ай бұрын
Figma an amazing tool... OMFG...
@risco_zero
@risco_zero Жыл бұрын
It would be about creating a component with an icon that has variants that can be changed in use. And not about an explanation of a specific business logic (dark/light). Very long video and I didn't get what I expected.
@CodinginPublic
@CodinginPublic Жыл бұрын
Sorry you didn’t enjoy the video. Thanks for the feedback.
@sergeivaskov
@sergeivaskov Жыл бұрын
Unfortunately, this approach is not applicable for large design systems
@CodinginPublic
@CodinginPublic Жыл бұрын
How do you think variables will help build our more complex design systems? I've yet to do anything besides play with them, but they seem very promising. Not obviously for this use case, but still a big leap; just wondering if they introduce too much complexity?
@mr94KI
@mr94KI Ай бұрын
Not really scalable, if you need to jump in every icon and select the dark mode every time. The tutorial is well done but I would review it in scalability using the colour preservation as explained by Figma kzbin.info/www/bejne/b2nYoKmInpikg7s so you don't have to create multiple instances of the icon components.
@lostghoststudios
@lostghoststudios 2 ай бұрын
Didn't help
@Novaliz78
@Novaliz78 Жыл бұрын
For a beginner its too fast and too chaotic.
@CodinginPublic
@CodinginPublic Жыл бұрын
Hey, sorry it wasn't great pacing for you. It's hard to know how to pace videos. You may find this introduction a little easier to follow? kzbin.info/www/bejne/kGSsn2tvpdZrrpY
@lindsey6170
@lindsey6170 Жыл бұрын
You can change the playback speed to be slower
@jelenasrdic9061
@jelenasrdic9061 Жыл бұрын
Hey @@CodinginPublic , I've noticed you didn't use "Badge Icon" in this video from 2022. Why not and what's the difference?
@CodinginPublic
@CodinginPublic Жыл бұрын
not sure I understand your question here@@jelenasrdic9061? Mind asking another way?
@Design_think
@Design_think Жыл бұрын
helpful thanks
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad it helped!
Instance Swapping & Nested Icons in Figma
5:29
SansSarahif
Рет қаралды 2,9 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Figma Design System: 12.Button Components
19:49
Christopher Deane
Рет қаралды 1,6 М.
How to Build a Figma Icon Library (3 different ways!)
12:13
BromDoesDesign
Рет қаралды 12 М.
Master Figma Variants | The Complete Guide (2024)
22:00
DesignWithArash
Рет қаралды 229 М.
Master Figma Component Properties (Complete Tutorial)
20:02
Boroji Design Inc.
Рет қаралды 14 М.
Icon Variables + more! | Master Figma Icons
19:08
UI Collective
Рет қаралды 6 М.
Reduce Prototypes by 50% (Simple trick) | Figma Tutorial
5:41
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН