{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "switch", "title": "Switch", "description": "A Base UI-backed binary control with keyboard behavior.", "dependencies": [ "@base-ui/react@^1.6.0" ], "registryDependencies": [ "@manner/utils", "@manner/manner-theme" ], "files": [ { "path": "registry/manner/ui/switch.tsx", "content": "\"use client\"\n\nimport { Switch as BaseSwitch } from \"@base-ui/react/switch\"\nimport * as React from \"react\"\n\nimport { cn } from \"@/lib/cn\"\n\ntype SwitchProps = Omit, \"className\"> & { className?: string }\n\nfunction Switch({ className, ...props }: SwitchProps) {\n return (\n \n \n \n )\n}\n\nexport { Switch, type SwitchProps }\n", "type": "registry:ui" } ], "type": "registry:ui" }