{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "toggle-group",
  "type": "registry:ui",
  "title": "Toggle group",
  "description": "Toggle group on Base UI that wraps Toggle buttons for single or multiple selection with shared keyboard navigation. Use it for text formatting or view modes.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/toggle-group.tsx",
      "type": "registry:ui",
      "target": "components/ui/toggle-group.tsx",
      "content": "\"use client\"\nimport { ToggleGroup as ToggleGroupPrimitive } from \"@base-ui/react/toggle-group\"\nimport { cn } from \"@/lib/utils\"\n\nfunction ToggleGroup({\n  className,\n  ...props\n}: ToggleGroupPrimitive.Props) {\n  return (\n    <ToggleGroupPrimitive\n      data-slot=\"toggle-group\"\n      className={cn(\n        \"inline-flex items-center gap-1 rounded-xl border border-border bg-surface p-1\",\n        \"shadow-highlight\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { ToggleGroup }\n"
    }
  ]
}
