- Node.js 20.9 or newer
- npm 10 or newer
- A code editor
- A free Vercel account, to deploy
Requirements
Built and tested on Node 24. The stack is Next.js 16 (App Router), React 19, Tailwind CSS v4 and shadcn/ui.
A Next.js 16 website and app template for an AI support product. Install it, make it yours and put it online. The same text is in DOCS.md at the root of the project.
$ npm install
$ npm run dev
Local: http://localhost:3000
Ready in 1.2sBuilt and tested on Node 24. The stack is Next.js 16 (App Router), React 19, Tailwind CSS v4 and shadcn/ui.
npm install
npm run devIn the web folder, the one with package.json. Open http://localhost:3000. Pages reload when you save a file.
npm run build
npm run startThe build stops with an error if something is wrong. npm run start serves the built site. npm run lint checks code style.
Five places carry the name. Change them in this order, then search for leftovers.
| Token | Used for |
|---|---|
| --background, --foreground | Page background and text |
| --surface, --surface-2 | Cards, panels and inputs |
| --muted-foreground | Secondary text |
| --line | Borders and dividers |
| --brand, --brand-ink | Main accent and the text on it |
| --band, --band-ink | The coloured analytics section |
| --ok, --warn, --destructive | Status colours |
| --chart-1 to --chart-5 | Chart series |
Every colour is a CSS variable in src/app/globals.css. The :root, .dark block is the default dark theme; .light lists what differs.
After a change, check contrast in both themes: small text needs 4.5 to 1. To start in light, set defaultTheme to "light" in src/app/layout.tsx.
--font-text, --font-display
Host Grotesk
Handoff with the story so far.
--font-code
JetBrains Mono 1,284
resolved 68.4%
Both fonts are under the SIL Open Font License. The Latin subsets are in src/fonts and load in src/app/layout.tsx with next/font/local. The full fonts and licences are in fonts-source.
To change a font, add a .woff2 file to src/fonts and update its path and weight in src/app/layout.tsx, or switch to next/font/google.
Replace the dashboard figures with calls to your own API, and connect onSubmit in the sign-in form to your auth provider.
Page titles and descriptions are the metadata export in each page.tsx and in src/app/layout.tsx.
web/
DOCS.md this guide
package.json scripts and dependencies
next.config.ts Next.js settings
fonts-source/ full font files and licences
public/ static files
src/
app/
layout.tsx fonts, theme, default metadata
globals.css colour tokens, type scale, motion
page.tsx landing page
docs/page.tsx this page
sign-in/, sign-up/ auth screens
app/ dashboard: overview, inbox, settings components/
marketing/ landing page sections
app/ dashboard shell, charts, inbox
auth/ sign-in and sign-up form
brand/ logo
ui/ shadcn/ui building blocks
fonts/ Latin font subsets
hooks/ small React hooks
lib/
site.ts name, nav, pricing
demo-data.ts demo dashboard data
utils.ts class name helperNo environment variables are required. If you add an API or an auth provider, add its keys under Settings, then Environment Variables.