Ready, Set, Impress.
An opinionated, fully customizable Next.js (App Router) and Sanity starter template with Tailwind CSS and pre-built schema for rapid website development.
Visit here for more Studio screenshots.
- 🖋️ Published on Sanity.io
- ⚡ Perfect Lighthouse scores on desktop and 99/100 on mobile.
- 🚀 Checkout the demo site, documentation and blog.
- ✨ Modern Frontend Development with Next.js 15 (App Router, RSC, Typescript) and Tailwind CSS.
- 📕 Pre-configured Sanity schema for rapid content structuring.
- 📘 Pre-built frontend components for rapid website development.
- ✏️ Visual editing right inside the Embedded Sanity Studio.
- 📜 Auto-generated Table of Contents component based on headings.
- ⌨️ Auto-generated sitemap.xml and blog rss.xml.
Directions are also found on the docs.
Clone or fork the template from the GitHub template.
From the Sanity.io Manage dashboard, create a new project from scratch (blank schema) with CLI.
# .env.local
NEXT_PUBLIC_BASE_URL = ... # https://sanitypress.dev
NEXT_PUBLIC_SANITY_PROJECT_ID = ... # abcdefgh
NEXT_PUBLIC_SANITY_DATASET = ... # production
SANITY_API_READ_TOKEN = ... # "Viewer" token from https://sanity.io/manage
Open your new Sanity Studio (https://localhost:3000/admin
) and publish the following documents:
- a Site document with a
title
field. - a Page document with slug:
index
to use as the Home page.
For websites with a blog, additionally publish the following documents:
- a Page document with slug:
blog
to use as the Blog listing page. - a Page document with slug:
blog/*
to use as the Blog post template page.
Optionally, you can publish the following documents:
- a Page document with slug:
404
to use as the Page not found page.
You can run a CLI command to import demo content to get SanityPress up and running in seconds.
sanity dataset import sanity/demo.tar.gz
This will import a Site document and a Page document with slug: index, the minimum requirements for SanityPress to deploy successfully.
Install either of the following plugins to add a widget to your Studio Dashboard:
Adjust frontend styles, edit/add Sanity schema and modules, and more.