Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Compact trend badge for delta and direction beside metrics.
| Prop | Type | Default | Description |
|---|---|---|---|
direction | string | up | Configures direction. |
previewLayout | string | single | Configures preview layout. |
value | string | 12.4% | Configures value. |
width | string | widget | Configures width. |
wrapInContainer | boolean | true | Configures wrap in container. |