button-aschild.tsx — ui Source File
Architecture documentation for button-aschild.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 849f82fd_2a23_c02a_6016_19daf6add065["button-aschild.tsx"] ba3d44f3_7b34_f9cc_6283_44817785c0df["link"] 849f82fd_2a23_c02a_6016_19daf6add065 --> ba3d44f3_7b34_f9cc_6283_44817785c0df 4b1d2128_46d9_46f0_b915_b6e1925b7876["button"] 849f82fd_2a23_c02a_6016_19daf6add065 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876 style 849f82fd_2a23_c02a_6016_19daf6add065 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Link from "next/link"
import { Button } from "@/examples/radix/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-aschild.tsx do?
button-aschild.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in button-aschild.tsx?
button-aschild.tsx defines 1 function(s): ButtonAsChild.
What does button-aschild.tsx depend on?
button-aschild.tsx imports 2 module(s): button, link.
Where is button-aschild.tsx in the architecture?
button-aschild.tsx is located at apps/v4/examples/radix/button-aschild.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free