{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"application-application-stats-with-progress","type":"registry:block","title":"With Progress","files":[{"path":"components/blocks/application/application-stats/with-progress.tsx","content":"import { Progress } from \"@/components/ui/progress\";\nimport { Card, CardContent } from \"@/components/ui/card\";\n\nexport default function WithProgress() {\n  return (\n    <div className=\"container mx-auto px-4 py-10 md:px-6 2xl:max-w-[1400px]\">\n      <div className=\"grid gap-4 sm:grid-cols-2 sm:gap-6 lg:grid-cols-4\">\n        {/* Card */}\n        <Card className=\"pt-0\">\n          <CardContent className=\"pt-6\">\n            <div className=\"flex flex-col gap-4\">\n              <div>\n                <p className=\"text-muted-foreground text-xs tracking-wide uppercase\">\n                  Storage Used\n                </p>\n                <div className=\"mt-1\">\n                  <h3 className=\"text-xl font-medium sm:text-2xl\">78.2%</h3>\n                </div>\n              </div>\n              <Progress value={78.2} className=\"h-2\" />\n            </div>\n          </CardContent>\n        </Card>\n\n        {/* Card */}\n        <Card className=\"pt-0\">\n          <CardContent className=\"pt-6\">\n            <div className=\"flex flex-col gap-4\">\n              <div>\n                <p className=\"text-muted-foreground text-xs tracking-wide uppercase\">\n                  CPU Load\n                </p>\n                <div className=\"mt-1\">\n                  <h3 className=\"text-xl font-medium sm:text-2xl\">32.5%</h3>\n                </div>\n              </div>\n              <Progress value={32.5} className=\"h-2\" />\n            </div>\n          </CardContent>\n        </Card>\n\n        {/* Card */}\n        <Card className=\"pt-0\">\n          <CardContent className=\"pt-6\">\n            <div className=\"flex flex-col gap-4\">\n              <div>\n                <p className=\"text-muted-foreground text-xs tracking-wide uppercase\">\n                  Memory Usage\n                </p>\n                <div className=\"mt-1\">\n                  <h3 className=\"text-xl font-medium sm:text-2xl\">89.2%</h3>\n                </div>\n              </div>\n              <Progress value={89.2} className=\"h-2\" />\n            </div>\n          </CardContent>\n        </Card>\n\n        {/* Card */}\n        <Card className=\"pt-0\">\n          <CardContent className=\"pt-6\">\n            <div className=\"flex flex-col gap-4\">\n              <div>\n                <p className=\"text-muted-foreground text-xs tracking-wide uppercase\">\n                  Network Load\n                </p>\n                <div className=\"mt-1\">\n                  <h3 className=\"text-xl font-medium sm:text-2xl\">45.8%</h3>\n                </div>\n              </div>\n              <Progress value={45.8} className=\"h-2\" />\n            </div>\n          </CardContent>\n        </Card>\n      </div>\n    </div>\n  );\n}\n","type":"registry:component","target":"components/blocks/application/application-stats/with-progress.tsx"},{"path":"components/ui/progress.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Progress as ProgressPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Progress({\n  className,\n  value,\n  ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n  return (\n    <ProgressPrimitive.Root\n      data-slot=\"progress\"\n      className={cn(\n        \"relative flex h-1.5 w-full items-center overflow-x-hidden rounded-full bg-muted\",\n        className\n      )}\n      {...props}\n    >\n      <ProgressPrimitive.Indicator\n        data-slot=\"progress-indicator\"\n        className=\"size-full flex-1 bg-primary transition-all\"\n        style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n      />\n    </ProgressPrimitive.Root>\n  )\n}\n\nexport { Progress }\n","type":"registry:ui","target":"components/ui/progress.tsx"},{"path":"components/ui/card.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Card({\n  className,\n  size = \"default\",\n  ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n  return (\n    <div\n      data-slot=\"card\"\n      data-size={size}\n      className={cn(\n        \"group/card flex flex-col gap-6 overflow-hidden rounded-xl bg-card py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-header\"\n      className={cn(\n        \"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-title\"\n      className={cn(\n        \"font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-description\"\n      className={cn(\"text-sm text-muted-foreground\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-action\"\n      className={cn(\n        \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-content\"\n      className={cn(\"px-6 group-data-[size=sm]/card:px-4\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-footer\"\n      className={cn(\n        \"flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport {\n  Card,\n  CardHeader,\n  CardFooter,\n  CardTitle,\n  CardAction,\n  CardDescription,\n  CardContent,\n}\n","type":"registry:ui","target":"components/ui/card.tsx"}],"description":"Stat cards that pair a number with a progress bar moving toward a target. Use to show goal completion for revenue, storage, or active user counts.","dependencies":["radix-ui"]}