Documentation

Ardena

An admin dashboard template for teams that run AI agents next to their CRM: agent dashboards, a visual agent builder, AI chat, approvals, run traces, a knowledge base, a deals pipeline, contacts, inbox, calendar, invoices and more. It comes as a React + Vite edition and a Next.js edition that share the same pages.

Chapter 01

Welcome

Thank you for choosing Ardena. This guide is written for beginners: every step says what to type and what you should see. You do not need to read it all; use the chapter list on the left.

Ardena is a front-end template. Every page is filled with realistic sample data for a made-up company, "Fernwood Labs". There is no server, database or user account system, and the template never calls an outside service. When you are ready, you connect the pages to your own data (chapter 15).

About the AI features: every AI reply, agent run, trace, approval and metric in Ardena is simulated sample data. The template does not call OpenAI, Anthropic or any other AI provider, and needs no API key. The model names you see (Lumen-4, Quill-2, Vega-3) are made up. To use a real model, connect your own back end (chapter 15).

AI disclosure

AI tools were used to create this item: yes. The source code, this documentation and the sample text were written with the help of Claude by Anthropic, then checked and tested by us. No images in the item are AI-generated: Ardena uses no photos; avatars are initials and the logo is drawn in code. The template has no AI-powered features of its own (see the note above).

Chapter 02

What is in the download

Folder or fileWhat it is
source/The template: one project with both editions and the shared pages (a pnpm workspace).
source/apps/react/React 19 + Vite + React Router edition. Every page is pre-rendered to HTML when you build.
source/apps/nextjs/Next.js 16 edition (App Router), exported as static files.
source/packages/core/Everything both editions share: pages, components, sample data, styles, menu and settings.
documentation/This guide (HTML) and a PDF copy.
README.md, LICENSE.txt, CHANGELOG.mdQuick start, licence terms and version history.

Because both editions use the same pages, a change you make in packages/core shows in both. If you only need one edition, you can delete the other app folder.

Chapter 03

Requirements

Chapter 04

Quick start

Open a terminal in the source folder and run:

corepack enable      # once, installs pnpm 11
pnpm install         # downloads the packages (about a minute)
pnpm dev             # starts the React edition

Open http://localhost:5173. You should see the AI agents dashboard. Changes you save appear in the browser at once.

The Next.js edition

pnpm dev:next        # opens on http://localhost:3000

All commands

Command (in source/)What it does
pnpm devReact edition with live reload on port 5173.
pnpm dev:nextNext.js edition with live reload on port 3000.
pnpm buildProduction build of both editions (build:react or build:next for one).
pnpm previewServes the React production build so you can check it before you upload.
pnpm typecheckChecks the TypeScript types of every package.
pnpm lint / pnpm formatChecks or fixes code style with Biome.
pnpm testRuns the end-to-end tests (chapter 17).

Chapter 05

Pages

Ardena has 53 pages. The same addresses work in both editions (the Next.js edition adds a slash at the end, for example /crm/deals/).

Dashboards 6
AI agents/dashboards/ai-agents
CRM sales/dashboards/crm
Analytics/dashboards/analytics
E-commerce/dashboards/ecommerce
Support desk/dashboards/support
SaaS metrics/dashboards/saas
AI workspace 9
Agents/ai/agents
Agent builder/ai/builder
AI chat/ai/chat
Approvals/ai/approvals
Runs and logs/ai/runs
Run trace/ai/runs/run_8842
Knowledge base/ai/knowledge
Prompt library/ai/prompts
API keys and usage/ai/api-keys
CRM 6
Deals/crm/deals
Contacts/crm/contacts
Contact profile/crm/contacts/profile
Companies/crm/companies
Leads/crm/leads
Activities/crm/activities
Apps 10
Inbox/apps/inbox
Chat/apps/chat
Calendar/apps/calendar
Tasks/apps/tasks
Invoices/apps/invoices
Invoice INV-2041/apps/invoices/inv-2041
New invoice/apps/invoices/new
File manager/apps/files
Users and roles/apps/users
Notifications/apps/notifications
Account 5
Profile/account/profile
Settings/account/settings
Billing/account/billing
Pricing plans/account/pricing
FAQ/account/faq
Sign-in pages 6
Sign in/auth/sign-in
Create your account/auth/sign-up
Forgot password/auth/forgot-password
Reset password/auth/reset-password
Two-step check/auth/two-factor
Locked/auth/lock-screen
Status pages 4
Page not found/status/404
Something broke on our side/status/500
Down for maintenance/status/maintenance
Coming soon/status/coming-soon
UI kit 7
Components/ui/components
Form elements and pickers/ui/forms
Form wizard/ui/forms/wizard
Form validation/ui/forms/validation
Editors and uploads/ui/forms/editors
Data tables/ui/tables
Charts/ui/charts

