Home / Type/ SidebarContextProps Type — ui Architecture

SidebarContextProps Type — ui Architecture

Architecture documentation for the SidebarContextProps type/interface in sidebar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  2acd38b5_b195_f1d8_9ec2_4e1a9e26257f["SidebarContextProps"]
  c6a487be_ed5c_9993_6886_f0ead3f0c895["sidebar.tsx"]
  2acd38b5_b195_f1d8_9ec2_4e1a9e26257f -->|defined in| c6a487be_ed5c_9993_6886_f0ead3f0c895
  style 2acd38b5_b195_f1d8_9ec2_4e1a9e26257f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/sidebar.tsx lines 34–42

type SidebarContextProps = {
  state: "expanded" | "collapsed"
  open: boolean
  setOpen: (open: boolean) => void
  openMobile: boolean
  setOpenMobile: (open: boolean) => void
  isMobile: boolean
  toggleSidebar: () => void
}

Frequently Asked Questions

What is the SidebarContextProps type?
SidebarContextProps is a type/interface in the ui codebase, defined in apps/v4/registry/bases/radix/ui/sidebar.tsx.
Where is SidebarContextProps defined?
SidebarContextProps is defined in apps/v4/registry/bases/radix/ui/sidebar.tsx at line 34.

Analyze Your Own Codebase

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

Try Supermodel Free