Home / File/ layout.tsx — ui Source File

layout.tsx — ui Source File

Architecture documentation for layout.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx FrameworkTooling CLICore 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  d219db58_d218_3de7_beb5_a15401539826["layout.tsx"]
  0f5ba625_16fa_eded_6e60_29e061720d7c["globals.css"]
  d219db58_d218_3de7_beb5_a15401539826 --> 0f5ba625_16fa_eded_6e60_29e061720d7c
  a1477d2b_e38e_1198_7f24_4d12a36f7fbb["sans"]
  d219db58_d218_3de7_beb5_a15401539826 --> a1477d2b_e38e_1198_7f24_4d12a36f7fbb
  9c1a1e1b_87f8_29d5_c12d_e83869cf94e4["next"]
  d219db58_d218_3de7_beb5_a15401539826 --> 9c1a1e1b_87f8_29d5_c12d_e83869cf94e4
  style d219db58_d218_3de7_beb5_a15401539826 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import "~/styles/globals.css";

import { GeistSans } from "geist/font/sans";
import { type Metadata } from "next";

export const metadata: Metadata = {
  title: "Create T3 App",
  description: "Generated by create-t3-app",
  icons: [{ rel: "icon", url: "/favicon.ico" }],
};

export default function RootLayout({
  children,
}: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="en" className={`${GeistSans.variable}`}>
      <body>{children}</body>
    </html>
  );
}

Subdomains

Functions

Dependencies

  • globals.css
  • next
  • sans

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 FrameworkTooling domain, CLICore 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, next, sans.
Where is layout.tsx in the architecture?
layout.tsx is located at packages/shadcn/test/fixtures/frameworks/t3-app/src/app/layout.tsx (domain: FrameworkTooling, subdomain: CLICore, directory: packages/shadcn/test/fixtures/frameworks/t3-app/src/app).

Analyze Your Own Codebase

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

Try Supermodel Free