Data display
Findings
A short list of observations beside a chart or a summary figure: a toned icon, one plain statement and an optional link to the rows behind it.
import { EcoFindings } from "vue-ecosphere"
Beside a chart
The four tones, two with a link to their rows. Below about 900px, stack the chart and the findings.
Regional sales, May
Calculated from 55,790 orders
Problem: West sales fell 18% from April, the largest drop of any region.
See 42 ordersCheck: 6 orders have no region recorded and are left out of these totals.
See 6 ordersGood: Every region met its monthly target in March and April.
Note: North brings in 43.6% of revenue, about the same share as last quarter.
Compact, inside a card
Stock checks
Updated 12 Nov 2026Problem: 3 products are out of stock with open orders.
See 3 rowsCheck: 14 products are below their reorder point.
Good: Counts match the last stocktake in all six warehouses.
Compact, under a summary figure
Unit price changes, January
128
Products with a new price from 1 Jan 2027
Check: 4 prices rise by more than 15%.
See 4 rowsNote: Most rises are between 2% and 6%.
API
| Name | Type | Default | Description |
|---|---|---|---|
items | EcoFinding[] | — | { tone?, text, link? }. Wrap the figure that matters in **…** to set it in bold. Problems first; five or fewer. |
tone | "danger" | "warning" | "success" | "neutral" | "neutral" | Each tone has its own icon and sr word (Problem, Check, Good, Note), never colour alone. |
link | { label, href } | — | Opens the rows the finding is about. Gets aria-describedby pointing at its statement. |
label | string | "Findings" | aria-label of the list. Without it, a passed aria-labelledby names the list instead. |
compact | boolean | false | Bare 16px icons and 13px statements, inside a card or under a KPI figure. |