Great tip, but how you can keep the aspect ratio if its a product card component.
@JuanEncalada3 ай бұрын
@@grafikaya hi! Could you clarify what you mean? Happy to help if I can!
@JuanEncalada3 ай бұрын
@@grafikaya do you mean if your card has an aspect ratio, will this component work to help main the aspect ratio?
@grafikaya3 ай бұрын
@@JuanEncalada yeap, sorry to been unclear. For example I have 3:2 and 16:9 aspect ratio product images. I create swap slot component and made it responsive css grid component once i duplicate the grid the aspect ratio of the image crashed.
@JuanEncalada3 ай бұрын
@@grafikaya ah ok, no worries! Maybe check that the aspect ratios are set to fill horizontal and hug vertical. If you have a link to the file I can also take a look at
@grafikaya3 ай бұрын
@@JuanEncalada i guess i figure it out, thanx 👍👍👍
@FerdiCildiz4 ай бұрын
Nice workaround!
@ИринаИгумнова-е7ж5 ай бұрын
Thanks Juan! Great video!
@JuanEncalada5 ай бұрын
Thank you!
@ИринаИгумнова-е7ж5 ай бұрын
Great stuff!
@fortyozsteak6 ай бұрын
Yea but now add a stroke to the pointer and text box
@JuanEncalada6 ай бұрын
Hey! Yes that’s definitely something that can be done as well! Let me know if I can help provide any tips on how to best achieve that!
@fortyozsteak6 ай бұрын
@@JuanEncalada how do you merge the pointer and autolayout text box when they both have a stroke applied?
@fortyozsteak6 ай бұрын
@@JuanEncalada nvm I got it. Requires seperating the pointer fill from the pointer stroke and creating a group
@MarianaGarnica-z6p6 ай бұрын
This is genius! Big Thanks
@anaceciliagonzalezflores92507 ай бұрын
Cómo se ve eso en código? Es posible que el equipo de desarrollo aplique esto ?
@JuanEncalada7 ай бұрын
¡Hola! ¡Probé exportarlo como SVG desde Figma y funcionó bien! Sin embargo, tenga en cuenta que esta es una solución alternativa de Figma porque no tenemos soporte nativo para variables de gradiente. En el código hay una forma más sencilla de lograr esto con rellenos de gradientes lineal, pero si es necesario, puede exportarlo como SVG para usarlo en el código.
@gloriam21157 ай бұрын
This is awesome! Please do post a tutorial when you get a chance
@JuanEncalada7 ай бұрын
Thanks for the support! Will try to get one out sometime!
@xiiizehn8 ай бұрын
Great approach. Wondering if it might also work for a three point gradient. I guess the masking would be more advanced. Any ideas on that?
@JuanEncalada8 ай бұрын
Hey thanks! Yes it would actually! I’ve tried with all sorts of crazy gradients even radial gradients
@JuanEncalada8 ай бұрын
What I’ve found is that as the gradients became more complex, using the “plus darker” blend mode was also beneficial
@patrickclough16858 ай бұрын
Wow, this thing is sick!
@JuanEncalada8 ай бұрын
Thanks, Patman!
@zanahid8 ай бұрын
this is really amazing
@JuanEncalada8 ай бұрын
Thanks, Nahid! Good to see you!
@JuanEncalada8 ай бұрын
Thanks for the support, Ramiro! Really appreciate it!
@RamiroGalan8 ай бұрын
Super handy stuff to know Juan! Thanks for sharing your knowledge!
@csabahorvath14929 ай бұрын
Briliant!
@JuanEncalada9 ай бұрын
Thank you!
@jsscrom9 ай бұрын
Enjoyed it, thanks!
@JuanEncalada9 ай бұрын
Thanks for the support!
@illapiano10 ай бұрын
Back in the saddle! Keep ‘em coming, these are great❤
@JuanEncalada10 ай бұрын
Thanks for the love and support man!
@Enzocol8910 ай бұрын
I’m always impressed with your work around the limitation of Figma 🙌
@JuanEncalada10 ай бұрын
Thanks, Enzo! Always appreciate your support. :)
@alidashti464710 ай бұрын
❤
10 ай бұрын
Great work! Thank you for sharing!
@JuanEncalada10 ай бұрын
Thank you for the support!
@DesignwithAsif10 ай бұрын
Unique like before, 👏welcome back man!
@JuanEncalada10 ай бұрын
Hey, thanks so much! It's good to be back and thanks for your support after so long!
@DesignwithAsif10 ай бұрын
When you weren't on KZbin, I created my channel inspired by your videos. Glad to see you back!@@JuanEncalada
@JuanEncalada10 ай бұрын
Woah no way! I’ll have to check it out. To think my videos inspired you to create your own channel is mind blowing!
@JuanEncalada10 ай бұрын
Just subscribed. Will definitely be watching all of them!
@DesignwithAsif10 ай бұрын
I really appreciate it 🍻@@JuanEncalada
@banetepavcevic7228 Жыл бұрын
Hi, thanks for an awesome tutorial! I'm confused what happened with the button group component if you change it to the component group? I' 'm afraid if I turn it to a Component group like you did in the video I will lose button group variants (original ones )?
@banetepavcevic7228 Жыл бұрын
Thank you for an awesome tutorial! I have questions. If I wanted to add a dropdown menu, would you create it in the master component or as a variant?
@rvb6516 Жыл бұрын
What if you don't have any sample content and you want to put multiple components in ONE SLOT ?
@JuanEncalada Жыл бұрын
Hi, great question! Your sample content can be anything you want. There can be several components in it. So basically think of the slot as an opportunity to swap in anything you want. If you want 10 text inputs, don’t swap a single text input for the slot, instead, group those text inputs with anything else you want, componentize it, then swap that with the slot
@rvb6516 Жыл бұрын
Okay thing is I don’t want to make a component out of something that I will only use once, can’t I juste drop a frame ?
@JuanEncalada Жыл бұрын
@@rvb6516 I see. In that case what I have done is swap the slot for a utility component I like to call “Component group” or you could call it Slot group. For mine it’s basically 10 slots which gives you more flexibility
@JuanEncalada Жыл бұрын
@@rvb6516 this video of mine here actually covers the component group I’m referring to if you want to give it a watch. Time stamp around the 26 minute mark: kzbin.info/www/bejne/i2baiWWCfb6Goac
@rvb6516 Жыл бұрын
Okay I see thanks, the problem I’ll still have is if I want to add for example in a slot two buttons in a row I will not be able to
@thehaguy Жыл бұрын
Thanks for posting this. Crystl clear instuctions.
@JuanEncalada Жыл бұрын
Thanks for the kind words!
@djashawe88923 Жыл бұрын
Hi, Thanks a lot for this great tutorial. I subscribed to your channel and liked the video. Is there an advantage of doing it this way over just creating a component straightight with a real content?
@JuanEncalada Жыл бұрын
Hello! The advantage of this is that it allows you to keep your design system components general but flexible so that your users can use the main component without detaching :)
@djashawe88923 Жыл бұрын
@@JuanEncalada Thanks! :)
@JuanEncalada Жыл бұрын
@@djashawe88923 my pleasure!
@stephenmichael2236 Жыл бұрын
Thanks man for the video, it was of great help
@priyasymon3414 Жыл бұрын
Thank you so much for this video, helped me a lot!
@JuanEncalada Жыл бұрын
Glad to hear that! Thanks for letting me know. :)
@AnneSong-d8u Жыл бұрын
thanks!!!
@mirkocaccia9388 Жыл бұрын
Thanks a lot, great video. If it can help you, this is my feedback: what about the content size constraints? This is an important aspect of the matter. I see you use only contents with hug constraints, but often they need fixed constraints. If I use fixed contents into this slot they are resized and this is not good. Try to use the avatar into the slot and you can see what I mean. How to fix that?
@JuanEncalada Жыл бұрын
Hi Mirko, you can fix this with Auto layout! Let’s say you need something to be 64px, and another time to be 320px, the slot content you swap in should have an Auto layout resizing property of hug contents in order to be able to accommodate any size! I’ll try to make a little demo for you!
@mirkocaccia9388 Жыл бұрын
@@JuanEncalada thanks Juan! I tried many ways but nothing works for me. I appreciate if you'll make a little demo 🙇🏼♂
@JuanEncalada Жыл бұрын
@@mirkocaccia9388 Hi Mirko! Here's the link: www.figma.com/file/j0AJTMPmimXssp3bhjioON/Fixed-width-Slot-Content?node-id=1737%3A414&t=IzUYM3bxxMTbpFqH-1 Feel free to duplicate to your drafts. Check out the demo page
@mirkocaccia9388 Жыл бұрын
@@JuanEncalada Thank you very much, I duplicated it and I'm sure it will help me with this issue. You are awesome!! 🔝🔝🔝
@JuanEncalada Жыл бұрын
@@mirkocaccia9388 no worries! Hope it helps!
@tahabhalejwala1416 Жыл бұрын
You are amazing, Please don't stop <3
@JuanEncalada Жыл бұрын
Thanks for the kind words!
@gabrielrochadutra2 жыл бұрын
Very good man! I need to do a select input and i dont know how can i open the dropdown on prototype. Maybe using this technique I will finally be able to.
@gian50082 жыл бұрын
Awesome!
@Amrdys2 жыл бұрын
The amazing and easy to follow presentation made me like and subscribe without hesitation 👍
@JuanEncalada2 жыл бұрын
Thanks, I appreciate it!
@golda53812 жыл бұрын
Such a great video, thank you! btw 05:20 truncate text is now available 🙌🙌(May '22)
@oZenakos2 жыл бұрын
great tut thanks
@Abvex2 жыл бұрын
That is way too much work for those tooltips arrows, why didn't you just use the triangle shape?
@JuanEncalada2 жыл бұрын
Hi Abvex, thanks for your question! I drew the tooltip caret this way so I could round the top left and right corners, tapering the radius into the tooltip body. With the triangle shape I wasn’t sure how to do that. If you watch back again you’ll notice that I drew the shape to extend a bit beyond the 3 points of the triangle which allows me to control and achieve a reverse radius. Let me know if this helps!
@JuanEncalada2 жыл бұрын
Also if anyone has tips on how I can achieve the same vector more easily please share with the community in this thread! :)
@JacquesvanWyk2 жыл бұрын
Great content!!! Thanks for this and keep going.
@JuanEncalada2 жыл бұрын
Thanks for the kind words!
@bartdewachter82572 жыл бұрын
Has this technique become obsolete due to the new component properties?
@JuanEncalada2 жыл бұрын
Hi Bart, not exactly. The new features actually enhance the slot technique because rather than hiding the a lot manually you could create a Boolean property, and instead of cmd or double clicking into the slot component you could set up an Instance swap property for the slot to allow you to swap at the top level of the component. Both of these examples would depend on where you have your slot if in a nested component instance you wouldn’t be able to set up these properties at the top level of your final component.
@yumpiri2 жыл бұрын
Unbelievable! It was a huuuge help... Even with your tutorial it took me around 2 hours to create a properly working tooltip. Thanks a lot!
@JuanEncalada2 жыл бұрын
Thanks I’m glad it was helpful!
@reihanif2 жыл бұрын
great explanation, this is so helpful!
@JuanEncalada2 жыл бұрын
Thanks! Glad you found it helpful :)
@ekeminimark2 жыл бұрын
This was super helpful! Thank you
@JuanEncalada2 жыл бұрын
Glad it was helpful! Thank you. :)
@Underhills2 жыл бұрын
Would have been interesting to see how your producing the different frames, cause all I see is nothing. It just changes cause your using your keyboard. For instance, when your introducing that info icon your making a frame around the frame but its not an auto layout frame. To me that just appeared out of nowhere. I don't have the same options as you in the frame section. Very confusing. Is this and older UI version?
@JuanEncalada2 жыл бұрын
Hi BC, that’s good feedback, thank you! I use keyboard shortcuts a lot so there are some things that probably get lost in the process. Also, if you’re using the new Auto layout version that just came out 2 weeks ago the. It will look a bit different than what’s shown in my video which was made last year.
@Underhills2 жыл бұрын
@@JuanEncalada Hi, thanks for the reply. I had trouble following the icon positioning instructions, perhaps because it's unconventional in my mind. But looked interesting. Perhaps even the new absolute position would work for the icon? Your videos are high quality, keep'em coming.
@sofnavarro2 жыл бұрын
A-MA-ZING!!! Thanks for sharing!! you have a new follower here! haha. I learned a lot
@JuanEncalada2 жыл бұрын
Thanks Sofi! Half it was helpful and you learned a lot!
@aminetobok45532 жыл бұрын
Amazing 😍 Thank's so much
@JuanEncalada2 жыл бұрын
Thank you!
@tobyhallam47502 жыл бұрын
Thanks. You explain things very well,... but as some friendly feedback (and I do mean friendly), you made this demonstration quite difficult to grasp because the example you used was so complex. Ive watched this a couple of times and Im still not quite there. It would be better to use a more basic example so that you can concentrate on explaining the concept of Placeholders. Thanks anyway.
@JuanEncalada2 жыл бұрын
Hi Toby! Thanks for that feedback! I’ll take it into consideration. Do you need any help in grasping the concept fully? If you’d like I can setup a simple demo and send you the link.
@JuanEncalada2 жыл бұрын
You can try this link. There's 2 button components. The first uses icons. You can use the instance swapper to swap between icons. The second uses slots. You can use the instance swapper to swap the slot with an icon. www.figma.com/file/Zg4xkjCH5brLtQ24I3L5WD/Slot-demo?node-id=0%3A1
@tobyhallam47502 жыл бұрын
@@JuanEncalada Thanks Juan. I really appreciate that. I'll have a play with this one. Thank you 🙂
@JuanEncalada2 жыл бұрын
@@tobyhallam4750 no worries! Hope it’s a little clearer!
@ErdisDriza2 жыл бұрын
why did you stop posting videos? 😥 Please keep it up!
@JuanEncalada2 жыл бұрын
Sorry! Thanks for your patience! Will try to post more soon. I have a few ideas in the works!
@soy.pauvolk2 жыл бұрын
Juan, veo que sos un groso! Ya estuve siguiendo algunos de tus tutoriales. Por tu nombre, sospecho que sos latino/español <3 Si es así, siento que sería súper valioso si hicieras tus tutoriales en español, ya que en inglés hay miles, pero en español son difíciles de rastraer. Creo que sería súper valioso, pero es solo mi opinión. Te mando un abrazo!
@JuanEncalada2 жыл бұрын
Hola Pau! Gracias por las lindas palabras. Lo pensaré! Siento que mi español no es muy bien pero a lo mejor con ayudita será posible! Jaja