noahgdev

Tick KPI Card

Dashboards

About

A row of KPI tiles, each with a value out of a whole and a tick bar showing how far along it is. Suits capacity, budget consumed, and goals with a known ceiling.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tick KPI Card to your project and fits it to your theme.

Code

How Tick KPI Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { EllipsisVertical, FileText, Landmark, Package } from "lucide-react"

import { Button } from "@/components/ui/button"
import { TickKpiCard } from "@/components/ui/dashboardcn-tick-kpi-card"

const menu = (
  <Button variant="ghost" size="icon-xs" className="text-muted-foreground -mr-1.5">
    <EllipsisVertical />
    <span className="sr-only">More</span>
  </Button>
)

export default function TickKpiCardDemo() {
  return (
    <TickKpiCard
      className="w-full"
      metrics={[
        { icon: <FileText />, label: "Open invoices", value: 512, max: 691, color: "var(--color-emerald-500)", action: menu },
        { icon: <Package />, label: "Stock replenished", value: 7_420, max: 12_300, unit: "units", color: "var(--color-violet-500)", action: menu },
        { icon: <Landmark />, label: "Budget utilized", value: 103_000, max: 2_600_000, format: "compact", color: "var(--color-amber-500)", action: menu },
      ]}
    />
  )
}

Dependencies

More by noahgdev

View all
  • Donut Chart

    Donut Chart

    5
  • Funnel Chart

    Funnel Chart

    3
  • Heatmap Chart

    Heatmap Chart

    3
  • Sankey Chart

    Sankey Chart

    1
  • Segmented Meter

    Segmented Meter

    1
  • Revenue Ring Card

    Revenue Ring Card

  • Payment Summary Card

    Payment Summary Card

  • Commerce KPI Row

    Commerce KPI Row

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    751
  • Analytics Dashboard

    Analytics Dashboard

    81
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    446
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    65