Home / Function/ ButtonWithIcon() — ui Function Reference

ButtonWithIcon() — ui Function Reference

Architecture documentation for the ButtonWithIcon() function in button-with-icon.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  fdde0167_2d2a_eabb_e73a_4fc025eb7449["ButtonWithIcon()"]
  c445b104_73aa_dc5c_51b9_8015f9cb594a["button-with-icon.tsx"]
  fdde0167_2d2a_eabb_e73a_4fc025eb7449 -->|defined in| c445b104_73aa_dc5c_51b9_8015f9cb594a
  style fdde0167_2d2a_eabb_e73a_4fc025eb7449 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/button-with-icon.tsx lines 4–10

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

Subdomains

Frequently Asked Questions

What does ButtonWithIcon() do?
ButtonWithIcon() is a function in the ui codebase, defined in apps/v4/examples/radix/button-with-icon.tsx.
Where is ButtonWithIcon() defined?
ButtonWithIcon() is defined in apps/v4/examples/radix/button-with-icon.tsx at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free