{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "app-no-sidebar", "title": "App Without Sidebar", "description": "A centered max-w-3xl application layout with optional header and actions.", "dependencies": [], "registryDependencies": [ "https://samlinville.github.io/slds/r/utils.json" ], "files": [ { "path": "src/blocks/app-no-sidebar/index.tsx", "content": "import type { ComponentProps, ReactNode } from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype AppNoSidebarProps = ComponentProps<\"main\"> & {\n actions?: ReactNode\n appEmoji?: ReactNode\n appTitle?: ReactNode\n}\n\n/**\n * A neutral application shell for projects that do not need persistent\n * navigation. Add an emoji, title, and actions when the project needs a top bar.\n */\nexport function AppNoSidebar({\n actions,\n appEmoji,\n appTitle,\n children,\n className,\n ...props\n}: AppNoSidebarProps) {\n return (\n
\n {(appEmoji || appTitle || actions) && (\n
\n
\n
\n {appEmoji ? (\n {appEmoji}\n ) : null}\n {appTitle ? (\n

\n {appTitle}\n

\n ) : null}\n
\n {actions ? (\n
{actions}
\n ) : null}\n
\n
\n )}\n \n {children}\n \n
\n )\n}\n", "type": "registry:component", "target": "@components/blocks/app-no-sidebar/index.tsx" } ], "type": "registry:block" }