How do you do this?

Hey, I’ve been trying to figure out how to do this for the past few days, I’ve not been sure what to search for when finding out how to do this.

So how do I do this:

Basically buttons that open up