{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "gallery-sculpted-toggle",
  "type": "registry:ui",
  "title": "Sculpted Toggle",
  "description": "A tiny raised white switch cap with a recessed track and shared keyboard behavior.",
  "dependencies": [],
  "registryDependencies": [
    "https://pluginui.com/r/gallery-sculpted-control-styles.json",
    "https://pluginui.com/r/core-toggle-headless.json"
  ],
  "files": [
    {
      "path": "components/ui/sculpted-toggle.tsx",
      "content": "/**\n * Source: https://maru.audio/ui-kit/sculpted-toggle\n * Copyright © [Maru](https://maru.audio)\n *\n * Maru UI Kit — https://maru.audio/ui-kit\n *\n * Installed from the Maru UI registry. This file is yours now: edit it\n * freely, it will not be overwritten unless you re-run the add command.\n *\n * Keep this item’s companion files and CSS imports together. Dependencies\n * declared by the registry are installed with the source.\n */\nimport { ToggleHeadless } from \"@/components/ui/toggle-headless\"\nimport \"@/components/ui/sculpted-controls.css\"\n\nexport interface SculptedToggleProps {\n  checked: boolean\n  onChange: (checked: boolean) => void\n  label?: string\n  disabled?: boolean\n}\nexport function SculptedToggle({\n  checked,\n  onChange,\n  label = \"Advanced\",\n  disabled = false,\n}: SculptedToggleProps) {\n  return (\n    <ToggleHeadless\n      className=\"sculpted-toggle\"\n      checked={checked}\n      onChange={onChange}\n      aria-label={label}\n      disabled={disabled}\n    >\n      {({ on, pressed }) => (\n        <span data-on={on || undefined} data-pressed={pressed || undefined}>\n          <i />\n        </span>\n      )}\n    </ToggleHeadless>\n  )\n}\n",
      "type": "registry:component",
      "target": "@ui/sculpted-toggle.tsx"
    }
  ]
}
