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 DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import { IconGitBranch, IconGitFork } from "@tabler/icons-react"

export default function ButtonWithIcon() {
  return (
    <div className="flex gap-2">
      <Button variant="outline">
        <IconGitBranch data-icon="inline-start" /> New Branch
      </Button>
      <Button variant="outline">
        Fork
        <IconGitFork data-icon="inline-end" />
      </Button>
    </div>
  )
}

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 DocumentationAtlas domain, SearchAPI 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/examples/base/button-with-icon.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free