Expandable Sidebar

Hello,

How to create an expandable navigation menu like this.

Any help?