SidebarInset() — ui Function Reference
Architecture documentation for the SidebarInset() function in sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 30555dbf_ff97_c97a_9a48_da6c5f531758["SidebarInset()"] cef4f47f_83d5_1ca2_1147_d3903d1ade07["sidebar.tsx"] 30555dbf_ff97_c97a_9a48_da6c5f531758 -->|defined in| cef4f47f_83d5_1ca2_1147_d3903d1ade07 style 30555dbf_ff97_c97a_9a48_da6c5f531758 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/ui/sidebar.tsx lines 330–342
>(({ className, ...props }, ref) => {
return (
<main
ref={ref}
className={cn(
"relative flex w-full flex-1 flex-col bg-background",
"md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
className
)}
{...props}
/>
)
})
Domain
Subdomains
Source
Frequently Asked Questions
What does SidebarInset() do?
SidebarInset() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/sidebar.tsx.
Where is SidebarInset() defined?
SidebarInset() is defined in deprecated/www/registry/default/ui/sidebar.tsx at line 330.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free