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
  142ff007_ee65_c9b3_5fa4_c19bdb40a7ae["page.tsx"]
  1dbd0ec1_afaa_281e_3bdb_000adcbd1d96["app-sidebar"]
  142ff007_ee65_c9b3_5fa4_c19bdb40a7ae --> 1dbd0ec1_afaa_281e_3bdb_000adcbd1d96
  6c81f43a_2ea7_deb3_0a1f_1893c07f0dcb["site-header"]
  142ff007_ee65_c9b3_5fa4_c19bdb40a7ae --> 6c81f43a_2ea7_deb3_0a1f_1893c07f0dcb
  6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"]
  142ff007_ee65_c9b3_5fa4_c19bdb40a7ae --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862
  style 142ff007_ee65_c9b3_5fa4_c19bdb40a7ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AppSidebar } from "@/registry/new-york/blocks/sidebar-16/components/app-sidebar"
import { SiteHeader } from "@/registry/new-york/blocks/sidebar-16/components/site-header"
import { SidebarInset, SidebarProvider } from "@/registry/new-york/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(theme(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="aspect-video rounded-xl bg-muted/50" />
                <div className="aspect-video rounded-xl bg-muted/50" />
                <div className="aspect-video rounded-xl bg-muted/50" />
              </div>
              <div className="min-h-[100vh] flex-1 rounded-xl bg-muted/50 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 deprecated/www/__registry__/new-york/blocks/sidebar-16/page.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/__registry__/new-york/blocks/sidebar-16).

Analyze Your Own Codebase

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

Try Supermodel Free