Home / File/ toggle-with-text.json — ui Source File

toggle-with-text.json — ui Source File

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

Entity Profile

Source Code

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

Frequently Asked Questions

What does toggle-with-text.json do?
toggle-with-text.json is a source file in the ui codebase, written in json.
Where is toggle-with-text.json in the architecture?
toggle-with-text.json is located at deprecated/www/public/r/styles/new-york/toggle-with-text.json (directory: deprecated/www/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