- Preview
- Code
What UsageBreakdown supports
- Sort by total usage or total cost
- Grouping (features roll up under a group, with an ungrouped bucket for the rest)
- Expand / collapse all groups
- Custom units per row
- Loading skeleton state
- Empty state when there is no data
Where to use UsageBreakdown
- Usage dashboards
- Customer portal usage tab
- Cost analysis pages
Importing UsageBreakdown
Rendering UsageBreakdown
groupId render in an “ungrouped” bucket. See Ways to provide data for SDK, API, backend, and static JSON options.
Mapping API data into UsageBreakdown
Related usage widgets
Usage Widgets
Overview of all four usage components.
Metric Cards
Grid of revenue, cost, margin, and custom usage metrics.
Usage Trend Chart
Line chart of usage over time, one series per feature.

