{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "family-sharing",
  "type": "registry:block",
  "description": "Family share switches",
  "files": [
    {
      "path": "registry/predict/app/family/family-sharing.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { ShareStrip, ShareSwitch } from \"@workspace/ui/predict/app/family\"\n\nexport function FamilySharing() {\n  const [mood, setMood] = React.useState(true)\n  const [sleep, setSleep] = React.useState(false)\n  const shared = [mood && \"mood\", sleep && \"sleep\"].filter(Boolean)\n  return (\n    <div className=\"flex w-[370px] max-w-full flex-col gap-3 text-foreground\">\n      <ShareStrip className=\"self-start\">\n        {shared.length ? `Asha sees your ${shared.join(\" and \")}` : \"Asha sees nothing yet\"}\n      </ShareStrip>\n      <div className=\"flex flex-col rounded-[24px] bg-lavender px-[18px] py-1.5\">\n        <ShareSwitch label=\"Mood\" checked={mood} onCheckedChange={setMood} />\n        <ShareSwitch label=\"Sleep\" checked={sleep} onCheckedChange={setSleep} />\n        <ShareSwitch label=\"Blood tests\" disabled />\n      </div>\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}