Chapter 06

Screenshots

A few of the pages in light and dark mode, the customizer, the top-menu layout in right-to-left, and the phone layout.

AI agents dashboard
AI agents dashboard
AI agents dashboard, dark mode
AI agents dashboard, dark mode
Agent builder with the flow canvas
Agent builder with the flow canvas
AI chat with sources and simulated streaming replies
AI chat with sources and simulated streaming replies
Run trace: every step of one agent run
Run trace: every step of one agent run
Deals pipeline board (drag and drop, keyboard too)
Deals pipeline board (drag and drop, keyboard too)
Contacts table: search, filters, sorting and bulk actions
Contacts table: search, filters, sorting and bulk actions
Inbox with an AI draft helper
Inbox with an AI draft helper
Calendar: month, week and agenda views
Calendar: month, week and agenda views
Invoice detail
Invoice detail
Sign-in page
Sign-in page
The customizer: mode, brand colour, layout, direction, size and width
The customizer: mode, brand colour, layout, direction, size and width
Top-menu layout, right to left, Cobalt brand colour
Top-menu layout, right to left, Cobalt brand colour
Phone layouts
Phone layouts

Chapter 07

Where things are

source/
├─ apps/
│  ├─ react/                React + Vite edition
│  │  ├─ index.html         page shell (title, description, favicon)
│  │  ├─ src/main.tsx       starts the app
│  │  ├─ src/routes.tsx     the route tree (built from lib/routes.ts)
│  │  ├─ scripts/prerender.mjs   writes one HTML file per page at build time
│  │  ├─ e2e/               end-to-end tests
│  │  └─ public/            favicon and robots.txt
│  └─ nextjs/               Next.js edition
│     ├─ app/layout.tsx     page shell and title template
│     ├─ app/(app)/…        one page.tsx per dashboard page
│     ├─ app/(bare)/…       sign-in and status pages
│     ├─ scripts/make-pages.mjs   writes the page.tsx files from lib/routes.ts
│     └─ public/
└─ packages/core/src/       shared by both editions
   ├─ pages/                the 53 pages (dashboards, ai, crm, apps, account, auth, status, ui)
   ├─ components/ui/        buttons, inputs, dialogs, menus, tables… (shadcn/ui on Base UI)
   ├─ components/app/       the app frame, customizer, search menu, data table, cards
   ├─ components/charts/    chart components (Recharts)
   ├─ data/                 ALL sample data, one file per area
   ├─ lib/                  menu (nav.ts), routes (routes.ts), settings, formatting
   └─ styles/               colours, fonts, size steps (globals.css)

Chapter 08

Theme settings and the customizer

The customizer (the palette button in the top bar) lets each user change the look. Their choice is saved in the browser (localStorage, key ardena-settings) and applied before the page paints, so there is no flash.

SettingOptions
ModeLight, dark, or follow the system
Brand colourJade (default), Cobalt, Iris, Ember, Rose, Graphite
LayoutVertical sidebar, collapsed sidebar (icons only), top menu
DirectionLeft to right, right to left
Control sizeSmall, default, large (every button, input and menu row moves one step: 20, 24, 28 or 32 px)
Content widthFluid or boxed

Change the defaults

Open packages/core/src/lib/settings.tsx and edit DEFAULT_SETTINGS:

export const DEFAULT_SETTINGS: Settings = {
  mode: "light",        // "light" | "dark" | "system"
  brand: "jade",        // "jade" | "cobalt" | "iris" | "ember" | "rose" | "graphite"
  layout: "vertical",   // "vertical" | "collapsed" | "horizontal"
  dir: "ltr",           // "ltr" | "rtl"
  size: "md",           // "sm" | "md" | "lg"
  width: "fluid",       // "fluid" | "boxed"
};

Users who already opened the site keep their saved choice. To see your new defaults, click Reset to defaults at the bottom of the customizer, or clear the site data in your browser.

Hide the customizer

In packages/core/src/components/app/shell.tsx, remove the button with aria-label="Open the customizer". The saved settings and the defaults still apply.

Chapter 09

Colours and fonts

All colours are CSS variables in packages/core/src/styles/globals.css. The :root block holds light mode and the .dark block holds dark mode. Tailwind classes such as bg-primary or text-muted-foreground read these variables, so a change there updates every page.

Change or add a brand colour

Each brand preset is a small block near the top of globals.css:

