Home / File/ button-with-icon.json — ui Source File

button-with-icon.json — ui Source File

Architecture documentation for button-with-icon.json, a json file in the ui codebase.

Entity Profile

Source Code

{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button-with-icon",
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/new-york-v4/examples/button-with-icon.tsx",
      "content": "import { IconGitBranch } from \"@tabler/icons-react\"\n\nimport { Button } from \"@/registry/new-york-v4/ui/button\"\n\nexport default function ButtonWithIcon() {\n  return (\n    <Button variant=\"outline\" size=\"sm\">\n      <IconGitBranch /> New Branch\n    </Button>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free