hemingtsai

ZStat

Dashboards

About

A compact statistic block that shows a label, a tabular-numeral value, an optional unit, a trend arrow (up/down/flat) and a hint line — ported to React from the Zemponet Vue 3 component library by hemingtsai, for dashboard and detail-page KPI tiles.

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

Code

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

Usage.tsx

import ZStat from "@/components/ui/zstat";

export default function ZStatBasicDemo() {
  return (
    <div className="flex flex-wrap gap-10 bg-background p-10 text-foreground">
      <ZStat label="请求总数" value={18432} />
    </div>
  );
}

More by hemingtsai

View all
  • Z Toast Host

    Z Toast Host

  • ZInput

    ZInput

  • Status Banner

    Status Banner

  • ZCheckbox

    ZCheckbox

  • Floating Action Button

    Floating Action Button

  • Button Group

    Button Group

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    774
  • Analytics Dashboard

    Analytics Dashboard

    89
  • Creator Dashboard

    Creator Dashboard

    222
  • Insights Dashboard

    Insights Dashboard

    47
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    500
  • serf dashboard

    serf dashboard

    146
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    74