This repo is a work in progress. Star 🌟 and subscribe to Releases 🏷️ to keep up to date.
We're working on the Sanity app and toolkit first, while React 19 and Next 15 settles.
The Enterprise-Ready Next.js 15 + SanityCMS Starter
Explore the docs »
Key Features • How To Use • Demos • Credits • Support • License
If you are using and enjoying some of my open source work in your company, I'd really appreciate a sponsorship, a coffee or just dropping a star on this repo 🌟.
It really helps me to keep going and to continue to maintain and improve this project.
Liam Barr | Hex Digital |
A turn-key application for Next.js 15 and Sanity CMS. The project is designed to be a starting point for enterprise-ready applications, with a focus on performance, security, and maintainability.
- Editorial functionality
- Pages and Articles
- Live Previews and Visual Editing
- Sitemap-style Page Navigator
- Flexible Modular Content Blocks
- Powerful Redirects; automatic redirect creation on URL changes
- In-CMS Form Builder and Submission Handling
- SEO
- Global and Per-Page Metadata
- Sitemap
- RSS/JSON Feed
- Robots.txt and Humans.txt
- Internationalisation
- Support for single language and multiple languages out of the box
- Security
- CORS
- Security Headers
- Accessibility
- Accessible by design, with a focus on WCAG 2.2 AA
- Performance
- Image Optimisation
- Next.js 15 Caching Integration and Revalidation
- Lighthouse Scores
- Monitoring + Tracking
- Optional integrations with:
- Sentry
- Google Analytics
- Feedbucket
- And the easy adoption of more
- Optional integrations with:
- Development
- Solid Dev Tooling: linting; type checking; testing; CI/CD;
- Sanity Toolkit: utility functions, validation rules, hidden/readOnly functions, schema components
- Monorepo with maintainable structure and clean code, inspired by Bulletproof React
Either fork this repo or use the GitHub Template:
Install dependencies using pnpm install
.
Run the dev servers for Next.js and Sanity with pnpm g:dev
.
For more detailed instructions, see the Getting Started guide.
Send in a PR with your own addition
The project takes inspiration from two main sources:
And thank you to Saskia, Knut and Simeon for their wealth of Sanity knowledge and endless generosity with their time.
Do you need support with Lucidity, Sanity, Next.js or Nuxt?
Hex Digital is a digital experience and product agency that works with start-ups and established businesses.
We're trusted to be the core technical team behind their projects. We have a key focus on mentoring, to ensure the practices we bring in are adopted by the internal team before our collaboration is over.
Feel free to email me at jamie [at] hexdigital [dot] com, or get in touch via our website to discuss your project.