Ballmac UI home

Dashboard 1: sales overview

A sales dashboard page: a date-range switch that recomputes everything, four KPI cards with change and trend, a revenue area chart against the previous period, revenue by channel and a recent-orders table.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/dashboard-1

Usage

Example: dashboard-1-demo.tsx
import { Dashboard1 } from "@/components/ballmac/blocks/dashboard-1/dashboard-1"

export default function Dashboard1Demo() {
  return <Dashboard1 />
}

Dependencies

Use with AI

The first screen of a store or SaaS admin. Pass getSeries(range) returning { label, revenue, previous, orders }[], plus channels, orders and currency; the KPIs, deltas and chart are derived from the series. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Dashboard 1: sales overview (@ballmac/dashboard-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Admin home pages
  • Sales, billing and usage overviews

Not for

  • Traffic analytics (use dashboard-2)

Registry JSON: https://ui.ballmac.com/r/dashboard-1.json

Free to use in personal and commercial projects.