--- title: QuanticResultLabel slug: latest-result-template-result-label canonical_url: https://docs.coveo.com/en/quantic/latest/reference/result-template-components/result-template-result-label/ collection: quantic source_format: adoc --- # QuanticResultLabel > **Note** > > This component was introduced in version `1.6.1`. The `QuanticResultLabel` component displays an [SLDS icon](https://www.lightningdesignsystem.com/icons/) and label for a result. If the `Result` option is set this component can infer default label and icon based on the result properties. Otherwise the `label` and `icon` properties are required. ## Example ```html ``` ## Properties -- |=== | Property | Attribute | Description | Type | Default | `result` _(required)_ | `result` a| The [result item](https://docs.coveo.com/en/headless/latest/reference/interfaces/Search.Result.html) to use to infer label and icon. | `Result` | | `label` _(required)_ | `label` a| The label to display. | `string` | | `icon` _(required)_ | `icon` a| The name of the [SLDS icon](https://www.lightningdesignsystem.com/icons/) to display. | `string` | | `size` | `size` a| Size of the icon and label to display. | `'xx-small', 'x-small', 'small', 'medium', 'large'` | `'small'` | `iconOnly` | `icon-only` a| Whether to only display the icon without the label. | `boolean` | `false` |=== -- ## XML configuration file elements The following XML configuration file elements apply (see [XML Configuration File Elements](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_configuration_tags)). -- |=== | Metadata | Value | `apiVersion` | `53.0` | `isExposed` | `false` |=== --