{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-592",
  "type": "registry:component",
  "title": "Comp 592",
  "description": "Comp 592",
  "files": [
    {
      "path": "registry/ui-basic/comp-592.tsx",
      "content": "\"use client\";\r\n\r\nimport { useId, useState } from \"react\";\r\n\r\nimport { Button } from \"@/components/ui/button\";\r\nimport { Input } from \"@/components/ui/input\";\r\nimport { Label } from \"@/components/ui/label\";\r\nimport InfoMenu from \"@/components/ui/navbar-components/info-menu\";\r\nimport NotificationMenu from \"@/components/ui/navbar-components/notification-menu\";\r\nimport SettingsMenu from \"@/components/ui/navbar-components/settings-menu\";\r\nimport { Switch } from \"@/components/ui/switch\";\r\nimport { LayoutGridIcon, PlusIcon, SearchIcon } from \"lucide-react\";\r\n\r\nexport default function Component() {\r\n\tconst id = useId();\r\n\tconst [checked, setChecked] = useState<boolean>(true);\r\n\r\n\treturn (\r\n\t\t<header className=\"border-b px-4 md:px-6\">\r\n\t\t\t<div className=\"flex h-16 items-center justify-between gap-4\">\r\n\t\t\t\t{/* Left side */}\r\n\t\t\t\t<div className=\"relative flex-1\">\r\n\t\t\t\t\t<Input\r\n\t\t\t\t\t\tid={`input-${id}`}\r\n\t\t\t\t\t\tclassName=\"peer h-8 w-full max-w-xs ps-8 pe-2\"\r\n\t\t\t\t\t\tplaceholder=\"Search...\"\r\n\t\t\t\t\t\ttype=\"search\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t<div className=\"text-muted-foreground/80 pointer-events-none absolute inset-y-0 inset-s-0 flex items-center justify-center ps-2 peer-disabled:opacity-50\">\r\n\t\t\t\t\t\t<SearchIcon size={16} />\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t{/* Right side */}\r\n\t\t\t\t<div className=\"flex items-center gap-4\">\r\n\t\t\t\t\t{/* Test mode */}\r\n\t\t\t\t\t<div className=\"inline-flex items-center gap-2 max-md:hidden\">\r\n\t\t\t\t\t\t<Label\r\n\t\t\t\t\t\t\thtmlFor={`switch-${id}`}\r\n\t\t\t\t\t\t\tclassName=\"text-sm font-medium\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tTest mode\r\n\t\t\t\t\t\t</Label>\r\n\t\t\t\t\t\t<Switch\r\n\t\t\t\t\t\t\tid={`switch-${id}`}\r\n\t\t\t\t\t\t\tchecked={checked}\r\n\t\t\t\t\t\t\tonCheckedChange={setChecked}\r\n\t\t\t\t\t\t\tclassName=\"h-5 w-8 [&_span]:size-4 [&_span]:data-[state=checked]:translate-x-3 rtl:[&_span]:data-[state=checked]:-translate-x-3\"\r\n\t\t\t\t\t\t\taria-label=\"Toggle switch\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div className=\"flex items-center gap-2\">\r\n\t\t\t\t\t\t{/* Layout button */}\r\n\t\t\t\t\t\t<Button\r\n\t\t\t\t\t\t\tsize=\"icon\"\r\n\t\t\t\t\t\t\tvariant=\"ghost\"\r\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground size-8 rounded-full shadow-none\"\r\n\t\t\t\t\t\t\taria-label=\"Open layout menu\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t<LayoutGridIcon size={16} aria-hidden=\"true\" />\r\n\t\t\t\t\t\t</Button>\r\n\t\t\t\t\t\t{/* Info menu */}\r\n\t\t\t\t\t\t<InfoMenu />\r\n\t\t\t\t\t\t{/* Notification */}\r\n\t\t\t\t\t\t<NotificationMenu />\r\n\t\t\t\t\t\t{/* Settings */}\r\n\t\t\t\t\t\t<SettingsMenu />\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t{/* Add button */}\r\n\t\t\t\t\t<Button\r\n\t\t\t\t\t\tclassName=\"size-8 rounded-full\"\r\n\t\t\t\t\t\tsize=\"icon\"\r\n\t\t\t\t\t\taria-label=\"Add new item\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<PlusIcon size={16} aria-hidden=\"true\" />\r\n\t\t\t\t\t</Button>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</header>\r\n\t);\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/button.tsx",
      "content": "import * as React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport { Slot } from \"@radix-ui/react-slot\";\r\nimport { cva, type VariantProps } from \"class-variance-authority\";\r\n\r\nconst buttonVariants = cva(\r\n\t\"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm text-white hover:text-gray-400 font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\r\n\t{\r\n\t\tvariants: {\r\n\t\t\tvariant: {\r\n\t\t\t\tsimple:\r\n\t\t\t\t\t\"bg-secondary relative z-10 bg-transparent hover:border-secondary hover:bg-secondary/50  border border-transparent dark:text-white text-sm md:text-sm transition font-medium duration-200  rounded-md px-4 py-2  flex items-center justify-center\",\r\n\t\t\t\tdefault: \"bg-primary text-primary-foreground hover:bg-primary/90\",\r\n\t\t\t\tdestructive:\r\n\t\t\t\t\t\"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\r\n\t\t\t\toutline:\r\n\t\t\t\t\t\"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\r\n\t\t\t\tsecondary:\r\n\t\t\t\t\t\"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n\t\t\t\tghost: \"hover:bg-accent hover:text-black hover:stroke-black dark:text-white text-black\",\r\n\t\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\r\n\t\t\t},\r\n\t\t\tsize: {\r\n\t\t\t\tdefault: \"h-10 px-4 py-2\",\r\n\t\t\t\tsm: \"h-9 rounded-md px-3\",\r\n\t\t\t\tlg: \"h-11 rounded-md px-8\",\r\n\t\t\t\ticon: \"h-10 w-10\",\r\n\t\t\t},\r\n\t\t},\r\n\t\tdefaultVariants: {\r\n\t\t\tvariant: \"default\",\r\n\t\t\tsize: \"default\",\r\n\t\t},\r\n\t}\r\n);\r\n\r\nexport interface ButtonProps\r\n\textends React.ButtonHTMLAttributes<HTMLButtonElement>,\r\n\t\tVariantProps<typeof buttonVariants> {\r\n\tasChild?: boolean;\r\n}\r\n\r\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\r\n\t({ className, variant, size, asChild = false, ...props }, ref) => {\r\n\t\tconst Comp = asChild ? Slot : \"button\";\r\n\t\treturn (\r\n\t\t\t<Comp\r\n\t\t\t\tclassName={cn(buttonVariants({ variant, size, className }))}\r\n\t\t\t\tref={ref}\r\n\t\t\t\t{...props}\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n);\r\nButton.displayName = \"Button\";\r\n\r\nexport { Button, buttonVariants };\r\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/utilities/cn.ts",
      "content": "import { ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n\treturn twMerge(clsx(inputs));\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/input.tsx",
      "content": "// SHADCN UI GENERATED CODE\n\nimport React from \"react\";\n\nimport { cn } from \"@/registry/utilities/cn\";\n\nexport interface InputProps\n\textends React.InputHTMLAttributes<HTMLInputElement> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n\t({ className, type, ...props }, ref) => {\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={type}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n\t\t\t\t\tclassName\n\t\t\t\t)}\n\t\t\t\tref={ref}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\nInput.displayName = \"Input\";\n\nexport { Input };\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/label.tsx",
      "content": "\"use client\";\n\nimport React from \"react\";\n\nimport { cn } from \"@/registry/utilities/cn\";\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nconst labelVariants = cva(\n\t\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n);\n\nconst Label = React.forwardRef<\n\tReact.ElementRef<typeof LabelPrimitive.Root>,\n\tReact.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n\t\tVariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n\t<LabelPrimitive.Root\n\t\tref={ref}\n\t\tclassName={cn(labelVariants(), className)}\n\t\t{...props}\n\t/>\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label };\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/navbar-components/info-menu.tsx",
      "content": "import { Button } from \"@/components/ui/button\";\nimport {\n\tDropdownMenu,\n\tDropdownMenuContent,\n\tDropdownMenuItem,\n\tDropdownMenuLabel,\n\tDropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport {\n\tBookIcon,\n\tInfoIcon,\n\tLifeBuoyIcon,\n\tMessageCircleMoreIcon,\n} from \"lucide-react\";\n\nexport default function InfoMenu() {\n\treturn (\n\t\t<DropdownMenu>\n\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t<Button\n\t\t\t\t\tsize=\"icon\"\n\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\tclassName=\"size-8 rounded-full shadow-none\"\n\t\t\t\t\taria-label=\"Open edit menu\"\n\t\t\t\t>\n\t\t\t\t\t<InfoIcon\n\t\t\t\t\t\tclassName=\"text-muted-foreground\"\n\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t/>\n\t\t\t\t</Button>\n\t\t\t</DropdownMenuTrigger>\n\t\t\t<DropdownMenuContent className=\"pb-2\">\n\t\t\t\t<DropdownMenuLabel>Need help?</DropdownMenuLabel>\n\t\t\t\t<DropdownMenuItem\n\t\t\t\t\tclassName=\"cursor-pointer py-1 focus:bg-transparent focus:underline\"\n\t\t\t\t\tasChild\n\t\t\t\t>\n\t\t\t\t\t<a href=\"#\">\n\t\t\t\t\t\t<BookIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\tDocumentation\n\t\t\t\t\t</a>\n\t\t\t\t</DropdownMenuItem>\n\t\t\t\t<DropdownMenuItem\n\t\t\t\t\tclassName=\"cursor-pointer py-1 focus:bg-transparent focus:underline\"\n\t\t\t\t\tasChild\n\t\t\t\t>\n\t\t\t\t\t<a href=\"#\">\n\t\t\t\t\t\t<LifeBuoyIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\tSupport\n\t\t\t\t\t</a>\n\t\t\t\t</DropdownMenuItem>\n\t\t\t\t<DropdownMenuItem\n\t\t\t\t\tclassName=\"cursor-pointer py-1 focus:bg-transparent focus:underline\"\n\t\t\t\t\tasChild\n\t\t\t\t>\n\t\t\t\t\t<a href=\"#\">\n\t\t\t\t\t\t<MessageCircleMoreIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\tContact us\n\t\t\t\t\t</a>\n\t\t\t\t</DropdownMenuItem>\n\t\t\t</DropdownMenuContent>\n\t\t</DropdownMenu>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/navbar-components/notification-menu.tsx",
      "content": "\"use client\";\r\n\r\nimport { useState } from \"react\";\r\n\r\nimport { Button } from \"@/components/ui/button\";\r\nimport {\r\n\tPopover,\r\n\tPopoverContent,\r\n\tPopoverTrigger,\r\n} from \"@/components/ui/popover\";\r\nimport { BellIcon } from \"lucide-react\";\r\n\r\nconst initialNotifications = [\r\n\t{\r\n\t\tid: 1,\r\n\t\tuser: \"Chris Tompson\",\r\n\t\taction: \"requested review on\",\r\n\t\ttarget: \"PR #42: Feature implementation\",\r\n\t\ttimestamp: \"15 minutes ago\",\r\n\t\tunread: true,\r\n\t},\r\n\t{\r\n\t\tid: 2,\r\n\t\tuser: \"Emma Davis\",\r\n\t\taction: \"shared\",\r\n\t\ttarget: \"New component library\",\r\n\t\ttimestamp: \"45 minutes ago\",\r\n\t\tunread: true,\r\n\t},\r\n\t{\r\n\t\tid: 3,\r\n\t\tuser: \"James Wilson\",\r\n\t\taction: \"assigned you to\",\r\n\t\ttarget: \"API integration task\",\r\n\t\ttimestamp: \"4 hours ago\",\r\n\t\tunread: false,\r\n\t},\r\n\t{\r\n\t\tid: 4,\r\n\t\tuser: \"Alex Morgan\",\r\n\t\taction: \"replied to your comment in\",\r\n\t\ttarget: \"Authentication flow\",\r\n\t\ttimestamp: \"12 hours ago\",\r\n\t\tunread: false,\r\n\t},\r\n\t{\r\n\t\tid: 5,\r\n\t\tuser: \"Sarah Chen\",\r\n\t\taction: \"commented on\",\r\n\t\ttarget: \"Dashboard redesign\",\r\n\t\ttimestamp: \"2 days ago\",\r\n\t\tunread: false,\r\n\t},\r\n\t{\r\n\t\tid: 6,\r\n\t\tuser: \"Miky Derya\",\r\n\t\taction: \"mentioned you in\",\r\n\t\ttarget: \"Origin UI open graph image\",\r\n\t\ttimestamp: \"2 weeks ago\",\r\n\t\tunread: false,\r\n\t},\r\n];\r\n\r\nfunction Dot({ className }: { className?: string }) {\r\n\treturn (\r\n\t\t<svg\r\n\t\t\twidth=\"6\"\r\n\t\t\theight=\"6\"\r\n\t\t\tfill=\"currentColor\"\r\n\t\t\tviewBox=\"0 0 6 6\"\r\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\r\n\t\t\tclassName={className}\r\n\t\t\taria-hidden=\"true\"\r\n\t\t>\r\n\t\t\t<circle cx=\"3\" cy=\"3\" r=\"3\" />\r\n\t\t</svg>\r\n\t);\r\n}\r\n\r\nexport default function NotificationMenu() {\r\n\tconst [notifications, setNotifications] = useState(initialNotifications);\r\n\tconst unreadCount = notifications.filter((n) => n.unread).length;\r\n\r\n\tconst handleMarkAllAsRead = () => {\r\n\t\tsetNotifications(\r\n\t\t\tnotifications.map((notification) => ({\r\n\t\t\t\t...notification,\r\n\t\t\t\tunread: false,\r\n\t\t\t}))\r\n\t\t);\r\n\t};\r\n\r\n\tconst handleNotificationClick = (id: number) => {\r\n\t\tsetNotifications(\r\n\t\t\tnotifications.map((notification) =>\r\n\t\t\t\tnotification.id === id\r\n\t\t\t\t\t? { ...notification, unread: false }\r\n\t\t\t\t\t: notification\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<Popover>\r\n\t\t\t<PopoverTrigger asChild>\r\n\t\t\t\t<Button\r\n\t\t\t\t\tsize=\"icon\"\r\n\t\t\t\t\tvariant=\"ghost\"\r\n\t\t\t\t\tclassName=\"text-muted-foreground relative size-8 rounded-full shadow-none\"\r\n\t\t\t\t\taria-label=\"Open notifications\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<BellIcon size={16} aria-hidden=\"true\" />\r\n\t\t\t\t\t{unreadCount > 0 && (\r\n\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\taria-hidden=\"true\"\r\n\t\t\t\t\t\t\tclassName=\"bg-primary absolute top-0.5 right-0.5 size-1 rounded-full\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</Button>\r\n\t\t\t</PopoverTrigger>\r\n\t\t\t<PopoverContent className=\"w-80 p-1\">\r\n\t\t\t\t<div className=\"flex items-baseline justify-between gap-4 px-3 py-2\">\r\n\t\t\t\t\t<div className=\"text-sm font-semibold\">Notifications</div>\r\n\t\t\t\t\t{unreadCount > 0 && (\r\n\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\tclassName=\"text-xs font-medium hover:underline\"\r\n\t\t\t\t\t\t\tonClick={handleMarkAllAsRead}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tMark all as read\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</div>\r\n\t\t\t\t<div\r\n\t\t\t\t\trole=\"separator\"\r\n\t\t\t\t\taria-orientation=\"horizontal\"\r\n\t\t\t\t\tclassName=\"bg-border -mx-1 my-1 h-px\"\r\n\t\t\t\t></div>\r\n\t\t\t\t{notifications.map((notification) => (\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tkey={notification.id}\r\n\t\t\t\t\t\tclassName=\"hover:bg-accent rounded-md px-3 py-2 text-sm transition-colors\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<div className=\"relative flex items-start pe-3\">\r\n\t\t\t\t\t\t\t<div className=\"flex-1 space-y-1\">\r\n\t\t\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\t\t\tclassName=\"text-foreground/80 text-left after:absolute after:inset-0\"\r\n\t\t\t\t\t\t\t\t\tonClick={() =>\r\n\t\t\t\t\t\t\t\t\t\thandleNotificationClick(notification.id)\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t<span className=\"text-foreground font-medium hover:underline\">\r\n\t\t\t\t\t\t\t\t\t\t{notification.user}\r\n\t\t\t\t\t\t\t\t\t</span>{\" \"}\r\n\t\t\t\t\t\t\t\t\t{notification.action}{\" \"}\r\n\t\t\t\t\t\t\t\t\t<span className=\"text-foreground font-medium hover:underline\">\r\n\t\t\t\t\t\t\t\t\t\t{notification.target}\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t.\r\n\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t<div className=\"text-muted-foreground text-xs\">\r\n\t\t\t\t\t\t\t\t\t{notification.timestamp}\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t{notification.unread && (\r\n\t\t\t\t\t\t\t\t<div className=\"absolute inset-e-0 self-center\">\r\n\t\t\t\t\t\t\t\t\t<span className=\"sr-only\">Unread</span>\r\n\t\t\t\t\t\t\t\t\t<Dot />\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t))}\r\n\t\t\t</PopoverContent>\r\n\t\t</Popover>\r\n\t);\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/navbar-components/settings-menu.tsx",
      "content": "import { Button } from \"@/components/ui/button\";\nimport {\n\tDropdownMenu,\n\tDropdownMenuContent,\n\tDropdownMenuItem,\n\tDropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { SettingsIcon } from \"lucide-react\";\n\nexport default function SettingsMenu() {\n\treturn (\n\t\t<DropdownMenu>\n\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t<Button\n\t\t\t\t\tsize=\"icon\"\n\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\tclassName=\"rounded-full shadow-none\"\n\t\t\t\t\taria-label=\"Open edit menu\"\n\t\t\t\t>\n\t\t\t\t\t<SettingsIcon\n\t\t\t\t\t\tclassName=\"text-muted-foreground\"\n\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t/>\n\t\t\t\t</Button>\n\t\t\t</DropdownMenuTrigger>\n\t\t\t<DropdownMenuContent className=\"max-w-64\">\n\t\t\t\t<DropdownMenuItem>Appearance</DropdownMenuItem>\n\t\t\t\t<DropdownMenuItem>Preferences</DropdownMenuItem>\n\t\t\t\t<DropdownMenuItem>API Settings</DropdownMenuItem>\n\t\t\t</DropdownMenuContent>\n\t\t</DropdownMenu>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/switch.tsx",
      "content": "\"use client\";\r\n\r\nimport React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport * as SwitchPrimitives from \"@radix-ui/react-switch\";\r\n\r\nconst Switch = React.forwardRef<\r\n\tReact.ElementRef<typeof SwitchPrimitives.Root>,\r\n\tReact.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>\r\n>(({ className, ...props }, ref) => (\r\n\t<SwitchPrimitives.Root\r\n\t\tclassName={cn(\r\n\t\t\t\"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input\",\r\n\t\t\tclassName\r\n\t\t)}\r\n\t\t{...props}\r\n\t\tref={ref}\r\n\t>\r\n\t\t<SwitchPrimitives.Thumb\r\n\t\t\tclassName={cn(\r\n\t\t\t\t\"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0\"\r\n\t\t\t)}\r\n\t\t/>\r\n\t</SwitchPrimitives.Root>\r\n));\r\nSwitch.displayName = SwitchPrimitives.Root.displayName;\r\n\r\nexport { Switch };\r\n",
      "type": "registry:ui"
    }
  ]
}