{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "p-switch-4",
  "description": "Switch card",
  "registryDependencies": [
    "@coss/label",
    "@coss/switch"
  ],
  "files": [
    {
      "path": "registry/default/particles/p-switch-4.tsx",
      "content": "import { useId } from \"react\";\nimport { Label } from \"@/registry/default/ui/label\";\nimport { Switch } from \"@/registry/default/ui/switch\";\n\nexport default function Particle() {\n  const id = useId();\n\n  return (\n    <Label\n      className=\"flex items-center gap-6 rounded-lg border p-3 hover:bg-accent/50 has-data-checked:border-primary/48 has-data-checked:bg-accent/50\"\n      htmlFor={id}\n    >\n      <div className=\"flex flex-col gap-1\">\n        <p>Enable notifications</p>\n        <p className=\"text-muted-foreground text-xs\">\n          You can enable or disable notifications at any time.\n        </p>\n      </div>\n      <Switch\n        className=\"[--thumb-size:--spacing(4)] sm:[--thumb-size:--spacing(3)]\"\n        defaultChecked\n        id={id}\n      />\n    </Label>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "categories": [
    "switch"
  ],
  "type": "registry:block"
}