SidebarInset() — ui Function Reference
Architecture documentation for the SidebarInset() function in sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 23370d17_6a72_7279_66a9_0acf0a92d29b["SidebarInset()"] cc4e35e8_a38d_157c_ff53_3fbfa32c26c4["sidebar.tsx"] 23370d17_6a72_7279_66a9_0acf0a92d29b -->|defined in| cc4e35e8_a38d_157c_ff53_3fbfa32c26c4 style 23370d17_6a72_7279_66a9_0acf0a92d29b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/sidebar.tsx lines 304–315
function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
return (
<main
data-slot="sidebar-inset"
className={cn(
"bg-background relative flex w-full flex-1 flex-col md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does SidebarInset() do?
SidebarInset() is a function in the ui codebase, defined in apps/v4/examples/base/ui-rtl/sidebar.tsx.
Where is SidebarInset() defined?
SidebarInset() is defined in apps/v4/examples/base/ui-rtl/sidebar.tsx at line 304.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free