How to create new component?


for example I want to create range-slider. I setup hassbian on the frontend development. What files should I create? Graphics is created using polymer. Do it need to create a file ( in a folder custom_components ? Where to create html file with technology polymer?