Home / File/ root.tsx — ui Source File

root.tsx — ui Source File

Architecture documentation for root.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx FrameworkTooling TemplateSync 2 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  89b13c2e_13c1_90f3_53a9_66738b6ea6b9["root.tsx"]
  b7fed55c_cc5d_ce87_6b8f_010b7108bc54["tailwind.css"]
  89b13c2e_13c1_90f3_53a9_66738b6ea6b9 --> b7fed55c_cc5d_ce87_6b8f_010b7108bc54
  b969017e_0ead_3c70_277e_2e4416d7a8ed["react"]
  89b13c2e_13c1_90f3_53a9_66738b6ea6b9 --> b969017e_0ead_3c70_277e_2e4416d7a8ed
  style 89b13c2e_13c1_90f3_53a9_66738b6ea6b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Links,
  Meta,
  Outlet,
  Scripts,
  ScrollRestoration,
} from "@remix-run/react";
import "./tailwind.css";

export function Layout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <head>
        <meta charSet="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <Meta />
        <Links />
      </head>
      <body>
        {children}
        <ScrollRestoration />
        <Scripts />
      </body>
    </html>
  );
}

export default function App() {
  return <Outlet />;
}

Subdomains

Functions

Dependencies

Frequently Asked Questions

What does root.tsx do?
root.tsx is a source file in the ui codebase, written in tsx. It belongs to the FrameworkTooling domain, TemplateSync subdomain.
What functions are defined in root.tsx?
root.tsx defines 2 function(s): App, Layout.
What does root.tsx depend on?
root.tsx imports 2 module(s): react, tailwind.css.
Where is root.tsx in the architecture?
root.tsx is located at packages/shadcn/test/fixtures/frameworks/remix/app/root.tsx (domain: FrameworkTooling, subdomain: TemplateSync, directory: packages/shadcn/test/fixtures/frameworks/remix/app).

Analyze Your Own Codebase

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

Try Supermodel Free