{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "dashboard-overview", "title": "Dashboard Overview", "description": "Example dashboard page layout with stats row, main content area, side content, and bottom section.", "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/admin-layout.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/box.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/small-box.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/info-box.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/timeline.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/todo-list.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/direct-chat.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-chart-placeholder.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-progress.json" ], "files": [ { "path": "registry/new-york/dashboard-overview/blocks/dashboard-overview.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\n\ninterface DashboardOverviewProps extends React.HTMLAttributes {\n statsRow?: React.ReactNode\n mainContent?: React.ReactNode\n sideContent?: React.ReactNode\n bottomRow?: React.ReactNode\n}\n\nfunction DashboardOverview({\n className,\n statsRow,\n mainContent,\n sideContent,\n bottomRow,\n children,\n ...props\n}: DashboardOverviewProps) {\n return (\n
\n {/* Content Header */}\n
\n
\n

Dashboard

\n
\n
\n\n {/* Stats Row */}\n {statsRow && (\n
{statsRow}
\n )}\n\n {/* Main Content */}\n
\n {children || (\n
\n {mainContent && (\n
{mainContent}
\n )}\n {sideContent && (\n
\n {sideContent}\n
\n )}\n
\n )}\n
\n\n {/* Bottom Row */}\n {bottomRow && (\n
{bottomRow}
\n )}\n
\n )\n}\n\nexport { DashboardOverview }\nexport type { DashboardOverviewProps }\n", "type": "registry:component" } ], "type": "registry:block" }