Skip to content
Browse docs and components

Dashboard

dashboard

A full application screen: navigation with a usage meter, a metric row with trends, a revenue chart with a range control, a channel bar list, a sortable invoice table with search and paging, and the payout schedule. Bring your data as props — every list and number is yours.

Responsive

Install

$npxshadcnadd@forme/dashboard

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

Dashboard

PropTypeDefaultDescription
kpis*readonly DashboardKpi[]—
revenue*readonly DashboardRevenueRow[]—The revenue series, oldest first. The range control takes the last 7 or 30 rows for those ranges and everything you pass for the full range — bring ninety days and all three ranges work.
channels*readonly DashboardChannel[]—
orders*readonly DashboardOrder[]—
classNamestring—
brandstring"Acme Inc"
user{ name: string; initials: string }{ name: "Ada Kim", initials: "AK" }