A modern web boilerplate built with Next.js 15, Sanity v3 CMS, and Tailwind CSS
- Framework: Next.js 15
- CMS: Sanity v3
- Styling: Tailwind CSS 4
- UI: Base UI Components
- Animation: Motion.dev
- Video: Mux Player
- Clone the repo
- Install dependencies:
npm install # or bun install
- Copy
.env.example
to.env.local
and fill in your Sanity credentials - Add your Mux credentials to the Sanity Studio UI (this usually pops up when you run attempt to upload video for the first time)
- Run the development server:
npm run dev # or bun run dev
npm run dev
- Start development server with Turbopacknpm run build
- Build for productionnpm run start
- Start production servernpm run typegen
- Generate Sanity schema typesnpm run lint
- Run ESLint
/app
- Next.js app directory/components
- Reusable React components/lib
- Utility functions and shared logic/sanity
- Sanity CMS configuration and schemas/styles
- Global styles/public
- Static assets/sanity.types.ts
- Generated Sanity schema types/schema.json
- Sanity schema definition
MIT