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 9bb672b5_7c78_19db_1df2_174b491f3a9b["ButtonWithIcon()"] 2015266f_ce4a_a131_b5d9_18200a31abac["button-with-icon.tsx"] 9bb672b5_7c78_19db_1df2_174b491f3a9b -->|defined in| 2015266f_ce4a_a131_b5d9_18200a31abac style 9bb672b5_7c78_19db_1df2_174b491f3a9b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/button-with-icon.tsx lines 4–16
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>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ButtonWithIcon() do?
ButtonWithIcon() is a function in the ui codebase, defined in apps/v4/examples/base/button-with-icon.tsx.
Where is ButtonWithIcon() defined?
ButtonWithIcon() is defined in apps/v4/examples/base/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