Home / File/ layout.tsx — ui Source File

layout.tsx — ui Source File

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

File tsx ComponentRegistry Styles 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  1026f42e_b07e_292d_8a41_f485256fe71e["layout.tsx"]
  9416d7da_00df_60a8_615c_4b360d3b77f8["docs"]
  1026f42e_b07e_292d_8a41_f485256fe71e --> 9416d7da_00df_60a8_615c_4b360d3b77f8
  ce658e0a_8c22_add4_8f67_b99c1b989873["docs-nav"]
  1026f42e_b07e_292d_8a41_f485256fe71e --> ce658e0a_8c22_add4_8f67_b99c1b989873
  style 1026f42e_b07e_292d_8a41_f485256fe71e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { docsConfig } from "@/config/docs"
import { DocsNav } from "@/components/docs-nav"

export default function DocsLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <div className="container-wrapper">
      <div className="container flex-1 items-start md:grid md:grid-cols-[220px_minmax(0,1fr)] md:gap-6 lg:grid-cols-[240px_minmax(0,1fr)] lg:gap-10">
        <aside className="border-grid fixed top-14 z-30 hidden h-[calc(100vh-3.5rem)] w-full shrink-0 border-r md:sticky md:block">
          <div className="no-scrollbar h-full overflow-auto py-6 pr-4 lg:py-8">
            <DocsNav config={docsConfig} />
          </div>
        </aside>
        {children}
      </div>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • docs
  • docs-nav

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): DocsLayout.
What does layout.tsx depend on?
layout.tsx imports 2 module(s): docs, docs-nav.
Where is layout.tsx in the architecture?
layout.tsx is located at deprecated/www/app/(app)/docs/layout.tsx (domain: ComponentRegistry, subdomain: Styles, directory: deprecated/www/app/(app)/docs).

Analyze Your Own Codebase

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

Try Supermodel Free