# Metric Widget

## Intro

The **Metric Widget** presents a high-level interpretation based on data collected over an extended period. By aggregating multiple measurements and combining contextual information, it offers users a broader understanding of the user’s health trends. Ideal for users interested in comprehensive health tracking, this widget can display aggregated values like stress levels or fitness scores. It’s designed to provide an overview that aids in interpreting long-term health progress.

**Quick links**

[→ What are Metrics?](https://docs.intelliprove.com/insights/metrics)

[→ Learn more about the Metric Widget’s structure](https://docs.intelliprove.com/product-docs/metrics)

## Set-up

The Metric widget is available under the HTML tag `ip-metric-widget`. Ensure to nest it somewhere within your `ip-session` , as described in the [Set-up](https://docs.intelliprove.com/technical-docs/set-up) documentation.

#### Properties

| **Name** | **Requirement** | **Description** | **Default value** |
| --- | --- | --- | --- |
| `type` | **required** | `"energy-balance" | "general-fitness" | "hypertension" | "mental-health-risk" | "mental-stress" | "sleep-quality"` | –– |

```html
<ip-session
  action-token="eyJhbG..."
  language="en-GB"
>
  <!-- IntelliProve components go here -->
  <ip-metric-widget type="mental-stress"></ip-metric-widget>
</ip-session>
```
