Thanks for your help,
Yes It is possible to using jQuery UI and build control. There are many developers who has build the control.
I would recommend you to refer K2 Help to buuild control.
Below is the link to control builder reference.
Also there is one developer who developed control and has given pretty good guid on building steps. Below is the link for that
I hope this will help you to get started with Custom Control Builder.
Thanks a lot for your answer
Please, do you know if it is possible to embbed Angular 2 instead of the Jquery into the custom control ?
Yes. As long as you add resouce files with the project as embaded code.
The basic thing is the control need its .JS file if interacting with graphics and CSS. once you add those file you can use as reference as embaded. Sometimes control can be slower due to server/client event and execution.