New Figma Components 101: Variants and Component Properties (Boolean, Instance Swap, and Text)

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 308

  • @pedrosanchez5739
    @pedrosanchez5739 2 года назад +23

    exact definition of what i have been searching for , i learned more from your tutorial than the original documentation on figma's site , much love and great appreciation. !

  • @AlexV-wi2wr
    @AlexV-wi2wr 2 года назад +16

    Thank you so much for this extremely informative tutorial! There is no fluff and you get straight to the point. I watched several Figma and LinkedIn Learning tutorials, and I feel that you've explained it way better than they have.

  • @lisatestmann6789
    @lisatestmann6789 2 года назад +16

    Super clear, much better that Figma original videos explain the subject. Thanks a lot!

    • @CodinginPublic
      @CodinginPublic  2 года назад

      So glad it was a help! Thanks for taking the time to say something !

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Awesome! Yeah, I couldn’t understand it, so putting the video together really helped me. Glad to know it was a help to you, too!

    • @ryanjohnson8933
      @ryanjohnson8933 2 года назад

      @Xeno Nautili 100%

    • @CodinginPublic
      @CodinginPublic  2 года назад

      🙌

  • @kelikicheeki3767
    @kelikicheeki3767 2 года назад +3

    As someone who was getting really confused figuring out the Version 2 way of configuring components, this was such a helpful explainer vid. Thank you so much!

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Wonderful! Thanks so much for saying something!

  • @black-purple-dev
    @black-purple-dev Год назад +1

    I've started using Figma a week now, and working with variants was not an easy thing for me + it didn't work form the first time. With this video I was able to achieve what I needed without much effort. Thank you.

  • @bhavyaluthra18
    @bhavyaluthra18 Год назад +2

    Omg,I'm finally able to understand this concept after watching tons of other videos, but through your video I'm able to make it to an end and am so grateful for your video. Keep making such videos ..🥺😌✔

  • @maaznadeem120
    @maaznadeem120 Год назад

    Watched so many videos and nobody has explained it like you! Thank you.

  • @dreirxge
    @dreirxge Год назад +1

    Thank you very much!!! I am learning Figma so that I could create a design plan for my android application. This greatly helped me understand the concepts between variants of component version 1 and 2. Now my workflow is comparably faster from what I started last week. Keep it up!!! I want to support you all the way!!!

    • @CodinginPublic
      @CodinginPublic  Год назад

      So glad it helped! Thanks for saying something!

  • @animedrill
    @animedrill Год назад

    This is pure gold, now I can have some peace. Thank you for sharing.

  • @khaldounal-nuaimi3594
    @khaldounal-nuaimi3594 2 года назад +2

    This is an excellent tutorial that helped me a lot, thanks a ton!

  • @yarosonelizabeth53
    @yarosonelizabeth53 Год назад

    Yoooo
    This was so easy to understand
    Thank you so much!
    I’m sending you a virtual hug right now 😭

    • @CodinginPublic
      @CodinginPublic  Год назад

      You’re welcome 😊 Right back at ya! 🤗

  • @oscarsanzsanchez2123
    @oscarsanzsanchez2123 2 года назад

    Awesome video! Finally someone who explains it in a manner that's easy to understand. Congratulations!

  • @saintpumpkin
    @saintpumpkin 2 года назад

    I've seen different videos on components and this is definitely the best

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      That’s great to hear! So glad it was a help!

  • @Rinacks
    @Rinacks 7 месяцев назад

    very helpful! i've been struggling with component properties for a while

  • @MrIkesimba
    @MrIkesimba 2 года назад +4

    Awesome video, this is one of the few tutorials that clearly explains this needlessly complicated mess that Figma created, and BTW, tip for the Figma developers. STOP CHANGING THE WAY THE PROPERTIES INSPECTOR OPERATES!!!!!! Here it is only 13 days after this tutorial was uploaded and Figma has ALREADY altered the inspector AGAIN, making it difficult to follow.

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      So glad it was a help! Bummed to hear they’ve already changed the inspector again :)

  • @EnesKab
    @EnesKab Год назад

    This is the best and right to the point explanation of Figma components. Thank you !

  • @aqeela.fathima12
    @aqeela.fathima12 Год назад

    You teach so well, one of the best channels here to learn, thank you v v much! Wish I could be your student 😭

  • @preciouswen9608
    @preciouswen9608 Год назад

    I really benefited from this tutorial. It was such a great help. Straight to the point explanation. Thank You

  • @nhadepshouse
    @nhadepshouse 2 года назад +1

    Yo this helped so much and I always appreciate the content and when i found the channel and got the energy from you from the previous video, you've been nothing but real and can vouch for the amazing content and how down to earth you are with everything! All the most love, respect, and appreciation

    • @CodinginPublic
      @CodinginPublic  2 года назад

      So glad to hear they've been a help! And even better that you've enjoyed the channel. Thanks for your kind words!

  • @milimomoonga7758
    @milimomoonga7758 Год назад

    Much much much appreciate this tutorial and effort you put it to make it very concise

  • @jvillaruel9230
    @jvillaruel9230 11 месяцев назад

    The best tutorial so far :) Thank you so much!

  • @mohammedabdulaziz3658
    @mohammedabdulaziz3658 2 года назад

    Great Video with superset clearity. Thanks sir

  • @rastamamka
    @rastamamka Год назад

    Thank you so much! This is the best explanation I've found!

    • @CodinginPublic
      @CodinginPublic  Год назад

      Glad it was helpful! Thanks for taking the time to say something!

  • @another.designer
    @another.designer 2 года назад

    Thanks alot man for clear & concise approach.
    Helped me alot.🙌🙌

  • @craftysapphire6672
    @craftysapphire6672 Год назад

    Really Beautiful and straight forward video. I learned a lot. Thank you very much🙂

  • @julia_ggg
    @julia_ggg Год назад

    This was one of the best tutorials I've ever followed :) Thank you so much for making this, it's so clear and informative! I learnt a lot, now I need to make 100 examples to practice :D

    • @CodinginPublic
      @CodinginPublic  Год назад

      You're so welcome! Thanks for taking the time to say something!

  • @liz.q
    @liz.q Год назад

    Thank you! This is very helpful. I tried learning from bit-size tutorials in Figma channel, but I get confused. You provide more information in this video I was able to recreate it :)

    • @CodinginPublic
      @CodinginPublic  Год назад +1

      Wonderful! So glad it was a help. Thanks for taking the time to say something!

  • @sprioleau
    @sprioleau Год назад

    Amazing! You cleared up a lot for me in this video. I was just working on a component system yesterday, so this was timely. Thanks.

    • @CodinginPublic
      @CodinginPublic  Год назад

      You're welcome! Thanks for saying something!

  • @prasanthmoolethodi3152
    @prasanthmoolethodi3152 4 месяца назад

    Learned a lot!! Thanks for the tutorial 🙂

  • @Jen-hi2tg
    @Jen-hi2tg Год назад

    Thank you so much for this tutorial, your explanations and examples are so clear! Really appreciate it

    • @CodinginPublic
      @CodinginPublic  Год назад

      You're very welcome! Thanks for taking the time to say something!

  • @marilynyballa809
    @marilynyballa809 2 года назад

    Very Informative, helpful and Educational video! Thx for the tutorial man!

  • @harshadrokade201
    @harshadrokade201 2 года назад

    Thanks bro I almost watched all videos but you explained it "smooth as butter" 👍 please make more videos on figma

    • @CodinginPublic
      @CodinginPublic  2 года назад

      🙏That's very kind. Hopefully some more Figma stuff soon! :)

  • @ucheodozie9836
    @ucheodozie9836 Год назад

    Thank you so much this really help me understand components better looking forward to other of you videos

  • @iram694
    @iram694 Год назад

    This was really helpful👏 Very Well explained !

  • @kevinpaul3616
    @kevinpaul3616 Год назад

    Excellent video. Highly recommend this. Better than figma official one for sure. Thank you 😊

  • @geoffreykaranja6125
    @geoffreykaranja6125 2 года назад

    Thank you for the informative tutorial. Really helped me💯

  • @ariellekrebs2421
    @ariellekrebs2421 Год назад

    Vraiment parfait ! Très clair. (very clear, perfect) 👏

  • @michaelmcinerney1425
    @michaelmcinerney1425 8 месяцев назад

    Duuude! This was one of the best tuts i've come across. No BS, straight to the point, thorough and informative! Thanks so much. Keep em coming!

  • @alessandroventuri3194
    @alessandroventuri3194 2 года назад +2

    Love your work!

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      🙏 thanks so much for saying something. Glad it was a help!

  • @karthikeyana35
    @karthikeyana35 2 года назад

    Subscribed just for this video. On point content

  • @laxmanpatil81
    @laxmanpatil81 Год назад

    Nicely explained. Thanks, Man.

  • @adnanktr3030
    @adnanktr3030 Год назад

    Thanks, a lot. this video helped me to learn varients very well.

  • @lydiab6161
    @lydiab6161 2 года назад

    Oh my, thank God for this video. Finally I understand! Thanks so much. Subscribed :)

    • @CodinginPublic
      @CodinginPublic  2 года назад

      That’s why I made the video! I couldn’t find anything that explained it well enough for me to understand! Glad it helped you. Thanks for saying something!

  • @llemnus
    @llemnus 9 месяцев назад

    Super clear, thanks for this!

  • @LavishSainiii
    @LavishSainiii 5 месяцев назад

    I found this today ❤❤ it clear my doubt.

  • @imeuboh7739
    @imeuboh7739 Год назад

    Thanks for the video, it was super helpful

  • @neontuts5637
    @neontuts5637 2 года назад

    Thanks! Chris for making a separate video on components in Figma. It will be crazy if Figma adds a feature to convert those components to library/frameworks like React.js.

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      Thanks so much, Neon! Glad to know you enjoyed it. I'm sure there's some community plugin that does that?

    • @neontuts5637
      @neontuts5637 2 года назад

      @@CodinginPublic Wow this will be a great topic for your next video - How to create and publish a figma community plugin or UI Kit?

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      Well, I’ve never done it 😊

    • @neontuts5637
      @neontuts5637 2 года назад

      @@CodinginPublic Oh! No worries save the idea for a future video.

  • @badcatdesign
    @badcatdesign 2 года назад

    Excellent tutorial, thank you. And also thank you for centering that set of components @11:58 :)

  • @AinaKanatkyzy
    @AinaKanatkyzy 2 года назад

    This was sooooo helpful, thank you!

  • @Xamy-
    @Xamy- 2 года назад

    You make fantastic videos mate, the quality is high, your voice is pleasant, you speak clearly and concisely. Subbed and I wish you success :)
    (This is Kevin Powell tier essentially)

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Thanks so much! Kevin-like is a high compliment! That’s very kind. Thanks for the sub!

  • @travis_saldanha
    @travis_saldanha Год назад

    Amazing tutorial man!

  • @thenameisgolden
    @thenameisgolden Год назад

    This helped a lot! Thank you so much

  • @vitalinastorchak8378
    @vitalinastorchak8378 2 года назад

    thank you so much for the clear presentation! great presenter, subscribe!!🔥🤝

  • @literallyshane4306
    @literallyshane4306 Год назад

    finally understand. thank you, great video

    • @CodinginPublic
      @CodinginPublic  Год назад

      You're welcome! Thanks for saying something!

  • @raoufbn2619
    @raoufbn2619 2 года назад

    You Help me a Lot Big Love From Algeria

  • @NNiranjan1
    @NNiranjan1 2 года назад

    Great video. Very informative

  • @oZenakos
    @oZenakos 2 года назад

    Great video very helpful thanks 🙏

  • @OmarRam
    @OmarRam Год назад

    The best explanation!

  • @YenzSchmidt
    @YenzSchmidt Год назад

    Hello Chris, I was just watching your tutorial on RUclips about creating components with properties in Figma. Well done! And thank you for providing it. At the end of your tutorial 22:43 you change the icon to a kind of Photo icon and it does not completely change to the light color theme. I think when you make a booelan ”union” of all icon elements it will apply the color to all elements. Even though I often encounter another problem with icons and it drives me crazy: I have an icon set in a dark color. I integrate it in a component, but when I want to change the icon with icon swop the original color of the icon comes back. When I try to apply a a white color to the changed icon I often end up appliying colour to the square frame instead of the icon itself. I have to select the icon in the layers and this works but this is far from comfortable. I already considered creating a boolean switch with light / darkmode for all my icons but there must be a different way to avoid this. 🥲I hope you understood what I mean, Greetings and thanks agian, yenz

    • @CodinginPublic
      @CodinginPublic  Год назад

      The only way I've found to do this is to have variants for each of my icons (light and dark ones). And then to toggle them in the nested sidebar settings for the wrapper component. Hopefully that makes sense?

    • @YenzSchmidt
      @YenzSchmidt Год назад

      @@CodinginPublic yes I actually started to create dark and light variants for my Icons and it already paid off. I think this is really a weak point in Figma. So many things are thought extremely well of the team, but handling icons was much better in Sketch 👍🏽

  • @robertbecaria7626
    @robertbecaria7626 2 года назад

    Wow 👍🤝✌️🎉 very profound but you made it easy to understand

  • @AntoniGawlikowski
    @AntoniGawlikowski 2 года назад

    Great tutorial - thanks a ton!

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Glad you enjoyed it! Thanks for saying something!

  • @pandubudikusuma5693
    @pandubudikusuma5693 Год назад

    Thank you thank you thank you! you help me a lot!

  • @mariammariamidze9251
    @mariammariamidze9251 2 года назад

    super clear!!!thanx!

  • @goodworkers4christ
    @goodworkers4christ 2 года назад

    it worked! thank you so much!!

  • @afrooz93
    @afrooz93 2 года назад

    thank you thank you and thank you,finally I get how it works

    • @CodinginPublic
      @CodinginPublic  2 года назад

      That’s why I made the video! I couldn’t find anything that explained it well enough for me to understand! Glad it helped you. Thanks for saying something!

  • @paulguido-g5x
    @paulguido-g5x 10 месяцев назад

    Great tutorial thanks! Quick question....what mode are you in in terms of background etc? When I change the background of my design page to black from the right hand panel then the whites in text for example show up as more of a grey color than true white. I'm not seeing any other options for this setting.

  • @PolinaAndronova
    @PolinaAndronova 9 месяцев назад

    Thank you, that's amazing!👏

  • @ameya822
    @ameya822 2 года назад

    AHH thank you so much for this!

    • @CodinginPublic
      @CodinginPublic  2 года назад

      You’re welcome! Glad it was a help. Thanks for saying something!

  • @nyashachiroro2531
    @nyashachiroro2531 2 года назад

    Man your explanations are so clear. Haha did you take some public speaking course or something? Great video. Thanks 😁

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Thanks so much for the kind words. Glad my explanations are clear! 😊

  • @AdarshYouTube
    @AdarshYouTube 2 года назад

    Thankyou so much chief.

  • @SheisIGA
    @SheisIGA 2 года назад

    Loved the tutorial! I definitely got a better understanding of components & Variants. I kind of hit a wall when I tried dragging the icons into the button. The blue line didn't show up for me, I'm not quite sure what I'm doing wrong there.

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Glad you loved the tutorial, Imani! You’ll need to make sure your button is an auto-layout first before dragging in an icon. If it is an auto layout and you still can’t get it to work, you can always drag the icon in using the left-hand sidebar. Let me know if that doesn’t make sense or if you get stuck!

    • @SheisIGA
      @SheisIGA 2 года назад

      @@CodinginPublic Thank You, I tried again and that worked!

    • @CodinginPublic
      @CodinginPublic  2 года назад

      🙌

  • @heinzart9977
    @heinzart9977 2 года назад

    thank you, this really help me

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Wonderful ! Thanks for saying something!

  • @stormbytes
    @stormbytes Год назад

    Great tutorial. You forgot to add a link to that full Figma course you mentioned.

    • @CodinginPublic
      @CodinginPublic  Год назад +1

      Glad you enjoyed it! It’s in the description, called “Figma for Developers”

    • @stormbytes
      @stormbytes Год назад

      @@CodinginPublic You really are an outstanding instructor. While I could add some polish, for the most part, this free tutorial is better than both courses I bought and paid for (Udemy). Would encourage you to consider creating material for sale, if that's something you contemplate. Great job here.

    • @CodinginPublic
      @CodinginPublic  Год назад

      @@stormbytes That's very kind! I may consider doing paid courses at some point, but I wouldn't want to do it unless I could really up my quality. Currently, I don't know that I have the capacity to do that, but maybe one day!

  • @davidho1258
    @davidho1258 2 года назад

    Damn centering text automatically 😍

  • @arifhossain8753
    @arifhossain8753 Год назад

    It was really a great video

  • @Solika23
    @Solika23 Год назад

    Awesome!!! Is there a way to connect those hover states and toggles to another button? How would you make a "cart" where you can add items and it will update in the summary?

    • @CodinginPublic
      @CodinginPublic  Год назад

      Hmm…I don't know how to do that in Figma? It might be possible though? Not sure :) Sorry! If it was possible, it'd be in the prototyping settings. You'd hook up add to cart buttons in your design to the cart and wire up a change in the number based on the button you click?

  • @ajakayejoshua9886
    @ajakayejoshua9886 Год назад

    Thank you very much for this video, I was previously doing an outdated method, this is a time saver but I have one question. if you prototype one button to another and used it on one frame instead of connecting two frames, would it work or affect the settings?

    • @CodinginPublic
      @CodinginPublic  Год назад

      So glad it was a big help! Yes, so I'd just hook up the prototypes on the actual components you create and then all their instances should pick that up. Hope that makes sense.

  • @AlisterDiaz
    @AlisterDiaz Год назад

    I love this video!!

  • @alokranjanoraon7336
    @alokranjanoraon7336 2 месяца назад

    great tutorial

  • @etc115
    @etc115 7 месяцев назад

    Say I have 3 button sizes and want the icons to adhere to the different icons sizes in the different buttons. What can I do?

  • @salad5701
    @salad5701 9 месяцев назад

    amazing tutorial! very helpful.
    but quick question. what if i wanted to prototype a hover animation for multiple of those buttons while having the text/icon color change? what would be the most efficient way of going about doing that?

    • @CodinginPublic
      @CodinginPublic  9 месяцев назад

      You could just set up different variants and then set up prototype hover effects. Is that what you're asking?

  • @sakuyadaisukidayo
    @sakuyadaisukidayo 2 года назад

    Thank you very much🥹❤️❤️

  • @soyrovot5298
    @soyrovot5298 Год назад

    I love Figma, I got a well paid job thanks to figma

  • @Underhills
    @Underhills 2 года назад

    Great tutorial. Thanks for sharing! How do you delete a state name? Not change but delete from the variant property section? All I'm able to do is change the stacking order of them and/or change the name. I'm all up to date with latest version. Keep'em coming 👍

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Glad you enjoyed it! Just make sure you've selected the component (not a variant, but the whole component with the dashed purple border) and right-click the property in the right-hand sidebar. You can delete it from that popup menu.

    • @Underhills
      @Underhills 2 года назад

      @@CodinginPublic Thanks, I didn't know that and that will come in handy. But I was referring to state name, not property name. For instance, if I have a button and I have named a state within a property named Type for Hover, then how do I delete the name Hover from the property section? Is deleting the actual component related to the state name the only way?

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      @@Underhills AH! It will automatically remove itself when no components in the component set have that as the set state. Does that make sense?

    • @Underhills
      @Underhills 2 года назад

      @@CodinginPublic Yeah, makes sense. But I actually didn't have any component with that state. Figma seems a bit unstable sometimes.

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Weird!

  • @tosinajayi7510
    @tosinajayi7510 Год назад

    Thank you!!!!

  • @Underhills
    @Underhills 2 года назад

    Thanks for showing us the swap feature, I must say your the first one explaining that in a sensible manner. I think I get it. But the the swap menu shows other components that are on the same Figma page in my button demo, does this mean that this button component set needs to be living in a solo section without anything else on that page in order to just show the icons that are prepared like you showed? Seems like it cause when I use the asset panel to get my button demo component to place in a separate page the same 7 components are available in the swap icon menu. I just wanna have the prepared set of 4 icons there, not those 3 other components.

    • @CodinginPublic
      @CodinginPublic  2 года назад

      I think they've pushed an update since my video that allows you to choose how the swap feature works (need to still look into that), but you should be able to place all the icons in a single frame. Just make sure all those icons are individual components. Then when you add an instance of one of those components to your button (or whatever you’re building), swapping will naturally select all the other icons on your board in the swap menu. Hopefully that makes sense.

  • @AzonDesigns
    @AzonDesigns 2 года назад

    Such a great tutorial! One thing, how did you fix the colour issue with the icon at the end? where only some of it gets coloured I think due to different amount of vector layers in icon frames?

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Glad you enjoyed it! I think I just created variations of the icon components-one dark and one light. Does that make sense?

  • @deipty222
    @deipty222 Год назад +1

    if anyone can answer - @16:52 , how was he able to simply option drag the icon component into the button component? Mine refuses. I have to detach the button component to add the icon next to the text and create the button component again. Please help!

    • @CodinginPublic
      @CodinginPublic  Год назад

      I Believe you have to command click and drag?

    • @deipty222
      @deipty222 Год назад +1

      Thank you works now!@@CodinginPublic

    • @papagooseonline
      @papagooseonline Год назад

      Hello I had exactly the same problem, he said "hold down the Option key and drag to create the instance of the component". On Windows that's Alt+drag. It just didn't work. What solved the problem was deleting all that I have done and starting the tutorial from scratch. I remade the buttons and when I came to 16:52 I Alt+dragged the icon component into the button and it magically worked. I don't know if I've missed some step or what, but redoing it worked for me.

    • @deipty222
      @deipty222 Год назад +1

      I use a Mac and i followed option drag like he said and it didnt work first. I resized the icons and then it magically worked for me too! 😀@@papagooseonline

    • @papagooseonline
      @papagooseonline Год назад

      I'm glad that you got it working too!@@deipty222

  • @tori2040
    @tori2040 2 года назад

    thanks very helpful. just want to comment on 2 things. when you create a frame and turn it into auto layout then put text in it, the width and the height have to be set to hug so frame resizes with the text size. other issue that i noticed was with the icons. when i made an instance and dragged it to the button it would lay on top, so i needed to go to the layers tree and drag it into the location where i wanted. this was annoying so if i missing something would appreciate clarification.

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      Glad it was a help! Yes, so when I typically want to add text to a frame (like for a button), I create the text first and then turn that text frame into an autolayout. I think that automatically makes it set to hug? But either way, yes, you're correct. For layering, you can use the [ and the ] buttons in your keyboard to move things up and down. I think perhaps it's shift + ] or something to move all the way? You can use the command palette and search for "send to front" or something. Does that help?

  • @emirece1873
    @emirece1873 Год назад

    Thank you for the tutorial. When using Instance Swap Property, the replaced new icon is disorted in a way as if it tries to fill the container of the old icon. Is there a way for the replaced icon to come by maintaining its original size?

    • @CodinginPublic
      @CodinginPublic  Год назад

      You’re welcome! Hmm, if I think I'm understanding you … you could set the same fixed height/width on all the items you’re instance swapping?

  • @renise27
    @renise27 Год назад

    In minute 7:16 how are you getting that detach/broken link option? My panel looks like a regular Fill section and the broken link does not appear. Using the shortcut Command B to detach it changes the formating of the button.

    • @CodinginPublic
      @CodinginPublic  Год назад

      It's because I'm using local color styles. I did a video on Figma for developers that shows how to set this up: ruclips.net/video/2liZ3uvO9bs/видео.html

  • @CookieMonstro21
    @CookieMonstro21 2 года назад

    I love Figma, didn’t realize we had to become engineers to build out systems lol 😂

  • @grahamnorton9702
    @grahamnorton9702 2 года назад

    Really great tutorial, thank you very much, hugely helpful for somebody like me getting to grips with Figma's key concepts. However, I had a small problem. The buttons I made in sync with your video had both colour fills and white fills as is a common convention with primary/secondary button types in UI design. So my white icon set was invisible in many of my buttons. Is there a neat solution or do you just need to change the button colour manually (or produce a duplicate non-white set which would be less than ideal)?

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Sorry for my delay here. Since the icons are their own components, I’d just set up a light and dark variant on those components? Then you can change the nested component when needed. Does that make sense?

    • @grahamnorton9702
      @grahamnorton9702 2 года назад

      @@CodinginPublic Thanks again

  • @honeylavender1122
    @honeylavender1122 Год назад

    Ok so the 2022 update made it so that we don't have to create each version of the button - but what about when handing off to development? Is it useful to them to see all the different types laid out visually?

    • @CodinginPublic
      @CodinginPublic  Год назад

      I guess it depends on the dev; personally, being generally comfortable with Figma, I'm more than happy to cycle through the buttons I'd need and create them using the component props. A lot of this depends on the scale of the application, too? I'd recommend just asking the dev what she/he prefers; I'm assuming you'd get different answers per dev and per project.

  • @grahamnorton9702
    @grahamnorton9702 2 года назад

    Apologies, I meant change the icon colour manually :)

  • @actualmastermind
    @actualmastermind 2 года назад

    Thank you for the video. The point of Boolean is to reduce the number of components (Let's say a button component will now have 10 variants instead of 50). My question is, if the 50 button components were already used in design files by other designers from a shared component library, and the buttons get reduced to 10 using Boolean, any impact this could have on the designers' design files?

    • @CodinginPublic
      @CodinginPublic  2 года назад

      Hey, Mastermind! Sorry for my delay here. Hmm…I’m not actually sure? I haven’t run into that scenario (I’ve mostly worked in my own files). I’m assuming everything will update to match? Anyone else have experience here?

  • @stormstudio6126
    @stormstudio6126 Год назад

    Hi, when you want to make an animated prototype how do you use this variants for that purpose?

    • @CodinginPublic
      @CodinginPublic  Год назад

      You should be able to just hook up the components in the prototype and that should carry over to all the instances. Hopefully that helps!

  • @marishear8792
    @marishear8792 2 года назад +1

    For some reason my button won't expand to accommodate the added icon. I have auto layout fit with the same criteria as yours.

    • @CodinginPublic
      @CodinginPublic  2 года назад

      🤔 I’d make sure you have the fit set to hug contents in the right sidebar?

    • @briankanbayashi2427
      @briankanbayashi2427 2 года назад

      @@CodinginPublic I'm having the same issue. My button is set to hug

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      If you send me a link to your file on Twitter DM or email, I’m happy to check it out!

    • @briankanbayashi2427
      @briankanbayashi2427 2 года назад

      @@CodinginPublic sent! thank you so much!!

    • @CodinginPublic
      @CodinginPublic  2 года назад +1

      I’ll respond to you privately, too, but in case others are struggling, I think it’s because you’re trying to move the entire icon component rather than an instance of the component over. So hold down alt (Windows) or opt (macOS) and click-drag the icon over to the button. If it doesn’t let you snap it in there, you can situate it in the button in the sidebar. Sorry I didn’t make that clear in the tut. Let me know if that doesn’t solve your problem!

  • @arieismanto97
    @arieismanto97 Год назад

    can you help me, When I try to replace the icon the icon's color will change to the original icon color not follow on button properties. is there any way to fix it?

    • @CodinginPublic
      @CodinginPublic  Год назад

      You’ll need to set up the icons as their own components with two variants (one for each color). Then you can double click into that icon on the button and change it with a toggle or dropdown (depending on how you set it up). Does that make sense?

  • @valterfriafilho2150
    @valterfriafilho2150 Год назад

    I have the same color issue with icon, how did you solve that?

    • @CodinginPublic
      @CodinginPublic  Год назад

      After I set up the icons as components, I created a dark and light variant. Then when I created the button component, I selected either the light or dark version of the variant in the button component sidebar. Does that make sense?