Home / File/ toggle-demo.json — ui Source File

toggle-demo.json — ui Source File

Architecture documentation for toggle-demo.json, a json file in the ui codebase.

Entity Profile

Source Code

{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "toggle-demo",
  "type": "registry:example",
  "author": "shadcn (https://ui.shadcn.com)",
  "registryDependencies": [
    "toggle"
  ],
  "files": [
    {
      "path": "examples/toggle-demo.tsx",
      "content": "import { Bold } from \"lucide-react\"\n\nimport { Toggle } from \"@/registry/new-york/ui/toggle\"\n\nexport default function ToggleDemo() {\n  return (\n    <Toggle aria-label=\"Toggle italic\">\n      <Bold className=\"h-4 w-4\" />\n    </Toggle>\n  )\n}\n",
      "type": "registry:example",
      "target": ""
    }
  ]
}

Frequently Asked Questions

What does toggle-demo.json do?
toggle-demo.json is a source file in the ui codebase, written in json.
Where is toggle-demo.json in the architecture?
toggle-demo.json is located at apps/v4/public/r/styles/new-york/toggle-demo.json (directory: apps/v4/public/r/styles/new-york).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free