Home / Function/ Page() — ui Function Reference

Page() — ui Function Reference

Architecture documentation for the Page() function in page.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  c651e457_2d77_4329_2403_a1ae744e52af["Page()"]
  f62db705_6cf4_1da2_16a7_a0181ca6bde0["page.tsx"]
  c651e457_2d77_4329_2403_a1ae744e52af -->|defined in| f62db705_6cf4_1da2_16a7_a0181ca6bde0
  style c651e457_2d77_4329_2403_a1ae744e52af fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/blocks/sidebar-01/page.tsx lines 17–50

export default function Page() {
  return (
    <SidebarProvider>
      <AppSidebar />
      <SidebarInset>
        <header className="flex h-16 shrink-0 items-center gap-2 border-b px-4">
          <SidebarTrigger className="-ml-1" />
          <Separator orientation="vertical" className="mr-2 h-4" />
          <Breadcrumb>
            <BreadcrumbList>
              <BreadcrumbItem className="hidden md:block">
                <BreadcrumbLink href="#">
                  Building Your Application
                </BreadcrumbLink>
              </BreadcrumbItem>
              <BreadcrumbSeparator className="hidden md:block" />
              <BreadcrumbItem>
                <BreadcrumbPage>Data Fetching</BreadcrumbPage>
              </BreadcrumbItem>
            </BreadcrumbList>
          </Breadcrumb>
        </header>
        <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>
    </SidebarProvider>
  )
}

Subdomains

Frequently Asked Questions

What does Page() do?
Page() is a function in the ui codebase, defined in deprecated/www/registry/new-york/blocks/sidebar-01/page.tsx.
Where is Page() defined?
Page() is defined in deprecated/www/registry/new-york/blocks/sidebar-01/page.tsx at line 17.

Analyze Your Own Codebase

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

Try Supermodel Free