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 UIPrimitives 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  cb07b0dd_c468_b3a6_1a1b_2825c22ad1a0["page.tsx"]
  2a3c2778_99ae_382d_ec9c_7a711818be47["app-sidebar"]
  cb07b0dd_c468_b3a6_1a1b_2825c22ad1a0 --> 2a3c2778_99ae_382d_ec9c_7a711818be47
  fabdb61c_72ab_76d6_0cdd_b0599af2922a["site-header"]
  cb07b0dd_c468_b3a6_1a1b_2825c22ad1a0 --> fabdb61c_72ab_76d6_0cdd_b0599af2922a
  f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"]
  cb07b0dd_c468_b3a6_1a1b_2825c22ad1a0 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1
  style cb07b0dd_c468_b3a6_1a1b_2825c22ad1a0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AppSidebar } from "@/registry/bases/base/blocks/sidebar-16/components/app-sidebar"
import { SiteHeader } from "@/registry/bases/base/blocks/sidebar-16/components/site-header"
import { SidebarInset, SidebarProvider } from "@/registry/bases/base/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-screen 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, 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 3 module(s): app-sidebar, sidebar, site-header.
Where is page.tsx in the architecture?
page.tsx is located at apps/v4/registry/bases/base/blocks/sidebar-16/page.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/sidebar-16).

Analyze Your Own Codebase

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

Try Supermodel Free