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
  87d7f68a_f80f_3815_adb8_5d9623744c0c["page.tsx"]
  0846f0cd_0b69_d6db_bc5f_3ce70b58a7fc["app-sidebar"]
  87d7f68a_f80f_3815_adb8_5d9623744c0c --> 0846f0cd_0b69_d6db_bc5f_3ce70b58a7fc
  ae52a5f6_67af_c18b_d247_4bcf18ea9837["breadcrumb"]
  87d7f68a_f80f_3815_adb8_5d9623744c0c --> ae52a5f6_67af_c18b_d247_4bcf18ea9837
  6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"]
  87d7f68a_f80f_3815_adb8_5d9623744c0c --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862
  style 87d7f68a_f80f_3815_adb8_5d9623744c0c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AppSidebar } from "@/registry/new-york/blocks/sidebar-14/components/app-sidebar"
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/registry/new-york/ui/breadcrumb"
import {
  SidebarInset,
  SidebarProvider,
  SidebarTrigger,
} from "@/registry/new-york/ui/sidebar"

export default function Page() {
  return (
    <SidebarProvider>
      <SidebarInset>
        <header className="flex h-16 shrink-0 items-center gap-2 border-b px-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>
          <SidebarTrigger className="-mr-1 ml-auto rotate-180" />
        </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>
      <AppSidebar side="right" />
    </SidebarProvider>
  )
}

Subdomains

Functions

Dependencies

  • app-sidebar
  • breadcrumb
  • sidebar

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, breadcrumb, sidebar.
Where is page.tsx in the architecture?
page.tsx is located at deprecated/www/registry/new-york/blocks/sidebar-14/page.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/sidebar-14).

Analyze Your Own Codebase

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

Try Supermodel Free