[data-brand="cobalt"] {
  --brand: #2d5bd8;        /* buttons, links, active menu row */
  --brand-hover: #244bb8;  /* button hover */
  --brand-ink-l: #2349b5;  /* brand text on light backgrounds */
  --brand-ink-d: #8daeff;  /* brand text on dark backgrounds */
}

To add your own: copy a block, give it a new name, then add the name to the Brand type and the BRANDS list in lib/settings.tsx. It then shows in the customizer. Keep text colours dark enough to read: the -ink colours should have a contrast of at least 4.5:1 against the background.

Fonts

Ardena uses Onest for the interface, Bricolage Grotesque for titles and numbers, and Fragment Mono for code and ids. They are installed from npm (Fontsource) and served from your own site, so no font request goes to another server. To change one, install another Fontsource package, replace its @import at the top of globals.css, and change --font-sans, --font-display or --font-mono.

Chapter 10

Chapter 11

Edit the sample content

Every number, name and message on the pages comes from packages/core/src/data/. Edit a file there and both editions change.

FileHolds
people.tsThe workspace, the signed-in user, team members, contacts and companies
ai.tsAgents, runs, traces, approvals, knowledge sources, prompts, API keys, chats
crm.tsPipeline stages, deals, leads and activities
dashboards.tsThe numbers and series behind the six dashboards
apps.tsEmails, calendar events, tasks, team chat, invoices, files, roles, plans, FAQ
notifications.tsThe notifications in the top bar and on the Notifications page
ui.tsRows for the data-table and chart examples in the UI kit

The files are plain TypeScript arrays and objects, so your editor tells you at once if a field is missing.

Chapter 12

The sidebar, the collapsed sidebar, the top menu, the phone menu and the search menu (Ctrl/⌘ + K) all read one list: NAV in packages/core/src/lib/nav.ts.

{
  title: "AI workspace",
  items: [
    { title: "Agents", href: "/ai/agents", icon: IconRobot, badge: "12", badgeTone: "neutral" },
    { title: "Agent builder", href: "/ai/builder", icon: IconSitemap },
    // a sub-menu:
    { title: "Dashboards", href: "/dashboards", icon: IconLayoutDashboard,
      children: [{ title: "AI agents", href: "/dashboards/ai-agents" }] },
  ],
}

Icons come from Tabler Icons: import any icon from @tabler/icons-react (browse them at tabler.io/icons).

Chapter 13

Add a new page

  1. Create the page in packages/core/src/pages/, for example pages/crm/forecast.tsx. Copy a page that looks close to what you want; a page is a React component exported as default:
    import { PageHeader } from "../../components/app/parts";
    
    export default function ForecastPage() {
      return <PageHeader title="Forecast" description="Expected revenue by month." />;
    }
  2. Add a line to ROUTES in packages/core/src/lib/routes.ts:
    { path: "/crm/forecast", title: "Forecast", layout: "app", module: "crm/forecast", load: () => import("../pages/crm/forecast") },
    layout is "app" for a page inside the dashboard frame, "auth" for a sign-in style page, or "blank" for a full-screen page.
  3. Add it to the menu in lib/nav.ts (chapter 12).
  4. React edition: nothing else to do; the router reads ROUTES.
    Next.js edition: run pnpm --filter @ardena/nextjs pages. It writes the page.tsx file for every route. When you remove a route, delete its folder under apps/nextjs/app as well.

Chapter 14

Components, icons and charts

Chapter 15

Connect your own data

Pages import their data from packages/core/src/data. To show your own data, load it from your API instead. A simple pattern:

import { useEffect, useState } from "react";
import type { Contact } from "../../data/people";

export function useContacts() {
  const [contacts, setContacts] = useState<Contact[]>([]);
  useEffect(() => {
    fetch("/api/contacts")                 // your own endpoint
      .then((r) => r.json())
      .then(setContacts);
  }, []);
  return contacts;
}

Then use useContacts() in the page where it now uses CONTACTS. Keep the same fields, and every table, filter and card keeps working. For real AI answers, call your own server from the chat page; keep API keys on the server, never in the browser.

Chapter 16

Put it online

React edition

Run pnpm build:react. Upload the contents of apps/react/dist to any static host. Every page is already written as HTML (dist/crm/deals/index.html and so on), so pages show at once, then become interactive. Tell your host to send index.html for addresses it does not know:

# nginx
location / { try_files $uri $uri/index.html /index.html; }

