Skip to content
VercelLogotypeVercelLogotype
LoginSign Up

Shopify Online Store with Next.js

A responsive online store built with Next.js and Shopify.

DeployView Demo

Vercel Shop

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 vercel.shop for full documentation.

Getting Started

  1. Scaffold a new project using the CLI:
npx create-vercel-shop@latest my-store

The scaffold also installs these project-scoped agent plugins:

  • vercel-shop
  • vercel-plugin
  • shopify-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
  1. 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.local
SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your-token
NEXT_PUBLIC_SITE_NAME="Your Store Name"
  1. Start the development server with the same package manager you used to scaffold the project:
pnpm dev
npm run dev
yarn dev
bun dev

See vercel.shop/docs/getting-started for the full setup guide and Storefront API Permissions for the complete scope reference.

Features

  • Next.js 16 App Router with React 19 and React Compiler
  • Shopify Storefront API via GraphQL with type-safe operations
  • Customer authentication with better-auth and Shopify Customer Account API OIDC — opt-in via env vars
  • 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

Skills

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:

SkillDescription
enable-i18nLocale-prefixed URL routing + next-intl message catalogs (no Markets)
enable-analyticsAdd Vercel Analytics, Speed Insights, and Google Tag Manager
enable-shopify-cmsWire Shopify metaobjects as a CMS for homepage and marketing pages
enable-shopify-marketsMulti-locale support with Shopify Markets and next-intl
enable-shopify-menusReplace hardcoded nav/footer with Shopify-powered menus, optional megamenu

Documentation

Full documentation is available at vercel.shop.

License

MIT

GitHub
Ownervercel
Repositoryshop
LicenseView License
Use Cases
Starter
Stack
Next.js
Tailwind

Related Templates

Stripe Subscription Starter

The all-in-one subscription starter kit for high-performance SaaS applications, powered by Stripe, Supabase, and Vercel.
Stripe Subscription Starter thumbnail

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • eveNew
  • ConnectNew

Core Platform

  • CI/CD
  • Content Delivery
  • Fluid Compute
  • Observability

Security

  • Platform Security
  • WAF
  • Bot Management
  • Bot ID

Tools

  • Vercel DropNew
  • Vercel Agent
  • Vercel PluginNew
  • Agent Skills
  • Next.js
  • Domains
  • v0

Frameworks

  • eveNew
  • Nuxt
  • SvelteKit
  • Nitro
  • Turborepo
  • Tanstack Start
  • FastAPI
  • xmcp
  • All frameworks

SDKs

  • Vercel SDK
  • Workflow SDKNew
  • Flags SDK
  • Chat SDKNew
  • Queues SDKNew
  • Streamdown

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
  • Platform Engineers
  • Design Engineers

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Articles
  • Community

Explore

  • Customers
  • Marketplace
  • Templates
  • Partner Finder
  • Vercel + AWS

Company

  • About
  • Careers
  • Press
  • Events
  • Startups
  • Shipped on Vercel
  • Open Source Program
  • Enterprise
  • Pricing
  • Help

Legal & Trust

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA
  • Acceptable Use Policy
  • Legal (all documents)
  • Trust Center
  • Status

Social

  • GitHub
  • X
  • LinkedIn
  • YouTube
  • Instagram
  • VercelVercel
Agent Stack
  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • Eve
Core Platform
  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • CI/CD
Tools
  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Domains
  • v0
Learn
  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base
Build
  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
Explore
  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community
EnterprisePricing
Contact
Log InSign Up
Dashboard

Products

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • Eve

Core Platform

  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • CI/CD

Tools

  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Domains
  • v0
Resources

Learn

  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce

Explore

  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community
Enterprise
Pricing
Sign UpLog In
Contact
DeployView Demo

Loading status…

Select a display theme: