How to use HTML template with Vaadin?

I am new to Vaadin.

I have created template for my web application in HTML and JS.

How to use the developed template with Vaadin as am not sure if I will be able to develop same template using Vaadin only?

The normal Vaadin layout components should allow creating most layouts, but if you really need more flexibility, you can use HTML templates with the
CustomLayout
component.