{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "customer-metrics-card",
  "type": "registry:item",
  "title": "Customer Metrics Card",
  "description": "A dashboard card displaying customer metrics with growth percentage and trend chart",
  "dependencies": [
    "@mui/icons-material",
    "@mui/material",
    "@mui/x-charts",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "components/customer-metrics-card/customer-metrics-card.tsx",
      "target": "src/mui-treasury/components/customer-metrics-card/customer-metrics-card.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport MoreVertIcon from '@mui/icons-material/MoreVert';\nimport TrendingUpIcon from '@mui/icons-material/TrendingUp';\nimport Box from '@mui/material/Box';\nimport Card from '@mui/material/Card';\nimport CardContent from '@mui/material/CardContent';\nimport IconButton from '@mui/material/IconButton';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport { LineChart } from '@mui/x-charts/LineChart';\n\nexport function CustomerMetricsCard() {\n  return (\n    <Card variant=\"outlined\" sx={{ maxWidth: 400 }}>\n      <CardContent>\n        <Box\n          sx={{\n            display: 'flex',\n            justifyContent: 'space-between',\n            alignItems: 'center',\n            mb: 2,\n          }}\n        >\n          <Typography\n            sx={{\n              color: 'text.secondary',\n            }}\n          >\n            Total customers\n          </Typography>\n          <IconButton size=\"small\" aria-label=\"More options\" sx={{ mr: -0.5 }}>\n            <MoreVertIcon fontSize=\"small\" />\n          </IconButton>\n        </Box>\n\n        <Box\n          sx={{\n            display: 'flex',\n            justifyContent: 'space-between',\n            alignItems: 'flex-end',\n            gap: 4,\n          }}\n        >\n          <div>\n            <Typography\n              variant=\"h3\"\n              component=\"div\"\n              sx={{\n                fontWeight: 'medium',\n              }}\n            >\n              2,420\n            </Typography>\n            <Stack\n              direction=\"row\"\n              spacing={0.5}\n              sx={{\n                alignItems: 'center',\n                mt: 1,\n              }}\n            >\n              <TrendingUpIcon fontSize=\"small\" sx={{ color: 'success.main' }} />\n              <Typography\n                variant=\"body2\"\n                sx={{\n                  color: 'success.text',\n                }}\n              >\n                40% vs last month\n              </Typography>\n            </Stack>\n          </div>\n\n          <Box sx={{ width: 120, height: 60 }}>\n            <LineChart\n              series={[\n                {\n                  data: [20, 35, 30, 40, 38, 48],\n                  color: '#52c759',\n                  curve: 'natural',\n                  showMark: false,\n                },\n              ]}\n              xAxis={[\n                {\n                  data: [1, 2, 3, 4, 5, 6],\n                  scaleType: 'point',\n                  height: 0,\n                  position: 'none',\n                },\n              ]}\n              margin={{\n                left: 0,\n                right: 0,\n                top: 5,\n                bottom: 5,\n              }}\n              yAxis={[\n                {\n                  width: 0,\n                  position: 'none',\n                },\n              ]}\n              slotProps={{\n                line: {\n                  strokeWidth: 2,\n                },\n              }}\n              height={60}\n              skipAnimation\n            />\n          </Box>\n        </Box>\n      </CardContent>\n    </Card>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/customer-metrics-card/index.ts",
      "target": "src/mui-treasury/components/customer-metrics-card/index.ts",
      "content": "export * from './customer-metrics-card';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "screenshot": "/og/customer-metrics-card.png",
    "category": "block",
    "exportName": "CustomerMetricsCard",
    "subcategory": "dashboard"
  }
}