Admin
A deployable backoffice interface for managing users, roles and settings.
Overview
The Admin archetype is a deployable Next.js backoffice shell built on Venator. Running the deploy command copies the full file tree into your project — every file is yours to edit from day one, with no runtime dependency on the archetype.
What's included:
- A users page with a searchable table, role badges and action buttons
- A settings page with an organization form
SidebarNav,TopbarandDashboardLayoutpre-wired
Deploy
npx venator init adminThen:
cd my-admin
npm install
npm run devUse cases
- Admin panels for SaaS applications
- Internal tools and dashboards
- User and role management interfaces
What's included
my-app/
app/
layout.tsx # Root layout with ToastProvider
page.tsx # Redirects to /admin/users
admin/
layout.tsx # DashboardLayout with Sidebar and Header
users/
page.tsx # Users table with search, roles and status badges
settings/
page.tsx # Organization 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,Table,Badge,Separator@venator-ui/patterns—DashboardLayout,SidebarNav,Topbar,PageHeader@venator-ui/tokens— included viavenatorPresetintailwind.config.js
Customization
- Replace mock users in
app/admin/users/page.tsxwith real API data - Update
components/sidebar.tsxsections with your own routes - Add new resource pages under
app/admin/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