Project 22 - KPI dashboard snippetPro
Framed mini dashboard for a case study: a window bar with tabs, four KPI tiles with counting values, deltas and sparklines, beside a short explanation of what the numbers mean.
About Project 22
Framed mini dashboard for a case study: a window bar with tabs, four KPI tiles with counting values, deltas and sparklines, beside a short explanation of what the numbers mean.
Project 22 is a pro project block for React, built on shadcn/ui and Tailwind CSS. It ships as 87 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- kpi
- dashboard
- sparkline
- metrics
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/project-22Dependencies installed automatically: lucide-react.
Uses: number-ticker, reveal, sparkline, utils.
Usage
import Project22 from "@/components/blocks/project-22"
export default function Page() {
return <Project22 />
}