# Netlify: a file named _redirects in dist/
/*  /index.html  200

To serve it from a sub-folder, build with pnpm --filter @ardena/react exec vite build --base=/ardena/ and then run node scripts/prerender.mjs in apps/react, or set base in apps/react/vite.config.ts.

Next.js edition

Run pnpm build:next. Upload the contents of apps/nextjs/out. Each page is a folder with an index.html, and 404.html is the not-found page. For a sub-folder, build with NEXT_BASE_PATH=/ardena pnpm build:next. To run it on a Node.js server or Vercel instead of static files, remove output: "export" from next.config.ts.

Chapter 17

Tests and code checks

The React edition has end-to-end tests (Playwright) in apps/react/e2e: every page opens with its title and no console errors, and the main flows work (customizer, search menu, AI chat, moving a deal with the keyboard, sign-in checks, table search and selection, the wizard).

pnpm --filter @ardena/react exec playwright install chromium   # once
pnpm test

The tests start their own server on port 5199. To test a build that is already running, set BASE_URL, for example BASE_URL=http://localhost:4173 pnpm test.

Before release we also checked every page in both editions with axe-core (WCAG 2.1 AA, light and dark, phone and desktop) and the W3C HTML validator.

Chapter 18

Third-party services and licences

No paid service is needed. Ardena does not connect to any outside service, API or CDN: fonts, icons and scripts are part of your build and served from your own site. Your hosting, domain and any back end or AI provider you add later are third-party services with their own pricing, and you are responsible for their costs.

The open-source packages Ardena uses are installed from npm, each under its own licence (MIT, OFL or Apache 2.0, listed in chapter 21). None of them needs a paid licence. React Flow (agent builder) is MIT; it shows a small "React Flow" attribution link on the canvas, which the React Flow team asks you to keep unless you take their optional paid plan.

Chapter 19

Browser support

The latest two versions of Chrome, Edge, Firefox and Safari on desktop, Safari on iOS and Chrome on Android. Ardena uses modern CSS (Tailwind CSS 4, CSS variables, color-mix), so Internet Explorer is not supported.

Chapter 20

FAQ and troubleshooting

pnpm: command not found

Run corepack enable (it comes with Node.js 22), then open a new terminal.

pnpm install says "Unsupported engine"

Your Node.js is older than 22.12. Install the current LTS version from nodejs.org and run node -v to check.

Port 5173 or 3000 is already in use

Another app uses that port. Stop it, or start Ardena on another port: pnpm --filter @ardena/react exec vite --port 5180.

My new page shows "Page not found" in the Next.js edition

Run pnpm --filter @ardena/nextjs pages after adding the route (chapter 13).

I changed DEFAULT_SETTINGS but nothing changed

Your browser still has your earlier choice saved. Click Reset to defaults in the customizer.

Can I use only one edition?

Yes. Delete apps/react or apps/nextjs; the other keeps working.

Chapter 21

Credits

PartUsed forLicence
React 19UI libraryMIT
React Router 8Routing in the React editionMIT
Vite 8Dev server and build (React edition)MIT
Next.js 16Next.js editionMIT
Tailwind CSS 4 and tw-animate-cssStyles and animationsMIT
shadcn/uiStarting point of the UI componentsMIT
Base UIAccessible menus, dialogs, selects, tabsMIT
RechartsChartsMIT
React Flow (@xyflow/react)Agent builder canvasMIT
TiptapRich text editorMIT
dnd-kitDrag and drop boardsMIT
cmdkSearch menuMIT
SonnerToast messagesMIT
date-fnsDatesMIT
React DayPickerDate pickerMIT
input-otpTwo-step code inputMIT
class-variance-authority, clsx, tailwind-mergeClass name helpersApache 2.0, MIT, MIT
Tabler IconsIconsMIT
Onest (Fontsource)Interface fontSIL Open Font License 1.1
Bricolage Grotesque (Fontsource)Titles and numbersSIL Open Font License 1.1
Fragment Mono (Fontsource)Code and idsSIL Open Font License 1.1
Biome, Playwright, TypeScriptCode checks, tests, typesMIT / Apache 2.0

Images: Ardena contains no photos or stock images. The logo, avatars (initials) and the agent orb are drawn in code. Sample names, companies and numbers are made up; any likeness to real people or companies is by chance.

Chapter 22

Changelog

1.0.0 · 26 November 2026

Chapter 23

Support

Item support is included with your purchase for 6 months (you can extend it on ThemeForest). Use the Support tab on the Ardena item page on ThemeForest to contact us. Please tell us the edition (React or Next.js), what you did, what you expected and what happened, and add a screenshot if you can.

Support covers questions about the template's features, help with the steps in this guide, and fixes for bugs in the template. It does not cover changes or new features you build on top of it, or your own back end and third-party services.