{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tabs",
  "type": "registry:ui",
  "description": "Switch between multiple content sections with tab controls.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "components/ui/tabs.tsx",
      "content": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { Tabs as BaseTabs } from \"@base-ui/react/tabs\"\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nconst Tabs = BaseTabs.Root\r\n\r\ntype TabsListProps = React.ComponentPropsWithoutRef<typeof BaseTabs.List>\r\n\r\nconst TabsList = React.forwardRef<\r\n    React.ComponentRef<typeof BaseTabs.List>,\r\n    TabsListProps\r\n>(({ className, ...props }, ref) => (\r\n    <BaseTabs.List\r\n        ref={ref}\r\n        className={cn(\r\n            \"inline-flex items-center gap-1 rounded-base border-2 border-black bg-white p-1\",\r\n            className\r\n        )}\r\n        {...props}\r\n    />\r\n))\r\nTabsList.displayName = \"TabsList\"\r\n\r\ntype TabsTriggerProps = React.ComponentPropsWithoutRef<typeof BaseTabs.Tab>\r\n\r\nconst TabsTrigger = React.forwardRef<\r\n    React.ComponentRef<typeof BaseTabs.Tab>,\r\n    TabsTriggerProps\r\n>(({ className, ...props }, ref) => (\r\n    <BaseTabs.Tab\r\n        ref={ref}\r\n        className={cn(\r\n            \"inline-flex items-center justify-center whitespace-nowrap rounded-base px-4 py-2 text-sm font-bold transition-colors focus-brutal disabled:pointer-events-none disabled:opacity-50 data-active:border-2 data-active:border-black data-active:bg-main data-active:text-black data-[state=inactive]:bg-transparent data-[state=inactive]:hover:bg-main/50 text-black\",\r\n            className\r\n        )}\r\n        {...props}\r\n    />\r\n))\r\nTabsTrigger.displayName = \"TabsTrigger\"\r\n\r\ntype TabsContentProps = React.ComponentPropsWithoutRef<typeof BaseTabs.Panel>\r\n\r\nconst TabsContent = React.forwardRef<\r\n    React.ComponentRef<typeof BaseTabs.Panel>,\r\n    TabsContentProps\r\n>(({ className, ...props }, ref) => (\r\n    <BaseTabs.Panel\r\n        ref={ref}\r\n        className={cn(\r\n            \"mt-4 rounded-base border-2 border-black bg-white p-4 shadow-brutal focus-brutal text-black\",\r\n            className\r\n        )}\r\n        {...props}\r\n    />\r\n))\r\nTabsContent.displayName = \"TabsContent\"\r\n\r\nexport { Tabs, TabsList, TabsTrigger, TabsContent }\r\n",
      "type": "registry:ui"
    }
  ]
}