{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "floating-glass-tab-bar-fab",
  "title": "Floating Glass Tab Bar With FAB",
  "description": "A floating translucent tab bar with a raised centre action button that opens a speed dial, keeping the home indicator clear and the content padded so nothing hides behind it. Use this when your phone app has four destinations and one primary create action that should always be within thumb reach.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "@tealmac/tab-bar",
    "@tealmac/speed-dial"
  ],
  "files": [
    {
      "path": "registry/patterns/floating-glass-tab-bar-fab/floating-glass-tab-bar-fab.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { SpeedDial, type SpeedDialAction } from \"@/components/ui/speed-dial\"\nimport { TabBar, type TabBarItem } from \"@/components/ui/tab-bar\"\n\nexport interface FloatingGlassTabBarFabProps {\n  items: TabBarItem[]\n  actions: SpeedDialAction[]\n  value: string\n  onValueChange: (id: string) => void\n}\n\nexport function FloatingGlassTabBarFab({\n  items,\n  actions,\n  value,\n  onValueChange,\n}: FloatingGlassTabBarFabProps) {\n  return (\n    <div className=\"absolute inset-x-0 bottom-0 z-30 flex items-end gap-2 px-2 pb-1\">\n      <TabBar\n        variant=\"glass\"\n        label=\"Main\"\n        items={items}\n        value={value}\n        onValueChange={onValueChange}\n        className=\"mx-0 min-w-0 flex-1\"\n      />\n      <SpeedDial\n        label=\"Create\"\n        actions={actions}\n        className=\"mb-[max(0.5rem,env(safe-area-inset-bottom))]\"\n      />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}