You'll never need to detach a Figma component again | Figma Big Bite

  Рет қаралды 21,337

Figma Bites

Figma Bites

Күн бұрын

Hey everyone! We hope you are all having an okay beginning to the year. We took January off and are excited to share our latest video with you. In this Big Bite, we cover a technique some are calling "Slot components". This technique lets us build flexible components that are setup for instance swapping internal pieces. This allows designers using components to make customization that aren't part of the main component while staying attached to the main component.
If you want to make a copy of the demo file, you can access it here:
www.figma.com/...
===
ABOUT FIGMA BITES
===
Figma Bites is a video series that aims to teach you how to speed up your Figma workflow.
📺 Who is the Audience? 📺
Any UX Designer or person using Figma is the perfect audience for this series. These short videos will give you actionable tidbits of information that you can start using in your Figma workflow today.
👔 Why this format? 👔
We’re all busy working on making the world better for our users and making changes to our workflow can take us out of that focus. Our hope is that these short videos will be easily digestible when you’ve only got a few minutes to learn something new. The topics will be small enough to learn quickly and add to your workflow without trying to boil the ocean.
⏳ When do new videos come out? ⏳
We’re planning to release a new video every other week on Tuesdays. We can’t promise to hit this 100% of the time but will do our best to go no longer than 1 month between videos if things get busy.

