Home / File/ page.tsx — ui Source File

page.tsx — ui Source File

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

File tsx ComponentRegistry ChartRegistry 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  0e22111f_189f_d018_ad26_2a10c1e353e8["page.tsx"]
  1bd0e49f_db8f_2316_34d3_0d4b3d9ed930["app-sidebar"]
  0e22111f_189f_d018_ad26_2a10c1e353e8 --> 1bd0e49f_db8f_2316_34d3_0d4b3d9ed930
  e844a030_ea48_71d6_6acc_80e6a0d5b870["site-header"]
  0e22111f_189f_d018_ad26_2a10c1e353e8 --> e844a030_ea48_71d6_6acc_80e6a0d5b870
  12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"]
  0e22111f_189f_d018_ad26_2a10c1e353e8 --> 12632a83_ef01_5f03_4110_ed33d49893b7
  style 0e22111f_189f_d018_ad26_2a10c1e353e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AppSidebar } from "@/registry/new-york-v4/blocks/sidebar-16/components/app-sidebar"
import { SiteHeader } from "@/registry/new-york-v4/blocks/sidebar-16/components/site-header"
import {
  SidebarInset,
  SidebarProvider,
} from "@/registry/new-york-v4/ui/sidebar"

export const iframeHeight = "800px"

export const description = "A sidebar with a header and a search form."

export default function Page() {
  return (
    <div className="[--header-height:calc(--spacing(14))]">
      <SidebarProvider className="flex flex-col">
        <SiteHeader />
        <div className="flex flex-1">
          <AppSidebar />
          <SidebarInset>
            <div className="flex flex-1 flex-col gap-4 p-4">
              <div className="grid auto-rows-min gap-4 md:grid-cols-3">
                <div className="bg-muted/50 aspect-video rounded-xl" />
                <div className="bg-muted/50 aspect-video rounded-xl" />
                <div className="bg-muted/50 aspect-video rounded-xl" />
              </div>
              <div className="bg-muted/50 min-h-[100vh] flex-1 rounded-xl md:min-h-min" />
            </div>
          </SidebarInset>
        </div>
      </SidebarProvider>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • app-sidebar
  • sidebar
  • site-header

Frequently Asked Questions

What does page.tsx do?
page.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in page.tsx?
page.tsx defines 1 function(s): Page.
What does page.tsx depend on?
page.tsx imports 3 module(s): app-sidebar, sidebar, site-header.
Where is page.tsx in the architecture?
page.tsx is located at apps/v4/registry/new-york-v4/blocks/sidebar-16/page.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/sidebar-16).

Analyze Your Own Codebase

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

Try Supermodel Free