{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "agent-card",
  "title": "Agent Card",
  "description": "Card with a gradient cover, icon tiles, title, description and an optional author row.",
  "registryDependencies": [
    "@pestoui/icon-tile",
    "@pestoui/orb-avatar",
    "@pestoui/style",
    "@pestoui/utils"
  ],
  "files": [
    {
      "path": "pestoui/components/agent-card.tsx",
      "content": "import { IconTile } from \"@/components/icon-tile\"\nimport { OrbAvatar, type OrbHue } from \"@/components/orb-avatar\"\nimport { cn } from \"@/lib/utils\"\n\nexport type CoverGradient = \"sky\" | \"sunrise\" | \"blossom\" | \"meadow\"\n\nexport function AgentCard({\n  title,\n  description,\n  gradient,\n  icons,\n  author,\n  authorHue = \"violet\",\n  cover = \"bleed\",\n  className,\n}: {\n  title: string\n  description: string\n  gradient: CoverGradient\n  icons: React.ReactNode[]\n  /* Omit to drop the \"by\" row entirely */\n  author?: string\n  authorHue?: OrbHue\n  /* bleed: cover runs to the card edges · inset: cover sits in a white frame */\n  cover?: \"bleed\" | \"inset\"\n  className?: string\n}) {\n  const inset = cover === \"inset\"\n\n  return (\n    /* Motion: the whole card is the target, so the card answers rather than\n       anything inside it. Hover raises it two pixels and steps the resting\n       shadow up one rung of the scale — travel and shadow together are what\n       read as a lift; either alone reads as a slide. Press is the system press\n       spring, and it can own the entire surface here because nothing inside\n       this card is interactive, so there is no child press to fight. */\n    <div\n      className={cn(\n        \"flex flex-col overflow-hidden rounded-xl bg-card shadow-card ring-1 ring-foreground/[0.04] transition-[box-shadow,translate,scale] duration-base ease-out-expo hover:-translate-y-0.5 hover:shadow-float active:scale-99 active:duration-spring-press active:ease-spring-press\",\n        inset && \"p-2\",\n        className\n      )}\n    >\n      <div\n        className={cn(\n          \"flex h-48 items-center justify-center gap-4\",\n          `gradient-${gradient}`,\n          inset ? \"rounded-[14px]\" : \"rounded-t-[calc(var(--radius-xl)-1px)]\"\n        )}\n      >\n        {icons.map((icon, i) => (\n          <IconTile key={i} variant=\"raised\" size=\"xl\">\n            {icon}\n          </IconTile>\n        ))}\n      </div>\n      <div className={cn(\"px-6 pt-6 pb-6\", inset && \"px-4 pb-4\")}>\n        <h3 className=\"text-[1.1875rem] leading-snug font-semibold tracking-[-0.012em]\">\n          {title}\n        </h3>\n        <p className=\"mt-1.5 text-body leading-normal text-muted-foreground\">\n          {description}\n        </p>\n        {author ? (\n          <div className=\"mt-6 flex items-center gap-2 text-body text-muted-foreground\">\n            by\n            <span className=\"flex items-center gap-1.5 font-medium text-foreground\">\n              <OrbAvatar hue={authorHue} className=\"size-5\" />\n              {author}\n            </span>\n          </div>\n        ) : null}\n      </div>\n    </div>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}