This component no longer exists. It was in hoogin’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-14 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Sidebar Layout
hoogin/sidebar-layoutRemovedBlock
A full application layout with a collapsible sidebar, header, and content area.
Install it
npx shadcn@latest add https://shadcn.hoogin.be/r/sidebar-layout.jsonSource
1"use client"23import * as React from "react"45import { Separator } from "@/components/ui/separator"6import { TooltipProvider } from "@/components/ui/tooltip"7import { AppSidebar } from "@/hoogin/ui/app-sidebar"8import {9 SidebarInset,10 SidebarProvider,11 SidebarTrigger,12} from "@/hoogin/ui/sidebar"13import type {14 SidebarBrand,15 SidebarMore,16 SidebarNavItem,17 SidebarProject,18 SidebarSecondaryItem,19 SidebarUser,20 SidebarUserMenu,21} from "@/hoogin/ui/sidebar.types"22import { ThemeToggle } from "@/hoogin/ui/theme-toggle"2324type SidebarLayoutProps = {25 children: React.ReactNode26 breadcrumb?: React.ReactNode27 brand: SidebarBrand28 user?: SidebarUser29 dataMain: SidebarNavItem[]30 dataSecondary?: SidebarSecondaryItem[]31 dataProjects?: SidebarProject[]32 dataMainLabel?: string33 dataProjectsLabel?: string34 dataProjectsMore?: SidebarMore35 dataUserMenu?: SidebarUserMenu36 storageKey?: string37 collapsible?: "offcanvas" | "icon" | "none"38 className?: string39}4041export function SidebarLayout({42 children,43 breadcrumb,44 brand,45 user,46 dataMain,47 dataSecondary,48 dataProjects,49 dataMainLabel,50 dataProjectsLabel,51 dataProjectsMore,52 dataUserMenu,53 storageKey,54 collapsible,55 className,56}: SidebarLayoutProps) {57 const hasNestedItems = dataMain.some((item) =>58 item.items?.some((sub) => sub.items?.length)59 )6061 return (62 <TooltipProvider>63 <SidebarProvider64 storageKey={storageKey}65 className={className}66 style={67 hasNestedItems68 ? ({ "--sidebar-width": "20rem" } as React.CSSProperties)69 : undefined70 }71 >72 <AppSidebar73 brand={brand}74 user={user}75 dataMain={dataMain}76 dataSecondary={dataSecondary}77 dataProjects={dataProjects}78 dataMainLabel={dataMainLabel}79 dataProjectsLabel={dataProjectsLabel}80 dataProjectsMore={dataProjectsMore}81 dataUserMenu={dataUserMenu}82 collapsible={collapsible}83 />84 <SidebarInset>85 <header className="flex h-16 shrink-0 items-center gap-2">86 <div className="flex items-center gap-2 px-4">87 <SidebarTrigger className="-ml-1" />88 <Separator89 orientation="vertical"90 className="mr-2 data-vertical:h-4 data-vertical:self-auto"91 />92 {breadcrumb}93 </div>94 <div className="ml-auto flex items-center gap-2 px-4">95// … truncated
What it pulls in
Other registry items
