Custom editor window with gameobjects view

I wanna create a custom window that contain a view similar to tile palette, It should contain some selectable GameObjects. how can I achieve that ?