Dashboard
A deployable Next.js dashboard architecture built on Venator.
Overview
The Dashboard archetype is a deployable Next.js application shell. Running the deploy command copies the full file tree into your project — no black-box abstraction, no hidden config. Every file is yours to edit from day one.
What's included:
- A root layout with
ToastProviderwired up - A
/dashboardroute withDashboardLayout, sidebar navigation and a dark mode toggle - Three pre-built pages: overview with KPI cards, an analytics page, and a settings form
- Tailwind pre-configured via
venatorPreset - All
@venatordependencies listed inpackage.json
Deploy
npx venator init dashboardOnce deployed:
cd my-dashboard
npm install
npm run devWhat's included
my-app/
app/
layout.tsx # Root layout with ToastProvider
page.tsx # Redirects to /dashboard
dashboard/
layout.tsx # DashboardLayout with Sidebar and Header
page.tsx # Overview with StatCards and ModuleGrid
analytics/
page.tsx # Analytics page with metrics
settings/
page.tsx # Settings form
components/
sidebar.tsx # SidebarNav with navigation sections
header.tsx # Topbar with dark mode toggle
tailwind.config.js # Pre-configured with venatorPreset
package.json # Dependencies pre-configuredVenator packages used
@venator-ui/ui— Button, Card, Input, Label, Separator, Badge@venator-ui/patterns— DashboardLayout, SidebarNav, Topbar, PageHeader, ModuleGrid, StatCard@venator-ui/tokens— included via venatorPreset in tailwind.config.js
Customization
All files are copied into your project and are fully yours. Common entry points:
- Update
components/sidebar.tsxsections with your own routes - Replace hardcoded values in
app/dashboard/page.tsxwith real data - Add new pages under
app/dashboard/following the same pattern
Next steps
Add an individual pattern to an existing project:
npx venator add page-headerInstall Venator UI components directly:
npm install @venator-ui/ui