{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tabs-18",
  "title": "Vertical underline tabs",
  "description": "A primary line slides along the start edge of a tab column.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/tabs.json",
    "https://ui.ndekocode.dev/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/tabs/tabs-18.tsx",
      "content": "import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';\n\nimport { Tabs, TabsPanel, TabsTab } from '@/registry/ndeko/ui/tabs';\n\nconst TABS = [\n  {\n    value: 'overview',\n    label: 'Overview',\n    content: 'Open tasks, recent activity and the next deadlines.',\n  },\n  {\n    value: 'projects',\n    label: 'Projects',\n    content: 'Three active projects, sorted by their latest update.',\n  },\n  {\n    value: 'packages',\n    label: 'Packages',\n    content:\n      'Packages published from this workspace, with their latest version.',\n  },\n];\n\nconst INDICATOR =\n  'pointer-events-none absolute top-0 left-0 h-(--active-tab-height) w-0.5 translate-y-(--active-tab-top) rounded-full bg-primary transition-[translate,height] duration-300 ease-(--ease-out-strong)';\n\nconst PANEL_CARD =\n  'grow rounded-xl bg-card shadow-[0_1px_2px_rgb(0_0_0/0.04)] hairline-ring ring-border';\n\nexport default function Tabs18() {\n  return (\n    <Tabs defaultValue='overview' orientation='vertical' className='w-full'>\n      <TabsPrimitive.List className='hairline-l border-border relative flex flex-col self-start'>\n        {TABS.map((tab) => (\n          <TabsTab\n            key={tab.value}\n            value={tab.value}\n            className='h-8 w-full justify-start px-3'\n          >\n            {tab.label}\n          </TabsTab>\n        ))}\n        <TabsPrimitive.Indicator className={INDICATOR} />\n      </TabsPrimitive.List>\n      <div className={PANEL_CARD}>\n        {TABS.map((tab) => (\n          <TabsPanel key={tab.value} value={tab.value}>\n            <p className='text-muted-foreground px-4 py-3 text-xs'>\n              {tab.content}\n            </p>\n          </TabsPanel>\n        ))}\n      </div>\n    </Tabs>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "tabs"
  ],
  "type": "registry:component"
}