{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "spotlight-card-demo",
  "title": "Spotlight Card Demo",
  "description": "A worked example of Spotlight Card: A card that catches a light following the pointer, and can light every card in its grid from the same pointer at once.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/spotlight-card.json"
  ],
  "files": [
    {
      "path": "components/demos/spotlight-card-demo.tsx",
      "content": "\"use client\"\n\nimport { SpotlightCard } from \"@/registry/default/spotlight-card/spotlight-card\"\n\nconst plans = [\n  { name: \"Sketch\", price: \"Free\", note: \"One project, all components.\" },\n  { name: \"Studio\", price: \"$12\", note: \"Unlimited projects and themes.\" },\n  { name: \"Workshop\", price: \"$40\", note: \"Everything, plus review calls.\" },\n]\n\nexport function SpotlightCardDemo() {\n  return (\n    <div className=\"grid w-full max-w-2xl gap-3 sm:grid-cols-3\">\n      {plans.map((plan) => (\n        <SpotlightCard key={plan.name} followGroup className=\"p-5\">\n          <p className=\"text-sm font-semibold\">{plan.name}</p>\n          <p className=\"mt-2 text-2xl font-semibold\">{plan.price}</p>\n          <p className=\"text-muted-foreground mt-2 text-xs\">{plan.note}</p>\n        </SpotlightCard>\n      ))}\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}