<1>
engine-id={engineId}
pipeline={pipeline}
search-hub={searchHub}>
engine-id={engineId}
number-of-recommendations={numberOfRecommendations}
recommendations-per-row={recommendationsPerRow}
label={label}
variant=[variant](https://docs.coveo.com/en/mc7f0326/)
fields-to-include={fieldsToInclude}
recommendation={recommendation}
>
```
<1> Optionally, register your own result templates to customize the appearance of your recommendation results, the same way you would in your [main search interface](https://docs.coveo.com/en/quantic/latest/usage#result-templates).
<2> The `quantic-recommendation-interface` component is the parent of all other Quantic components in a recommendation interface.
<3> `quantic-recommendation-list` displays recommendations by applying the options provided to it.
### JavaScript
```javascript
import {LightningElement, api} from 'lwc';
// @ts-ignore
import caseTemplate from './resultTemplates/caseResultTemplate.html'; <1>
export default class ExampleQuanticRecommendationsList extends LightningElement {
@api engineId = 'quantic-recommendation-list-engine'; <2>
@api pipeline = 'mypipeline'; <3>
@api searchHub = 'mysearchhub';
@api numberOfRecommendations = 3;
@api recommendationsPerRow = 1;
@api label = "Recommended for you";
@api variant = "grid";
@api fieldsToInclude = "objecttype,sfstatus,sfcasestatus,sfcasenumber"; <4>
@api recommendation = "recommendation"; <5>
handleResultTemplateRegistration(event) { <6>
event.stopPropagation();
const resultTemplatesManager = event.detail;
const isCase = CoveoHeadless.ResultTemplatesHelpers.fieldMustMatch(
'objecttype',
['Case']
);
resultTemplatesManager.registerTemplates(
{
content: caseTemplate,
conditions: [isCase],
fields: ['sfstatus', 'sfcasestatus', 'sfcasenumber'],
}
);
}
}
```
<1> Import your custom result templates, if any.
<2> The `engineId` is the unique identifier of the Headless engine that powers the recommendation interface.
Set a different engine from the one powering your search interface.
<3> The `searchHub` and `pipeline` properties are required to correctly make requests to the Coveo Search API and Usage Analytics Write API.
Although you may enforce these properties through the search token, set them in your component to ensure that it works as expected.
<4> The `fieldsToInclude` property is a comma-separated list of [fields](https://docs.coveo.com/en/200/) to include in the recommendation results.
These fields are used to build the result templates and to display the recommendations.
<5> The recommendation identifier used by Coveo ML to scope the recommendation interface.
<6> Define result templates the same way you would in your [main search interface](https://docs.coveo.com/en/quantic/latest/usage#result-templates).
### XML
```xml