Popup Menu designer in application

Is there a way to use D3 popupmenu designer in an application? Or does
anyone know how to emmulate it? Thanks.