shadcn/ui SidebarInset component
Unanswered
English Angora posted this in #help-forum
English AngoraOP
Hi, I would love to understand how the SidebarInset takes control when
inset
is used, I am trying to have a 'header' component above the SidebarInset
component but inside the SidebarProvider
, outside the rounded context, inside the darker gray section; see attachment below, thanks in advance!1 Reply
English AngoraOP
To add, the component is build to rely on the sibling in this case
AppSidebar
through peer-data-[variant=inset], I try to mimic the AppSidebar
and/or the SidebarInset
in a way so I could add the header component above it, but I am struggling with it, so would love to know how you would approach this, thanks in advance!