Home / Function/ SidebarRight() — ui Function Reference

SidebarRight() — ui Function Reference

Architecture documentation for the SidebarRight() function in sidebar-right.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  3d79df6d_1f0c_98a2_4e3b_e8ae92f0c1c9["SidebarRight()"]
  f9d30045_7100_c928_09d8_b5da32c66ec1["sidebar-right.tsx"]
  3d79df6d_1f0c_98a2_4e3b_e8ae92f0c1c9 -->|defined in| f9d30045_7100_c928_09d8_b5da32c66ec1
  style 3d79df6d_1f0c_98a2_4e3b_e8ae92f0c1c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/blocks/sidebar-15/components/sidebar-right.tsx lines 42–71

export function SidebarRight({
  ...props
}: React.ComponentProps<typeof Sidebar>) {
  return (
    <Sidebar
      collapsible="none"
      className="sticky top-0 hidden h-svh border-l lg:flex"
      {...props}
    >
      <SidebarHeader className="border-sidebar-border h-16 border-b">
        <NavUser user={data.user} />
      </SidebarHeader>
      <SidebarContent>
        <DatePicker />
        <SidebarSeparator className="mx-0" />
        <Calendars calendars={data.calendars} />
      </SidebarContent>
      <SidebarFooter>
        <SidebarMenu>
          <SidebarMenuItem>
            <SidebarMenuButton>
              <Plus />
              <span>New Calendar</span>
            </SidebarMenuButton>
          </SidebarMenuItem>
        </SidebarMenu>
      </SidebarFooter>
    </Sidebar>
  )
}

Subdomains

Frequently Asked Questions

What does SidebarRight() do?
SidebarRight() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/blocks/sidebar-15/components/sidebar-right.tsx.
Where is SidebarRight() defined?
SidebarRight() is defined in apps/v4/registry/new-york-v4/blocks/sidebar-15/components/sidebar-right.tsx at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free