{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tabs-13",
  "title": "Stacked underline tabs",
  "description": "An icon above each label and a primary line under the active tab.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/animated-size.json",
    "https://ui.ndekocode.dev/r/icons.json",
    "https://ui.ndekocode.dev/r/tabs.json",
    "https://ui.ndekocode.dev/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/tabs/tabs-13.tsx",
      "content": "import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';\n\nimport {\n  BoxIcon,\n  HouseIcon,\n  PanelsTopLeftIcon,\n} from '@/registry/ndeko/lib/icons';\nimport { AnimatedSize } from '@/registry/ndeko/ui/animated-size';\nimport { Tabs, TabsPanel, TabsTab } from '@/registry/ndeko/ui/tabs';\n\nconst TABS = [\n  {\n    value: 'overview',\n    label: 'Overview',\n    icon: HouseIcon,\n    content: 'Open tasks, recent activity and the next deadlines.',\n  },\n  {\n    value: 'projects',\n    label: 'Projects',\n    icon: PanelsTopLeftIcon,\n    content: 'Three active projects, sorted by their latest update.',\n  },\n  {\n    value: 'packages',\n    label: 'Packages',\n    icon: BoxIcon,\n    content:\n      'Packages published from this workspace, with their latest version.',\n  },\n];\n\nconst INDICATOR =\n  'pointer-events-none absolute bottom-0 left-0 h-0.5 w-(--active-tab-width) translate-x-(--active-tab-left) rounded-full bg-primary transition-[translate,width] duration-300 ease-(--ease-out-strong)';\n\nconst STACKED_TAB = 'flex-col gap-1.5 rounded-md px-4 py-2 text-xs';\n\nexport default function Tabs13() {\n  return (\n    <Tabs defaultValue='overview' className='items-center'>\n      <TabsPrimitive.List className='hairline-b border-border relative flex items-center'>\n        {TABS.map((tab) => (\n          <TabsTab key={tab.value} value={tab.value} className={STACKED_TAB}>\n            <tab.icon className='opacity-60' />\n            {tab.label}\n          </TabsTab>\n        ))}\n        <TabsPrimitive.Indicator className={INDICATOR} />\n      </TabsPrimitive.List>\n      <AnimatedSize>\n        {TABS.map((tab) => (\n          <TabsPanel key={tab.value} value={tab.value}>\n            <p className='text-muted-foreground p-4 text-center text-xs'>\n              {tab.content}\n            </p>\n          </TabsPanel>\n        ))}\n      </AnimatedSize>\n    </Tabs>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "tabs"
  ],
  "type": "registry:component"
}