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
  d2ec6d32_fa96_da1e_9390_7b834ab449b6["SidebarRight()"]
  681ad481_9dea_f351_ff47_541ad123017e["sidebar-right.tsx"]
  d2ec6d32_fa96_da1e_9390_7b834ab449b6 -->|defined in| 681ad481_9dea_f351_ff47_541ad123017e
  style d2ec6d32_fa96_da1e_9390_7b834ab449b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/blocks/sidebar-15/components/sidebar-right.tsx lines 44–79

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>
              <IconPlaceholder
                lucide="PlusIcon"
                tabler="IconPlus"
                hugeicons="PlusSignIcon"
                phosphor="PlusIcon"
                remixicon="RiAddLine"
              />
              <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/bases/radix/blocks/sidebar-15/components/sidebar-right.tsx.
Where is SidebarRight() defined?
SidebarRight() is defined in apps/v4/registry/bases/radix/blocks/sidebar-15/components/sidebar-right.tsx at line 44.

Analyze Your Own Codebase

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

Try Supermodel Free