Set up the GliaKit Next.js boilerplate
Everything runs on demo data with zero configuration — add keys only for the services you actually use. Ten minutes from clone to your own on-brand screens.
Quick start
Download (or clone) the boilerplate, install, and run. No keys, no config, no database required:
npm install
npm run devOpen http://localhost:3000 — the landing page, /dashboard, and all thirteen screens run on demo data written into each page, so there's nothing to set up.
The 13 screens
Landing · Pricing · Sign in · Sign up · Reset password · Dashboard · Cash flow · Payments · Calendar · Deals · Reports · Settings · 404.
The app screens are Talvo, a demo finance app generated by GliaKit Studio from the same blocks you build with. Every screen is routed with the App Router and styled from the same tokens. List screens follow /payments, tabbed screens follow /settings, and week views follow /calendar — copy the nearest pattern when adding your own. The sign-in, sign-up and reset screens are designs, ready to connect to Clerk.
Switch on the integrations
Copy .env.example to .env and add keys. Each key activates its integration on restart — the feature flags live in src/lib/env.ts:
| Integration | Keys | What switches on |
|---|---|---|
| Database · Prisma | DATABASE_URL | npm run db:push && npm run db:seed, then screens read from SQLite |
| Auth · Clerk | NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY + CLERK_SECRET_KEY | Middleware protects all app routes |
| Payments · Stripe | STRIPE_SECRET_KEY + STRIPE_WEBHOOK_SECRET | /api/checkout + /api/webhooks/stripe |
| Email · Resend | RESEND_API_KEY + EMAIL_FROM | Transactional templates in src/lib/email.ts |
Miss a key? Nothing breaks — the app keeps running on demo data and the service’s client throws a helpful message only if you call it directly.
Project structure
src/
├── app/
│ ├── (app)/ # dashboard shell — 11 wired screens
│ ├── (auth)/ # sign-in, sign-up, reset
│ └── globals.css # every design token lives here
├── components/
│ ├── ui/ # primitives — Button, Card, Table, Chart…
│ └── app/ # shell — Sidebar, PageHeader, ThemeToggle
├── lib/
│ ├── data.ts # typed demo data for every screen
│ └── env.ts # feature flags from env presence
├── prisma/ # schema + seed
├── prompts/ # fill-in prompts for your AI tools
└── .cursor/rules/ # the rules Cursor reads automaticallyBuild with AI
The starter ships with rules files your AI tools read before writing a line:
.cursor/rules/design-system.mdc— tokens, typography, component law.cursor/rules/screens.mdc— how screens are composedCLAUDE.md/AGENTS.md— the same system for Claude Code and other agentsprompts/— fill-in-the-brackets prompts for new screens and CRUD tables
Try it: paste prompts/new-screen.md into Cursor or Claude Code with your own screen idea. The result lands on-system — same tokens, same components, no cleanup pass.
The system rules
- Colors: semantic tokens only —
bg-background,bg-card,text-foreground,text-muted-foreground,border-border,bg-primary. Never hex in components. - Type: headings are Bricolage Grotesque (
font-heading), body is Geist, labels and numbers are JetBrains Mono (font-mono). - Structure: hairline borders, not shadows. Cards are
rounded-xl border bg-card; buttons and pills are fully rounded. - The gradient (violet → cyan) is reserved for one hero keyword, the gradient button variant, and signal dividers. Nothing else.
- Theming: dark is default; because everything uses semantic tokens, light mode is free via next-themes.
The Figma file
The companion Figma file mirrors the code 1:1 — the same variables (with web code syntax on every token), the same components with variants, and the same screens in light and dark. Design in Figma, build in code, and nothing drifts — your AI tools reference the system instead of regenerating it.
FAQ
Do I need all the API keys to start?
No. The app runs fully on demo data with an empty .env. Add keys one at a time, only for services you use.
Which stack versions does it ship with?
Next.js 16 (App Router) · React 19 · Tailwind CSS v4 (CSS-first, no config file) · shadcn-style components · Prisma 6.
Can I use it for client projects?
Yes — unlimited personal and commercial projects. See the license.
How do updates work?
The kit is free: download the latest version any time. What changed is listed in the changelog.
Keep exploring
- ComponentsEvery component with live examples, code, props and accessibility notes.
- The Figma fileThe design system as variables and components, named as in the code.
- Keep coding agents on-systemMake Cursor and Claude Code build with your design system.
- Free colour toolsA shadcn/ui theme generator, a contrast checker and colours from a logo.