List on the button similar to option menu

How to make list on button like below.
image
image

Blocks :

image

Output :

image

image

1 Like