button-as-child.tsx — ui Source File
Architecture documentation for button-as-child.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 917e05af_3fc3_5b62_61e9_6840b9b4d2ef["button-as-child.tsx"] ba3d44f3_7b34_f9cc_6283_44817785c0df["link"] 917e05af_3fc3_5b62_61e9_6840b9b4d2ef --> ba3d44f3_7b34_f9cc_6283_44817785c0df aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"] 917e05af_3fc3_5b62_61e9_6840b9b4d2ef --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939 style 917e05af_3fc3_5b62_61e9_6840b9b4d2ef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Link from "next/link"
import { Button } from "@/registry/new-york/ui/button"
export default function ButtonAsChild() {
return (
<Button asChild>
<Link href="/login">Login</Link>
</Button>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- link
Source
Frequently Asked Questions
What does button-as-child.tsx do?
button-as-child.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-as-child.tsx?
button-as-child.tsx defines 1 function(s): ButtonAsChild.
What does button-as-child.tsx depend on?
button-as-child.tsx imports 2 module(s): button, link.
Where is button-as-child.tsx in the architecture?
button-as-child.tsx is located at deprecated/www/registry/new-york/examples/button-as-child.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free