Hi everyone, in this video we're going to look at these new presets... or new-ish presets, they're the Spring presets... we'll have a look at all four of these, we'll do Custom in the next one... and what I'm going to do is I'm going to make you build something to demo it all... which takes the rest of this video... but if you just want to see what they do, they do this...
let's have a look at the thing we built... let's go back to the beginning... we're keeping an eye down the bottom here, look... the Gentle Spring, it's gentle, funnily enough, Quick, it's quick... Bouncy, is very well named, bouncy, and Slow, is slow... if that's all you wanted to know, that's what they do, you can move on...
but if you want to build this overlay to practice overlays... and to practice a few of our shortcuts, follow me, let's build this contraption. To get started I've skipped a couple of steps, I've made a new page... I called it "Spring Animation Test"... not to be messing up our lovely page that we're working on... just keep everything separate...
I've added an iPhone 14 frame, make any size you like... and that is it, I'm going to switch to my 'Assets', so 'Option 2'... toggle across to this , remember, 'Option 1', 'Option2', Layers, Assets ... and I'm going to find that Nav we made earlier, you can do with anything... the one thing though is, we're going to set it up... so it pops up down the bottom, like you saw, and that's called an Overlay...
we've done overlay in Essentials, but yeah, we get to do it again here. The one thing for overlay to work is that this can't just be a lonely old instance... so I'm going to switch back to Layers... who remembers? 'Option 1', we just learned that one... so there's my component, overlay won't work unless there's a Frame...
so I'm going to right click it and say, 'Frame Selection'... give my frame a name, "Nav Pop-up"... now let's get the ball rolling. So where does it need to be? It could be anywhere you like... I'm going to put mine at the top...
it just can't be on the page, it has to come in from somewhere else... so this here, I would like to add an animation... so 'Shift E', I'm not dragging it anywhere... you kind of want to do that? You can do that, I guess, and change it afterwards... sometimes though you just want to have this Frame selected, and go...
actually, let's add an interaction manually... to say, when it's clicked, nope, after a delay - of how long? I want one second - I would like it to open an overlay... and of Nav Pop, that's where it won't-- if it's not a frame it won't appear there, so there it is, my Nav pop up. It's going to be down the bottom, it is going to be, not Instant... not Smart Animate, going to be Move In, going to move in from the bottom...
and these are the kind of old, more traditional easings... now these ones here, the Spring, they call them Spring... but let's have a look at Gentle... you saw at the beginning, Gentle is gentle... there's a little bit of springiness in there, but a gentle spring. All right, let's give it a test, you, my friend, let's go...
'Command Option Enter', 'Ctrl Alt Enter' on a PC... I'm going to stop saying that before you punch me in the face... no more preview, you had a preview... there it is, popped up down the bottom, I hit 'Refresh'... and it's going to go back to that first frame we've got. So let's fix that, let's say that you have a flow starting here...
so we're going to start the flow... and it means it won't try and jump back to the other frame... because we're in a flow, we're stuck in here... now if we hit 'R', look how gentle the navigation is... oh, it's lovely, kind of comes up and then comes back down a bit... it's a little bit of spring.
So we're going to jump back to the other tab, remember... depending, if you're within the browser... or if you're in the desktop version, like me... hold 'Command' on a Mac, 'Ctrl' on a PC, and 1, 2, 3... depending on how many tabs you've got open... I'm going to go 'Command 2' for mine...
if you are finding that shortcut hard to remember, this is weird... I like to command Figma to change pages, I don't know, so I teach it anyway... I like to control pages, you jump across to that one... and then 'Option' is this one here, kind of within here, it's optional... or alternative on a PC, however this is going to work for you... 1, 2 is Layers and Assets, that's Option, or Alt...
and Command, or Ctrl, is 2 and 3, I'm going to jump between the two now... "That wasn't helpful, Dan." All right, what are we doing? Oh, yeah... so we're going to duplicate this loads, so we can check them all... and practice making some different animations, and learning shortcuts... I use my Type tool, and I'm going to type in "gentle" spell it right...
and I'm going to switch back to Design mode... Shift E doesn't work when you're in the Type tool... hit 'Esc', then 'Shift E'... and I'm going to make sure it's centered... and big... and in the middle...
because I'm going to duplicate it... and I just want to see all the different ones, what I'm guessing... so I'm going to copy and paste it, so 'Command D' will duplicate it... and how many do I want? I can't remember... 4, 5?
4, yeah 4... 'Shift 1', see them all... this one's going to be "Quick"... this one is going to be "Bouncy"... and this one is going to be "Slow"... cool...
and because we copied and pasted it from that first one... if I go to 'Shift E' now... you'll see that these all have the same connections made... all we need to do is go... you, after a delay, not Gentle, but 'Quick'... you, after a delay, not gentle, but 'Bouncy'...
you, after a delay, are 'Slow', we'll do Custom Spring in the next video... because what we want to do now is, let's start our flow, Gentle... let's reset it, Gentle, let's make sure they're connected... otherwise nothing happens. So let's go back to this one and say, this one goes there... 'On Click', go to there...
I'm just going to switch it to 'Instant'... so that I can do the same for all of these... you, when you are clicked, to go there, you, when you are clicked to go there... all right, now let's test our flow. 'R' for reset, pops up nicely, look down the bottom here, use my arrow key... Quick, oh, look at that, it's quick...
Bouncy, oh, bouncy, Slow, oh, slow... you showed us at the beginning, and then you made us make this... ah, it's good to learn how overlays work... and we've got to flex some of those shortcuts... man, these things are nice, cool. So those are the presets, let's make some custom stuff...
and learn how that works in the next video... "Will you make us take ages to build something to test it all out?" He will... it's fun, you're enjoying it? Oh, yeah... oh well, regardless, we're on to the next video.