Building an animated expandable nav (with example - not sure how to setup)

Hey there!

I’m looking to build an animated, expandable side nav, pretty much exactly like in this example (hover on the left side of the screen). The problem: I’m not exactly sure how to approach/start this, since there are a lot of moving parts…

Any suggestions?