Home / File/ page.tsx — ui Source File

page.tsx — ui Source File

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

File tsx ComponentRegistry Styles 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  6ce87e85_d5bc_a00a_3e57_1b8317db3652["page.tsx"]
  997b7a3e_82a8_21e8_00c0_25c931f8d07e["button"]
  6ce87e85_d5bc_a00a_3e57_1b8317db3652 --> 997b7a3e_82a8_21e8_00c0_25c931f8d07e
  style 6ce87e85_d5bc_a00a_3e57_1b8317db3652 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@workspace/ui/components/button"

export default function Page() {
  return (
    <div className="flex items-center justify-center min-h-svh">
      <div className="flex flex-col items-center justify-center gap-4">
        <h1 className="text-2xl font-bold">Hello World</h1>
        <div className="flex gap-2">
          <Button>Button</Button>
          <Button variant="outline">Outline</Button>
        </div>
      </div>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button

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, Styles subdomain.
What functions are defined in page.tsx?
page.tsx defines 1 function(s): Page.
What does page.tsx depend on?
page.tsx imports 1 module(s): button.
Where is page.tsx in the architecture?
page.tsx is located at templates/monorepo-next/apps/web/app/page.tsx (domain: ComponentRegistry, subdomain: Styles, directory: templates/monorepo-next/apps/web/app).

Analyze Your Own Codebase

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

Try Supermodel Free