Includes Lyra shared styles and React packages, plus local fonts
starter-next-demo — Next.js Starter Template
By lyra-ds
A Next.js starter template for the Lyra Design System, bundling shared styles and React packages, local fonts, light/dark theme switching, white-label brand variables, and lint, test, and CI configuration.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 2
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Supports light / dark / system theme selection
White-label brand switching via four CSS variables
Provides lint, formatting, test (Vitest + jsdom), and CI scripts
Includes AGENTS.md pointing to Lyra DS documentation and component contracts
Demonstrates deployment to GitHub Pages via GitHub Actions
Template Details
This is a minimal Next.js template for the Lyra Design System, intended for quickly setting up projects that use Lyra shared styles and React components. The template includes local fonts, light/dark/system theme selection, white-label brand switching via CSS variables, and runnable lint, test, and CI scripts. The README explains creating a project, the few configuration items to change after cloning, brand variable usage, available scripts, and the GitHub Pages deployment process.
The template includes AGENTS.md, which points AI coding agents to the Lyra DS documentation, the machine-readable component contract (llms.txt), and this project's commands and conventions. The README does not provide information about specific framework versions, runtime performance, or production readiness.
Is it right for your project?
Use Cases
- Starting a new Next.js project with the Lyra Design System
- Interface prototypes that need light/dark themes and white-label brand switching
- Starter projects that should include lint, test, and CI configuration
- Providing project conventions and component documentation entry points for AI coding agents
Suitable For
- Frontend developers using the Lyra Design System
- Teams that need to quickly scaffold a Next.js project skeleton
- Projects that need white-label or theme customization capabilities
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
Create a project via GitHub's Use this template, create-next-app, or by cloning directly
- 2
Install dependencies and start the dev server: pnpm install then pnpm dev; npm and yarn also work
- 3
After cloning, rename the name in package.json, edit the metadata in app/layout.tsx, and replace the example brand in app/brand.css and app/icon.svg
- 4
When starting to build, delete components/starter-home.tsx and its tests, and replace app/page.tsx
- 5
To deploy to GitHub Pages, set basePath to the repository name (or remove it for a custom domain), and select GitHub Actions under Settings → Pages → Source
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version under the MIT license in a public repository; the free scope is the code of that version and does not mean external services or third-party assets are free.
Must comply with when using
- Free use, modification, commercial use, and distribution of this version's code are permitted.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis
https://github.com/lyra-ds/starter-next-demo/blob/main/LICENSEhttps://github.com/lyra-ds/starter-next-demo/blob/main/README.mdPermission is hereby granted, free of charge
Original License Text
Compiled by DeepSeek based on repository license and README ·2026-10-14. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- More documented · 85 / 100
- Technologies
- Next.js · React
- Website type
- Starter
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2026-10-14
- Screenshot last checked
- 2026-10-14
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Next.js as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Review declaration: codex-user-requested-batch-review-20261017 · 2026-10-16
Inspect the recorded source material
SHA-256: 3384daa8883286fb13e43a7377e465130e0378b0ea7b1b13745d29859570d6c0
2026-10-14T22:35:33.353Z
Source file / repository# Lyra DS Next.js template
A minimal [Next.js](https://nextjs.org) template for
[Lyra Design System](https://lyra-ds.dev). It ships the public Lyra styles
and React packages, local fonts, theme selection (light / dark / system),
live white-label branding, and ready-to-go lint, test, and CI setup.
**[See the live demo →](https://lyra-ds.github.io/starter-next-demo/)**
## Create your project
Click **Use this template** on GitHub, or:
```sh
npx create-next-app@latest my-app -e https://github.com/lyra-ds/starter-next
```
Plain cloning works too. Then:
```sh
pnpm install
pnpm dev
```
`npm` and `yarn` work as well.
## After cloning
- [ ] Rename `name` in `package.json`.
- [ ] Edit the `metadata` export in `app/layout.tsx` (title, description).
- [ ] Replace the example brands in `app/brand.css` with your own.
- [ ] Swap `app/icon.svg` for your favicon.
- [ ] When you start building, delete `components/starter-home.tsx` (and its
test) and replace `app/page.tsx`.
## White-label branding
Lyra rebrands with only four CSS variables — everything else derives from
them:
```css
[data-brand='acme'] {
--brand: #176b87;
--brand-contrast: #ffffff;
--brand-radius: 0.75rem;
--brand-font: 'Plus Jakarta Sans', sans-serif;
}
```
See `app/brand.css` for the two example brands the demo switches between.
The demo's "Lyra" option is the baseline look: it removes `data-brand`
entirely — never set the attribute without defining `--brand`, or the
derived accent group resolves to nothing.
## Scripts
| Script | What it does |
| ------------------- | --------------------------- |
| `pnpm dev` | Start the dev server |
| `pnpm build` | Production build |
| `pnpm test` | Run tests (Vitest + jsdom) |
| `pnpm lint` | ESLint (next presets) |
| `pnpm format` | Prettier write |
| `pnpm format:check` | Prettier check (used in CI) |
CI runs lint, format check, tests, and build on every push and PR.
## Deploy
This demo is deployed to GitHub Pages by
[`.github/workflows/deploy.yml`](./.github/workflows/deploy.yml) on every
push to `main`. Pages serves static files only, so the workflow builds
with `GITHUB_PAGES=true`, which turns on `output: 'export'` and the
`basePath` in `next.config.ts` and publishes `out/`.
The flag keeps those settings out of local dev, which still serves from
the root. To deploy your own fork: set the `basePath` to your repository
name (or drop it for a custom domain), then enable _Settings → Pages →
Source: GitHub Actions_.
## AI agents
The template ships an [`AGENTS.md`](./AGENTS.md) that points AI coding
agents at the Lyra DS docs, the machine-readable component contracts
([llms.txt](https://lyra-ds.dev/llms.txt)), and this project's commands and
conventions. Keep it updated as your project evolves.
## Links
- [Lyra DS](https://lyra-ds.dev)
- [Lyra repository](https://github.com/lyra-ds/lyra)
- [@lyra-ds/styles on npm](https://www.npmjs.com/package/@lyra-ds/styles)
- [@lyra-ds/react on npm](https://www.npmjs.com/package/@lyra-ds/react)
Explore similar templates
Compare previews and descriptions within the same stack and category.

Next.js SaaS Starter
The official Next.js SaaS starter template, integrating email/password authentication, Stripe Checkout subscriptions, a dashboard with user/team CRUD, basic Owner/Member RBAC, and activity logging.
Next.js · SaaS

Next.js Commerce
Vercel's officially maintained Next.js App Router ecommerce starter with deep Shopify integration, offering a complete product catalog, cart, and checkout flow. Core logic is modular for swapping backends, and community provider versions exist for BigCommerce, Medusa, and Saleor.
Next.js · E-commerce

Next-js-Boilerplate
A developer-first Next.js 16 starter with Tailwind CSS 4 and TypeScript, supporting both App Router and Page Router.
Next.js · Starter

tailwind-nextjs-starter-blog
A Next.js and Tailwind CSS blog starter template using Contentlayer for Markdown/MDX, with built-in SEO, code highlighting, and tags. It targets personal technical blogs and migration from Jekyll/Hugo to React, and supports one-click Vercel deployment.
Next.js · Blog

next-forge
next-forge is a Turborepo-based Next.js template maintained by Vercel, positioned as a starting point for SaaS products.
Next.js · Starter

SaaS-Boilerplate
SaaS-Boilerplate is an open-source SaaS starter template built with Next.js App Router, React 19, TypeScript, Tailwind CSS, and Shadcn UI.
Next.js · SaaS
