Home / File/ site-header.tsx — ui Source File

site-header.tsx — ui Source File

Architecture documentation for site-header.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  9d41e7e5_1a15_c2a8_a801_d27218f6adb5["site-header.tsx"]
  a3c00059_fa03_cf5e_4e2a_284c527e1995["separator"]
  9d41e7e5_1a15_c2a8_a801_d27218f6adb5 --> a3c00059_fa03_cf5e_4e2a_284c527e1995
  f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"]
  9d41e7e5_1a15_c2a8_a801_d27218f6adb5 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1
  style 9d41e7e5_1a15_c2a8_a801_d27218f6adb5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Separator } from "@/registry/bases/base/ui/separator"
import { SidebarTrigger } from "@/registry/bases/base/ui/sidebar"

export function SiteHeader() {
  return (
    <header className="flex h-(--header-height) shrink-0 items-center gap-2 border-b transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-(--header-height)">
      <div className="flex w-full items-center gap-1 px-4 lg:gap-2 lg:px-6">
        <SidebarTrigger className="-ml-1" />
        <Separator
          orientation="vertical"
          className="mx-2 h-4 data-vertical:self-auto"
        />
        <h1 className="text-base font-medium">Documents</h1>
      </div>
    </header>
  )
}

Subdomains

Functions

Dependencies

  • separator
  • sidebar

Frequently Asked Questions

What does site-header.tsx do?
site-header.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 site-header.tsx?
site-header.tsx defines 1 function(s): SiteHeader.
What does site-header.tsx depend on?
site-header.tsx imports 2 module(s): separator, sidebar.
Where is site-header.tsx in the architecture?
site-header.tsx is located at apps/v4/registry/bases/base/blocks/dashboard-01/components/site-header.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/dashboard-01/components).

Analyze Your Own Codebase

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

Try Supermodel Free