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

button-with-icon.tsx — ui Source File

Architecture documentation for button-with-icon.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  eb3d90f7_1c40_fc5b_3561_204b81b9c92c["button-with-icon.tsx"]
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  eb3d90f7_1c40_fc5b_3561_204b81b9c92c --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  eb3d90f7_1c40_fc5b_3561_204b81b9c92c --> 57e86e45_ac6e_7278_be08_9092724e8401
  style eb3d90f7_1c40_fc5b_3561_204b81b9c92c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { IconGitBranch } from "@tabler/icons-react"

import { Button } from "@/registry/new-york-v4/ui/button"

export default function ButtonWithIcon() {
  return (
    <Button variant="outline" size="sm">
      <IconGitBranch /> New Branch
    </Button>
  )
}

Subdomains

Functions

Dependencies

  • button
  • icons-react

Frequently Asked Questions

What does button-with-icon.tsx do?
button-with-icon.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in button-with-icon.tsx?
button-with-icon.tsx defines 1 function(s): ButtonWithIcon.
What does button-with-icon.tsx depend on?
button-with-icon.tsx imports 2 module(s): button, icons-react.
Where is button-with-icon.tsx in the architecture?
button-with-icon.tsx is located at apps/v4/registry/new-york-v4/examples/button-with-icon.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free