Create Interactive Calendar (Date Picker) using Local Variables and Conditional Prototype in Figma
Вставка
- Опубліковано 23 лис 2023
- Learn how to create an interactive Time picker using local variable and conditional logic here:
• Create Interactive Dat...
Dive into the world of Figma design with our latest tutorial! In this step-by-step guide, we'll show you how to elevate your design game by creating a dynamic and interactive calendar using the power of local variables and conditional logic.
🚀 Whether you're a seasoned designer or just starting out, this tutorial is packed with valuable insights that will take your Figma skills to the next level. Learn how to seamlessly integrate local variables to store and manipulate data, and discover the art of conditional logic to make your calendar respond intelligently to user interactions.
🔗 Ready to revolutionize your Figma designs? Watch now and unlock the potential of local variables and conditional logic in crafting engaging and user-friendly interfaces. Don't forget to like, subscribe, and hit the bell icon for more design tutorials and tips!
🔧 Tools Used:
Figma
Features:
Local Variables
Conditional Logic
Auto Layout
Componenta
Atomic design structure
I am stumped with the logic for December to January, what would the conditional be for changing December 2023 to January 2024?
could you please explain the condition where month1==month1, and how does it work?
Month-1 = January.
So it's just to say when the button click get to month-1, it should change month-1 to the preceding month, which is December.
I found this useful. For me, I cannot set the variable on the year to "-1". I get an error. When setting the variables, how did you get that list of options (addition, subtraction, divide, etc.)? They don't automatically appear for me. Is there another step in the process to create these?
Hi, the field where you set the conditions for a variable allows you to input '+' or '-'. It also automatically suggests it. Just make sure the number is not in parenthesis unless you are passing a string.
Sorry for the late response.
Did you set year as a number? I made the mistake the first time and had to change Year to Number.
There is a mistake, the January is missing in your Clicks 9:19.
Yea, it's a bug I noticed. I have not found a fix for it.
I'm open to ideas if you have any.