BreakdownList shows the parts of a whole as a ranked list: each row a name and an amount, with a bar behind it as long as its share. It reads as a list, not a chart. Every amount is written, so the bar is never the only cue. Use it for top pages, referrers, countries or spend by category, where the names matter as much as the sizes. Import it from @once-ui-system/core/data.
scale="max" (the default) makes the largest item a full bar, so the ranking reads at a glance. scale="total" makes each bar its share of the whole, which suits a breakdown that adds up to 100%, such as money by currency.
- limit shows that many rows and folds the rest into one row named by otherLabel ("Other").
- sort={false} keeps the order you give instead of largest first.
- prefix(row) puts a favicon, flag or icon before the name.
- href(row) makes a row a link, such as to the filtered view.
- loading draws placeholder rows, and emptyState replaces "No data yet".