BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Manifest UI/stat-card

Stat Card

manifest-ui/stat-card
FreeBlock

Scrollable stat cards with values, trends, and change indicators.

Install it

npx shadcn@latest add https://ui.manifest.build/r/stat-card.json

Source

registry/miscellaneous/stat-card.tsxui.manifest.build/r/stat-card.json
1"use client"
2
3import { TrendingUp, TrendingDown, Minus } from "lucide-react"
4import { cn } from "@/lib/utils"
5import { demoStats } from './demo/miscellaneous'
6
7/**
8 * Represents a single statistic card with trend data.
9 * @interface StatCard
10 * @property {string} [label] - Label for the stat (e.g., "Sales", "Orders")
11 * @property {string | number} [value] - The stat value to display
12 * @property {number} [change] - Percentage change value
13 * @property {string} [changeLabel] - Additional context for the change
14 * @property {React.ReactNode} [icon] - Optional icon for the stat
15 * @property {"up" | "down" | "neutral"} [trend] - Trend direction
16 */
17export interface StatCard {
18 label?: string
19 value?: string | number
20 change?: number
21 changeLabel?: string
22 icon?: React.ReactNode
23 trend?: "up" | "down" | "neutral"
24}
25
26/**
27 * ═══════════════════════════════════════════════════════════════════════════
28 * StatCardProps
29 * ═══════════════════════════════════════════════════════════════════════════
30 *
31 * Props for the StatCard component, which displays a grid of statistic cards
32 * with values, trend indicators, and optional icons.
33 */
34export interface StatCardProps {
35 data?: {
36 /** Array of stat cards to display in the grid. */
37 stats?: StatCard[]
38 }
39}
40
41
42/**
43 * A statistics card grid displaying key metrics with trend indicators.
44 * Shows stats in a responsive 2-3 column grid layout.
45 *
46 * Features:
47 * - Trend indicators (up, down, neutral) with colors
48 * - Percentage change display
49 * - Optional icons per stat
50 * - Responsive grid layout
51 * - Optional change labels
52 *
53 * @component
54 * @example
55 * ```tsx
56 * <StatCard
57 * data={{
58 * stats: [
59 * { label: "Revenue", value: "$12,543", change: 12.5, trend: "up" },
60 * { label: "Orders", value: "342", change: -3.2, trend: "down" },
61 * { label: "Customers", value: "1,205", change: 0, trend: "neutral" }
62 * ]
63 * }}
64 * />
65 * ```
66 */
67export function StatCard({ data }: StatCardProps) {
68 const resolved: NonNullable<StatCardProps['data']> = data ?? { stats: demoStats }
69 const stats = resolved.stats ?? []
70 const getTrendIcon = (trend?: "up" | "down" | "neutral") => {
71 switch (trend) {
72// … truncated

What it pulls in

npm packages

  • lucide-react

Files it writes

  • registry/miscellaneous/stat-card.tsx
  • registry/miscellaneous/demo/miscellaneous.ts

Facts

Registry
Manifest UI
Type
registry:block
Access
Free
Files written
2
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

ui.manifest.build Raw registry item This item as JSON

More from Manifest UI

All 32 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Amount Inputamount-inputManifest UIBlocksFree1 dep · 2 files
Chat Conversationchat-conversationManifest UIBlocksFree1 dep · 3 files
Contact Formcontact-formManifest UIBlocksFree1 dep · 3 files
Date & Time Pickerdate-time-pickerManifest UIBlocksFree1 dep · 2 files
Event Cardevent-cardManifest UIBlocksFree1 dep · 2 files
Event Confirmationevent-confirmationManifest UIBlocksFree1 dep · 2 files
Event Detailevent-detailManifest UIBlocksFree3 deps · 2 files
Event Listevent-listManifest UIBlocksFree3 deps · 2 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex