Create Dropdown Filters with Variables in Figma!

preview_player
Показать описание
Learn how to create dropdown filter with variables in Figma!

Here's my official Figma paid course which you can check out on:
Use AMSUBSCRIBER voucher to get a 50% off. I can’t wait to see you all inside.

👉 Follow me on Twitter and LinkedIn for more content.

Be sure to subscribe and hit the notification icon! It really helps me help you and others like you be better designers, freelancers, entrepreneurs, and people in general!
.
Subscribe to my newsletter to keep up to date on latest design/tech trends, update, tools and information! 🔥
.
.
Рекомендации по теме
Комментарии
Автор

Here's my twitter profile:

Ask me any questions on the post itself or drop a message.
And do follow as well.

AMDesignAndDev
Автор

Was trying to watch a Figma tutorial about booleans and variables, which wasn't helpful in any way what so ever. Their explanation was rubbish, their follow along figma file outdated and you didn't really learn anything from it, because they had already done all the things you were supposed to be doing with them.
In three minutes (some of which was the intro), you helped me understand what I spend hours trying to understand last night... THANK YOU!!

zammiejones
Автор

is there a way to combine multiple filters? to bind multiple variables to an element in figma?

VCGiMKIrX
Автор

Thank you for this! My issue is that I have various dropdowns (created groups in variables for these) in the table, and as it is a table, the same dropdown is repeated in each row, so when I change one, it changes all of them (I used text variables). And what I wanted from the filter was for it to change according the changed filters in the table, so if a user updated one of the dropdowns in the table and then used the filter, it would recognise the text used. Also, I can't (or haven't found a way to) use change to in a table, because the dropdown options get cut, so I used overlay, but when I click out of it the dropdown goes back to it’s initial state.

SofiaSS
Автор

Thanks for this tutorial. It was a great exercise. I tried to replicate this, and the first part went okay, but getting it to work with the different "selected" state variants using only variables seems kind of impossible. The whole point why Figma introduced variables seems to reduce the number of variants, yet it's not so easy to achieve a prototype using mostly variables.

djashawe
Автор

is there a way to have the text in the text field container change and add a hover state applied to the selected menu item while still filtering the content using variables?

kevinvittini
Автор

My filter was not working, but I was able to fix it! Thanks a lot for the tutorial.

gabypino
Автор

Amazing! but in the second part where do you explain the states of the component? I can't find in the video the explanation on how create the hover default and selected option 🥲 I've done all the steps. looking nice but you didn't explain how to create the properties for the states, or at least I couldn't find them. Thanks :)

aleidasusan
Автор

Why not set a text variable when selecting the applicable selection from the dropdown to propagate into the field.

ratsuns
Автор

Very helpful! Thanks for the tutorial videos. But I wanna know what if there are lots of items which needs pagination to control below them? How can I make the dropdown filters on the top and the pagination on the bottom work together? Thanks a lot!

corey
Автор

Thanks for sharing, my issue now is I can not write expressions, that is change values of variables from true to false, any idea what I might be wrong please?

emikeokoyomoh
Автор

I dont have the option layer in the right panel...

michellesilvacuenca
Автор

Hi @AMDesignAndDev, when I click the filtering from the drop down say Car, it does filter but it leaves gaps where the other blocks have been made false, the ones which are in true state do not stack underneath each other. How do I make them stack underneath each other? I'm using a list view were as you are using grid view in your example

skywalker
Автор

Thanks for sharing this! Here's the next challenge I'm trying to figure out: what if I want to filter for multiple categories? Click on cars -> shows only cars. Then click on bikes -> shows cars AND bikes. If I click again to deselect, hide the category I've deselected. But if I deselect everything, it should show ALL of them again. Any thoughts? I haven't quite figured out how to get Figma to do it!

jessiekatz
Автор

Thanks for the tutorial! When testing the interaction, it works correctly when I click the first time, but for example, after clicking car, if I click ALL or Bike, it shows nothing. It seems it is filtering just the first time I click. Could you please let me know what the issue could be?

gabypino
Автор

So if there is a lot of dropdown with different filter content, we need to do this for each dropdown, is it true ? Or there is another way to simplified it ?

muhammadjanuar
Автор

Hi, could it be possible to make a reusable interactive dropdown? To avoid repeating the dropdown a lot of times with different options, and just use the same changing the content of the text only. I found a problem when reusing components that in the prototype mode if I change a text on the instance in the animation it returns to the parent content.

deadstem_dj
Автор

good video, but sometimes your video is in the way so we can't see, what you did with the pane one the right

Cellist
Автор

Couldn't you just use a text variable for "Filter items" and set it to "Car", "Bike" or "Bus"? Then you only need a single component.

milksliced
Автор

thank you for your video, i'll be appreciated if you could speak bit slower

ruilin