Пікірлер: 34
@mischugo
@mischugo 11 ай бұрын
Due to my lack of English skills, I unfortunately have to watch the tutorail 3-5 times. BUT - it is by far one of the best tutorials ever. Step by step and also the descriptions around it ... NICE!!!
@shridharreddy1320
@shridharreddy1320 Жыл бұрын
Very useful. Thank you!
@flaviaazvdo9333
@flaviaazvdo9333 2 ай бұрын
Cool, thanks!!
@FigmaBites
@FigmaBites 2 ай бұрын
You bet!
@JoskaBorbely
@JoskaBorbely 3 ай бұрын
Great info! Quick question since I saw it happen at the beginning - when you picked that button to swap into the dialogue box it got distorted. Does this mean for components you already made (lets say somewhere else in the design system) you'd have to make a custom local component for this everytime?
@FigmaBites
@FigmaBites 3 ай бұрын
@@JoskaBorbely what you saw there was just me showing a placeholder example of custom content. You should be able to fix any stretching by adjusting the auto layout settings and horizontal and vertical resizing settings. I believe that content was set to “fill” for both. You would only be making custom local components for content you are creating that isn’t already part of the design system. I hope that answers your question. If not, let me know.
@JoskaBorbely
@JoskaBorbely 3 ай бұрын
@@FigmaBites Yes, thank you that works for buttons, the issue I'm running into is when I have a component set of logos that have different sizes, when the component swaps with the slot it is working as expected but when I toggle a variant it then distorts
@FigmaBites
@FigmaBites 3 ай бұрын
@@JoskaBorbely hmmm, can you share the file with me? I’d be happy to take a look
@RaphaelWeis-qt6jp
@RaphaelWeis-qt6jp 5 ай бұрын
But then don't we have a new component that we have to store and manage in the page, that has only one instance ? It feels weird to me, I wouldn't know what to do with it.
@midejumo
@midejumo 3 ай бұрын
Unrelated: Your facial air is so so fascinating!
@FigmaBites
@FigmaBites 3 ай бұрын
Thanks, I appreciate the comment
@maddiemaddocks2482
@maddiemaddocks2482 2 ай бұрын
I keep getting the message "Pasting inside the current selection is not possible" when trying to use the paste to replace (???)
@FigmaBites
@FigmaBites 2 ай бұрын
@@maddiemaddocks2482 you can’t paste into a component instance
@maddiemaddocks2482
@maddiemaddocks2482 2 ай бұрын
@@FigmaBites Aaaah.... I thought we were supposed to select the text of the duplicated slot & paste to replace. I kept backing up to rewatch snippets but I guess I missed something.
@shridharreddy1320
@shridharreddy1320 Жыл бұрын
Do you have a link to the screen that explained the slot process to designers?
@FigmaBites
@FigmaBites Жыл бұрын
Check the video description. I just added a link to the demo file hosted on Figma community.
@HolographicKode
@HolographicKode 7 ай бұрын
Is it possible to drag and drop content or another component onto a slot/placeholder subcomponent of a component and have the swap happen automatically ?
@FigmaBites
@FigmaBites 7 ай бұрын
I don't think so but I haven't tried that specifically.
@tatsumo
@tatsumo 5 ай бұрын
Very useful handsome guy.
@FigmaBites
@FigmaBites 5 ай бұрын
Thanks!
@mischugo
@mischugo 11 ай бұрын
I'm still not sure what's going wrong. At 3:30 no "Create Swap ... " is displayed in the layer panel. 🤔
@FigmaBites
@FigmaBites 11 ай бұрын
I'm renaming a layer in the lower portion of the layers panel to "🧩 Swap Me" and then I start setting up an instance swap property.
@mischugo
@mischugo 11 ай бұрын
@@FigmaBites My mistake was that I tried it directly at the instance 🙈
@FigmaBites
@FigmaBites 11 ай бұрын
@@mischugo happens to the best of us :)
@MariaZenkevich
@MariaZenkevich Жыл бұрын
Thank you. What's the purpose of copying the slot and pasting the new layout inside it (5:38)? Could I simply create my custom layout components and then just swap the slot with that directly?
@FigmaBites
@FigmaBites Жыл бұрын
Yep, you could do that. I copy the slot so it has the right auto layout and such applied already. It isn't necessary. But when I was testing out this technique with some other designers that didn't know auto layout as well, there was some hang up getting their custom component to slot into place cleanly.
@kaylablock1425
@kaylablock1425 9 ай бұрын
But doesn't that mean that you need to own the component?
@FigmaBites
@FigmaBites 9 ай бұрын
Yes. If you have a different team making components, show them this technique. Or build your own and share it with them.
@alexbramwell1870
@alexbramwell1870 Жыл бұрын
Awesome tut but this still feels super hacky 🥴
@FigmaBites
@FigmaBites Жыл бұрын
I feel you. When I first saw it I thought the same thing. And it does feel that way but since it’s using core features of Figma, I wouldn’t consider it a hack. It’s a technique an entire team needs to get behind or it doesn’t work as well. That’s the same with a lot of things in Figma and other tools since we can do the same things in so many different ways.
@jakebarlow7431
@jakebarlow7431 Жыл бұрын
It seemed weird at first until I realized the power of it. It's totally not a hack, and it allows users of our design system to use our components and styles while designing with their data within the constraints that allow them to launch features more quickly with less time spent in approval rounds.
@FigmaBites
@FigmaBites Жыл бұрын
@@jakebarlow7431 Thanks for adding that :)
@midejumo
@midejumo 3 ай бұрын
Jesus Saves, and He loves you all.
@FigmaBites
@FigmaBites 3 ай бұрын
Amen, brother
Treat your design files like a product | Figma Bites
4:36
Figma Bites
Рет қаралды 2,5 М.
Fan Voting
4:39
Swapt
Рет қаралды 1
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 26 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,4 МЛН
Bulk Rename | Figma Bites
1:31
Figma Bites
Рет қаралды 956
Figma Slot Components | Component Properties step-by-step
9:55
TD Sunshine
Рет қаралды 9 М.
Intro to Auto Layout | 2023 Update | Figma Bites
5:38
Figma Bites
Рет қаралды 7 М.
Branching and Merging | Figma Bites
3:00
Figma Bites
Рет қаралды 15 М.
Reduce Prototypes by 50% (Simple trick) | Figma Tutorial
5:41
Prototyping a Double Sticky Nav | Figma Bites
3:21
Figma Bites
Рет қаралды 3 М.
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 26 МЛН