Filter and search as a dropdown menu dropdown - Can anyone code this?

Hey

As the title says, can anyone code a quick list based on my active filters with a search function aswell (not necessery, but a plus)

I want this to be in the top of the ordinary menu

Like this: