Data display
Score
Match score pill on the six-step scale, sc1 (best) to sc6.
import { EcoScore } from "vue-ecosphere"
Scale
The step is yours to choose from the figure; the colour never travels without it.
95%92%89%72%61%48%
API
| Name | Type | Default | Description |
|---|---|---|---|
level | 1 | 2 | 3 | 4 | 5 | 6 | — | Required. Step on the scale: sc1 is the best match, sc6 the weakest. |
value | number | string | — | The figure. A number renders as a percentage; the default slot overrides it. |