layout.tsx — ui Source File
Architecture documentation for layout.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 747da560_9d19_74c8_bee7_b770b4e86f80["layout.tsx"] 85256a8d_6bc0_0b85_aeec_351b43eef6a7["google"] 747da560_9d19_74c8_bee7_b770b4e86f80 --> 85256a8d_6bc0_0b85_aeec_351b43eef6a7 05a44800_c87d_3705_3ad0_4887d6143775["globals.css"] 747da560_9d19_74c8_bee7_b770b4e86f80 --> 05a44800_c87d_3705_3ad0_4887d6143775 019af224_64cb_7f64_b0c9_b89ae38127a5["providers"] 747da560_9d19_74c8_bee7_b770b4e86f80 --> 019af224_64cb_7f64_b0c9_b89ae38127a5 style 747da560_9d19_74c8_bee7_b770b4e86f80 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Geist, Geist_Mono } from "next/font/google"
import "@workspace/ui/globals.css"
import { Providers } from "@/components/providers"
const fontSans = Geist({
subsets: ["latin"],
variable: "--font-sans",
})
const fontMono = Geist_Mono({
subsets: ["latin"],
variable: "--font-mono",
})
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body
className={`${fontSans.variable} ${fontMono.variable} font-sans antialiased `}
>
<Providers>{children}</Providers>
</body>
</html>
)
}
Domain
Subdomains
Functions
Dependencies
- globals.css
- providers
Source
Frequently Asked Questions
What does layout.tsx do?
layout.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, Styles subdomain.
What functions are defined in layout.tsx?
layout.tsx defines 1 function(s): RootLayout.
What does layout.tsx depend on?
layout.tsx imports 3 module(s): globals.css, google, providers.
Where is layout.tsx in the architecture?
layout.tsx is located at templates/monorepo-next/apps/web/app/layout.tsx (domain: ComponentRegistry, subdomain: Styles, directory: templates/monorepo-next/apps/web/app).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free