Logged-in dashboard app template with a collapsible sidebar and command palette top bar wrapping stat cards, an interactive area chart, and a sortable, paginated data table.
@7ovr
import { Toaster } from "@/components/ui/sonner"
import AppShell from "@/components/dashboard/app-shell"
import Charts from "@/components/dashboard/charts"
import Dashboard from "@/components/dashboard/dashboard"
import DataTable from "@/components/dashboard/table"
export default function DashboardTemplate() {
return (
<AppShell>
<Toaster />
<div className="mx-auto w-full max-w-6xl space-y-6">
<Dashboard />
<Charts />
<DataTable />
</div>
</AppShell>
)
}
Requires a base-* style in components.json (the shadcn init default). Legacy new-york/radix-* styles install Radix primitives, which reject the render prop this block uses.






























