Home / File/ page.tsx — ui Source File

page.tsx — ui Source File

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

File tsx ComponentRegistry UIPrimitives 5 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  a79c8df6_4ff5_88ac_c717_dfa8f9223621["page.tsx"]
  5c009714_38fd_c0a9_83ae_58a1b9f99864["app-sidebar"]
  a79c8df6_4ff5_88ac_c717_dfa8f9223621 --> 5c009714_38fd_c0a9_83ae_58a1b9f99864
  8d0b881d_75dd_89b2_51c8_f9f6e6b3102a["nav-actions"]
  a79c8df6_4ff5_88ac_c717_dfa8f9223621 --> 8d0b881d_75dd_89b2_51c8_f9f6e6b3102a
  23815ff6_dea8_347d_8a17_d530b1631a0b["breadcrumb"]
  a79c8df6_4ff5_88ac_c717_dfa8f9223621 --> 23815ff6_dea8_347d_8a17_d530b1631a0b
  a3c00059_fa03_cf5e_4e2a_284c527e1995["separator"]
  a79c8df6_4ff5_88ac_c717_dfa8f9223621 --> a3c00059_fa03_cf5e_4e2a_284c527e1995
  f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"]
  a79c8df6_4ff5_88ac_c717_dfa8f9223621 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1
  style a79c8df6_4ff5_88ac_c717_dfa8f9223621 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AppSidebar } from "@/registry/bases/base/blocks/sidebar-10/components/app-sidebar"
import { NavActions } from "@/registry/bases/base/blocks/sidebar-10/components/nav-actions"
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbList,
  BreadcrumbPage,
} from "@/registry/bases/base/ui/breadcrumb"
import { Separator } from "@/registry/bases/base/ui/separator"
import {
  SidebarInset,
  SidebarProvider,
  SidebarTrigger,
} from "@/registry/bases/base/ui/sidebar"

export default function Page() {
  return (
    <SidebarProvider>
      <AppSidebar />
      <SidebarInset>
        <header className="flex h-14 shrink-0 items-center gap-2">
          <div className="flex flex-1 items-center gap-2 px-3">
            <SidebarTrigger />
            <Separator
              orientation="vertical"
              className="mr-2 data-vertical:h-4 data-vertical:self-auto"
            />
            <Breadcrumb>
              <BreadcrumbList>
                <BreadcrumbItem>
                  <BreadcrumbPage className="line-clamp-1">
                    Project Management & Task Tracking
                  </BreadcrumbPage>
                </BreadcrumbItem>
              </BreadcrumbList>
            </Breadcrumb>
          </div>
          <div className="ml-auto px-3">
            <NavActions />
          </div>
        </header>
        <div className="flex flex-1 flex-col gap-4 px-4 py-10">
          <div className="bg-muted/50 mx-auto h-24 w-full max-w-3xl rounded-xl" />
          <div className="bg-muted/50 mx-auto h-full w-full max-w-3xl rounded-xl" />
        </div>
      </SidebarInset>
    </SidebarProvider>
  )
}

Subdomains

Functions

Dependencies

  • app-sidebar
  • breadcrumb
  • nav-actions
  • separator
  • 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, UIPrimitives subdomain.
What functions are defined in page.tsx?
page.tsx defines 1 function(s): Page.
What does page.tsx depend on?
page.tsx imports 5 module(s): app-sidebar, breadcrumb, nav-actions, separator, sidebar.
Where is page.tsx in the architecture?
page.tsx is located at apps/v4/registry/bases/base/blocks/sidebar-10/page.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/sidebar-10).

Analyze Your Own Codebase

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

Try Supermodel Free