{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "sheet-snap-points-example",
  "title": "Sheet Snap Points",
  "description": "sheet-snap-points-example",
  "registryDependencies": [
    "https://intentui.com/r/button",
    "https://intentui.com/r/sheet"
  ],
  "files": [
    {
      "path": "src/components/examples/overlays/sheet/sheet-snap-points-example.tsx",
      "content": "\"use client\"\n\nimport { Button } from \"@/components/ui/button\"\nimport {\n  SheetTrigger,\n  SheetBody,\n  SheetClose,\n  Sheet,\n  SheetFooter,\n  SheetHeader,\n} from \"@/components/ui/sheet\"\n\nconst itinerary = [\n  { time: \"09:00\", title: \"Coffee at the studio\", description: \"Meet the team and plan the day.\" },\n  { time: \"10:00\", title: \"Design workshop\", description: \"Explore ideas for the next release.\" },\n  {\n    time: \"12:00\",\n    title: \"Lunch together\",\n    description: \"Take a break at our favorite local spot.\",\n  },\n  { time: \"14:00\", title: \"Prototype review\", description: \"Walk through the new interactions.\" },\n  {\n    time: \"16:00\",\n    title: \"Team retrospective\",\n    description: \"Share what worked and what to improve.\",\n  },\n  { time: \"17:00\", title: \"Wrap up\", description: \"Capture next steps before heading home.\" },\n]\n\nexport default function SheetSnapPointsExample() {\n  return (\n    <SheetTrigger>\n      <Button intent=\"outline\">View itinerary</Button>\n      <Sheet snapPoints={[\"50%\", \"100%\"]} className=\"group/itinerary mx-auto h-[80dvh] max-w-lg\">\n        <SheetHeader\n          title=\"Team day itinerary\"\n          description=\"Swipe up to see the full schedule, or down to collapse or dismiss.\"\n        />\n        <SheetBody className=\"overflow-hidden group-data-expanded/itinerary:overflow-auto\">\n          <ol className=\"divide-y divide-border\">\n            {itinerary.map((event) => (\n              <li key={event.time} className=\"flex gap-4 py-5\">\n                <span className=\"w-12 shrink-0 text-muted-foreground text-sm tabular-nums\">\n                  {event.time}\n                </span>\n                <div className=\"space-y-1\">\n                  <p className=\"font-medium text-sm\">{event.title}</p>\n                  <p className=\"text-muted-foreground text-sm\">{event.description}</p>\n                </div>\n              </li>\n            ))}\n          </ol>\n        </SheetBody>\n        <SheetFooter>\n          <SheetClose intent=\"secondary\">Done</SheetClose>\n        </SheetFooter>\n      </Sheet>\n    </SheetTrigger>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/sheet-snap-points-example/page.tsx"
    }
  ],
  "type": "registry:page"
}