Components

Component Names

Components that should only ever have a single active instance should begin with the The prefix, to denote that there can be only one.

Component names should always be PascalCase

The include statement takes the code in the specified file and copies it into the file that uses the include statement.

{section-folder}/section.lh
<div class="lh-container">
<div>Your first setting is {{settings.first}}</div>
<ProducForm />
</div>

For the above example, the file "ProductForm.lh" is placed in the "components" folder

If you love LayoutHub, could you consider posting an review? That would be awesome and really help us to grow our business, here is the link.