A Next.js storefront template and reference architecture for Shopify, built with Next.js 16, React 19, Tailwind CSS 4, and the Shopify Storefront API.
See docs.vercel.shop for full documentation.
- Scaffold a new project using the CLI:
npx create-vercel-shop@latest my-storeThe scaffold also installs these project-scoped agent plugins:
vercel-shopvercel-pluginshopify-ai-toolkit
To install only the agent plugins into an existing project, run this from that project's root:
npx create-vercel-shop@latest --no-template- In Shopify admin, create a storefront token in Settings → Apps and sales channels → Headless, enable the required Storefront API permissions, then add your Shopify credentials:
cp .env.example .env.localSHOPIFY_STORE_DOMAIN=your-store.myshopify.com
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your-token
NEXT_PUBLIC_SITE_NAME="Your Store Name"
- Start the development server with the same package manager you used to scaffold the project:
pnpm dev
npm run dev
yarn dev
bun devSee docs.vercel.shop/docs/getting-started for the full setup guide and Storefront API Permissions for the complete scope reference.
- Next.js 16 App Router with React 19 and React Compiler
- Shopify Storefront API via GraphQL with type-safe operations
- Tailwind CSS 4 and shadcn/ui components
- Internationalization-ready with next-intl
- AI-ready with Vercel AI SDK integration
- Optimized cart with server actions and instant cache invalidation
- SEO with structured data and dynamic metadata
Vercel Shop includes a vercel-shop plugin with skills for extending the storefront with common commerce patterns. In Claude Code, these are exposed as /vercel-shop:<skill> commands:
| Skill | Description |
|---|---|
enable-shopify-menus |
Replace hardcoded nav/footer with Shopify menus, optional megamenu |
enable-shopify-cms |
Use Shopify metaobjects as a CMS |
enable-content-negotiation |
Serve product pages as markdown to LLM agents |
add-locale-url-prefix |
Locale-prefixed URL routing |
enable-shopify-auth |
Customer authentication with Shopify OIDC |
enable-shopify-markets |
Multi-locale support with Shopify Markets |
This is a monorepo managed with Turborepo and pnpm.
| App | Description |
|---|---|
apps/template |
The Next.js storefront template |
apps/docs |
Documentation site at docs.vercel.shop |
apps/cli |
create-vercel-shop scaffolding CLI |
Full documentation is available at docs.vercel.shop.
MIT