Live Preview

Ashlar Prime

Ashlar Prime Documentation

v1.0.0

Everything you need to rebrand, customize, extend, and deploy Ashlar Prime in minutes.

1. Quick Start (60 Seconds)

Ashlar Prime runs out of the box with Next.js 15, React 19, TypeScript, and Tailwind CSS v4—zero environment variables required to start.

npm install
npm run dev
# Open http://localhost:3000

# Production build & strict typecheck
npm run typecheck
npm run build

2. One-File Rebrand

Edit src/config/site.ts to configure your product name, default layout (`demo-1` through `demo-10`), accent palette, corner radius, and RTL default.

export const siteConfig = {
  name: 'Your SaaS Admin',
  defaultTheme: {
    layout: 'demo-4', // demo-1 .. demo-10
    mode: 'light',    // light | dark | system
    accent: 'indigo', // 8 built-in presets
    direction: 'ltr', // ltr | rtl
  },
}

3. Project Structure

src/
├── app/
│   ├── (shell)/         # All 10 layouts wrap these routes
│   │   ├── page.tsx     # Executive Overview Dashboard
│   │   ├── demos/       # 10-Demo Gallery + /demos/[demoId]
│   │   ├── dashboards/  # SaaS Metrics & Web Analytics
│   │   ├── apps/        # CRM, eCommerce, Projects, Inbox, RBAC,
│   │   │                # Invoices, Calendar, Files, Account
│   │   ├── components/  # 100+ UI Elements Showcase
│   │   └── pages/       # Pricing, FAQ, Status/Error pages
│   └── auth/            # Standalone Sign In, Sign Up, 2FA, Lock
├── components/
│   ├── layouts/         # AppShell (10 shells) & Theme Studio
│   └── ui/              # Primitives, Overlays, DataTable, Charts
└── config/              # site.ts, demos.ts, navigation.ts

4. Adding New Routes & Modules

1. Create a folder under src/app/(shell)/your-module/page.tsx. It automatically inherits all 10 layout shells, dark mode, RTL direction, Command Palette, and Toast notifications.

2. Register the route in src/config/navigation.ts—it immediately appears in every sidebar, horizontal topbar, dual rail, and ⌘K search!

3. Use the built-in Theme Studio drawer to dial in your exact colors, radius, and density, then click Export CSS Tokens to copy production-ready variables.